OSDN Git Service

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)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 May 2020 14:28:26 +0000 (15:28 +0100)
commitb86fc6e5e89e5645b43f57171c26740ef38f9f4a
treede10d6b81e16e82878d2ca180941397f1a9c9513
parent25c26f18ea796a56830c2e356f2b3e0c929b0a6f
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: 6cebcf746f3f ("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
drivers/gpu/drm/i915/i915_scheduler.c