]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Replace preempt_client lookup with engine->preempt_context
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 8 Apr 2019 09:17:14 +0000 (10:17 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 9 Apr 2019 08:58:22 +0000 (09:58 +0100)
commit1a79711067c54ad79f1369d126d9912bee722d66
tree844e7539609344abad959daf46e3d7b6be92a8ce
parent92a295e7c874339e44a9bce9530af764904657ba
drm/i915/guc: Replace preempt_client lookup with engine->preempt_context

Circumvent the dance we currently perform to find the preempt_client and
lookup its HW context for this engine, as we know we have already pinned
the preempt_context on the engine.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190408091728.20207-15-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_guc_submission.c