summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-05-12 14:08:34 +0300
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-20 12:30:05 +0300
commitc4233573f6ee611033faa9116fc7003775a450b9 (patch)
tree1ddc5339f9358397fdbfaf02dc71c3615dddc9b6 /tools/perf/scripts/python/sched-migration.py
parent7f370ed0cfe9aa1520696c1c71e8a51e2c0bbcc1 (diff)
downloadlinux-c4233573f6ee611033faa9116fc7003775a450b9.tar.xz
usb: dwc3: gadget: prepare TRBs on update transfers too
If we're updating transfers, we can also prepare as many TRBs as we can fit in the ring. Let's start doing that. This patch 'solves' a limitation of how many TRBs we can prepare when we're getting close the end of the ring. Instead driver to prepare only up to end of the ring, we check if we have space to wrap around the ring properly. Note that this only happens when our enqueue and dequeue pointers are equal (which is the case for bulk endpoints after an XferComplete event). Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions