]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Don't set queue-priority hint when supressing the reschedule
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 May 2020 06:31:12 +0000 (07:31 +0100)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Mon, 25 May 2020 12:40:26 +0000 (15:40 +0300)
commit68449cd49b7c814cca4dc0cb61a4854a0b4b5c68
tree6f39d8b44fee38d6e9fbdac3473ef0e5dadd8bba
parentdedc2757afe933512fdda6eb39b4f922c1d7acba
drm/i915: Don't set queue-priority hint when supressing the reschedule

We recorded the execlists->queue_priority_hint update for the inflight
request without kicking the tasklet. The next submitted request then
failed to be scheduled as it had a lower priority than the hint, leaving
the HW running with only the inflight request.

Fixes: 3b9a9e260492 ("drm/i915: Tweak scheduler's kick_submission()")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200519063123.20673-1-chris@chris-wilson.co.uk
(cherry picked from commit b86fc6e5e89e5645b43f57171c26740ef38f9f4a)
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_scheduler.c