]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Start timeslice on partial submission
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 May 2020 20:57:27 +0000 (21:57 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 28 May 2020 22:41:13 +0000 (23:41 +0100)
commit17a6e01aec5875a2dacce9b1183cc1ef75ba39e7
tree2e208c278cceae94d9bd2717fd93a13a7a0a82e4
parent794fbd9f9860d9fe8127d1b470a9db3b9db65e66
drm/i915/gt: Start timeslice on partial submission

We may choose to only submit ELSP[0], even though we have sufficient
requests to fill the whole ELSP. Normally, we only start timeslicing if
we fill more than one port, but in this case we need to start
timeslicing for the queue that we choose not to submit.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200528205727.20309-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c