]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Store the default sseu setup on the engine
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Apr 2019 09:51:34 +0000 (10:51 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 24 Apr 2019 15:37:20 +0000 (16:37 +0100)
commit09407579abf55a8f472c221325dda81cca324326
tree589c5b312642ff44528a76d7fe28ddf3d961cc9a
parent51eb1a1de7a92a812a3834986260834d5f52e566
drm/i915: Store the default sseu setup on the engine

As we push for better compartmentalisation, it is more convenient to
copy the default sseu configuration from the engine into the derived
logical context, than it is to dig it out from i915->runtime_info.

v2: Use intel_sseu_from_device_info() to describe the converter

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190424095134.30249-1-chris@chris-wilson.co.uk
15 files changed:
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/Makefile.header-test
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_gem_context.c
drivers/gpu/drm/i915/i915_perf.c
drivers/gpu/drm/i915/intel_context.c
drivers/gpu/drm/i915/intel_context_types.h
drivers/gpu/drm/i915/intel_device_info.h
drivers/gpu/drm/i915/intel_engine_cs.c
drivers/gpu/drm/i915/intel_engine_types.h
drivers/gpu/drm/i915/intel_lrc.c
drivers/gpu/drm/i915/intel_lrc.h
drivers/gpu/drm/i915/intel_sseu.c [new file with mode: 0644]
drivers/gpu/drm/i915/intel_sseu.h [new file with mode: 0644]
drivers/gpu/drm/i915/selftests/i915_gem_context.c