]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Tweak scheduler's kick_submission()
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Mar 2020 11:59:47 +0000 (11:59 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 10 Mar 2020 23:12:38 +0000 (23:12 +0000)
commitcc4af2c07411df165993cd268fb54a8f2c369b41
treebb4cc5d75cc6b2f43c0a30e432a3b26951087b3f
parent13d1c984323c6158b3deede3f1ac236b89f444e7
drm/i915: Tweak scheduler's kick_submission()

Skip useless priority bumping on adding a new dependency by making sure
that we do update the priority if we would have rescheduled the active
cotnext.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200310115947.6482-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_scheduler.c