drm/i915/gt: Split logical ring contexts from execlist submission
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 19 Dec 2020 02:03:42 +0000 (02:03 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 21 Dec 2020 09:53:48 +0000 (09:53 +0000)
commita0d3fdb628b83e3a24acbf6915ede9359a1ecc2b
tree6abb7b5d8e8c517d36c16a9ae8b7c546a32b1270
parent5ec17c763055767e4b1490da8399a6c4a53d7e8c
drm/i915/gt: Split logical ring contexts from execlist submission

Split the definition, construction and updating of the Logical Ring
Context from the execlist submission interface. The LRC is used by the
HW, irrespective of our different submission backends.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201219020343.22681-1-chris@chris-wilson.co.uk
14 files changed:
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gt/gen8_engine_cs.c
drivers/gpu/drm/i915/gt/intel_context_sseu.c
drivers/gpu/drm/i915/gt/intel_execlists_submission.c
drivers/gpu/drm/i915/gt/intel_execlists_submission.h
drivers/gpu/drm/i915/gt/intel_lrc.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_lrc.h [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_lrc_reg.h
drivers/gpu/drm/i915/gt/selftest_execlists.c
drivers/gpu/drm/i915/gt/selftest_lrc.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/uc/intel_guc_ads.c
drivers/gpu/drm/i915/gt/uc/intel_guc_submission.c
drivers/gpu/drm/i915/gvt/scheduler.c
drivers/gpu/drm/i915/i915_perf.c