]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdcd14fef4c9377145e4426327bdff55cec793d6d
tree3d1ff485822c9c895db45e68961b9e75509641bb
parent4e020d4429434f27377fe4071628cf2d7e0be071
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