]> 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)
commit25f3d452d95698cc86afe4e58d452f5656ded091
tree589c5b312642ff44528a76d7fe28ddf3d961cc9a
parent5e42a8387e71baba66439f02d672c56610117c1c
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