]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Pull context closure check from request submit to schedule-in
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 Dec 2020 09:39:46 +0000 (09:39 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 31 Dec 2020 11:30:03 +0000 (11:30 +0000)
commit41e3ccc97a0b9538c51d812aafd7c1bc7b8cbd09
tree2c0a0b442e806269aeb26b874cd545cd1c54bb7e
parentc896a04679ce784185791ffb3f34bd7b55252e61
drm/i915/gt: Pull context closure check from request submit to schedule-in

We only need to evaluate the current status of the context when it is
scheduled in, we will force a reschedule when the context is closed
propagating the change to inflight contexts.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201231093946.11649-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/i915_request.c