drm/i915: Always propagate the invocation to i915_schedule
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Mar 2020 07:16:13 +0000 (07:16 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 6 Mar 2020 10:58:05 +0000 (10:58 +0000)
commit26fc4e4ba1605e365482a86ec8f33d91552db271
tree3d1ff485822c9c895db45e68961b9e75509641bb
parent1eaa251b66a6dfb53cc647fbd79e3b8512ccf8f3
drm/i915: Always propagate the invocation to i915_schedule

We only call i915_schedule() when we know we have changed the priority
on a request and so require to propagate any change in priority to its
signalers (for PI). By unconditionally checking all of our signalers, we
avoid skipping changes made prior to construction of the request (as the
request may be waited upon before submission when used in parallel).

References: https://gitlab.freedesktop.org/drm/intel/issues/1318
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/20200306071614.2846708-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_scheduler.c