]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/gt: Give engine->kernel_context distinct timeline lock classes
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 Oct 2019 18:59:41 +0000 (19:59 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 8 Oct 2019 21:19:00 +0000 (22:19 +0100)
commit6ad145fe0246abe31a312ce19321bb5b11635802
treea34ade0179cff75ea07b227b016b0e5a14fb018b
parent7c98501acb94318819f5ea764fc3aae09f69aff6
drm/i915/gt: Give engine->kernel_context distinct timeline lock classes

Assign a separate lockclass to the perma-pinned timelines of the
kernel_context, such that we can use them from within the user timelines
should we ever need to inject GPU operations to fixup faults during
request construction.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Matthew Auld <matthew.william.auld@gmail.com>
Reviewed-by: Matthew Auld <matthew.william.auld@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191008185941.15228-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_cs.c