Skip to content

Commit

Permalink
usb: xhci-mtk: improve split scheduling by separate IN/OUT budget
Browse files Browse the repository at this point in the history
Calculate the IN/OUT budget separately to improve the bandwidth schedule,
meanwhile should avoid Start-Split token overlap between IN and OUT
endpoints, and take into account the FS/LS bandwidth boundary in each
microframe and also in each FS frame.
Calculate the budget for SS of OUT eps and CS of IN eps, but not include
extra-cs, and always add at most extra-cs allowed.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20230830122820.18859-2-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Chunfeng Yun authored and Greg Kroah-Hartman committed Oct 2, 2023
1 parent ba6b83a commit 5c954e0
Show file tree
Hide file tree
Showing 2 changed files with 278 additions and 40 deletions.
Loading

0 comments on commit 5c954e0

Please sign in to comment.