]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Split struct intel_context definition to its own header
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Mar 2019 13:25:17 +0000 (13:25 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 8 Mar 2019 13:59:44 +0000 (13:59 +0000)
commite6b1d29daa34af2e98f9695f46a3955fe8644e81
treebc19e4e7758795258b96d477fd3b408960493c38
parent240a3430b9f3a17c0b8aaec085420a11186c577b
drm/i915: Split struct intel_context definition to its own header

This complex struct pulling in half the driver deserves its own
isolation in preparation for intel_context becoming an outright
complicated class of its own.

In order to split this beast into its own header also requests splitting
several of its dependent types and their dependencies into their own
headers as well.

v2: Add standalone compilation tests

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/20190308132522.21573-2-chris@chris-wilson.co.uk
18 files changed:
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_gem_context.h
drivers/gpu/drm/i915/i915_gem_context_types.h [new file with mode: 0644]
drivers/gpu/drm/i915/i915_timeline.h
drivers/gpu/drm/i915/i915_timeline_types.h [new file with mode: 0644]
drivers/gpu/drm/i915/intel_context.h [new file with mode: 0644]
drivers/gpu/drm/i915/intel_context_types.h [new file with mode: 0644]
drivers/gpu/drm/i915/intel_engine_types.h [new file with mode: 0644]
drivers/gpu/drm/i915/intel_guc.h
drivers/gpu/drm/i915/intel_ringbuffer.h
drivers/gpu/drm/i915/intel_workarounds.h
drivers/gpu/drm/i915/intel_workarounds_types.h [new file with mode: 0644]
drivers/gpu/drm/i915/test_i915_active_types_standalone.c [new file with mode: 0644]
drivers/gpu/drm/i915/test_i915_gem_context_types_standalone.c [new file with mode: 0644]
drivers/gpu/drm/i915/test_i915_timeline_types_standalone.c [new file with mode: 0644]
drivers/gpu/drm/i915/test_intel_context_types_standalone.c [new file with mode: 0644]
drivers/gpu/drm/i915/test_intel_engine_types_standalone.c [new file with mode: 0644]
drivers/gpu/drm/i915/test_intel_workarounds_types_standalone.c [new file with mode: 0644]