]> 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)
commit1847517824ce707b2fe750e74543fe44e54025c1
tree6f39d8b44fee38d6e9fbdac3473ef0e5dadd8bba
parente12f1927e9f1e8ec3b4025c9b3bc5a003b153f65
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: cc4af2c07411 ("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