drm/i915: Move the renderstate setup under gt/
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 09:19:25 +0000 (10:19 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 4 Jul 2019 10:48:22 +0000 (11:48 +0100)
commit2006058e9988421a113e8edc004a8e0eae1a6d3f
tree97b4dbf2f803b5237350b9d63f443daab748836e
parent068610895ebd4bd86f496f01eb7b97e56d7269b2
drm/i915: Move the renderstate setup under gt/

The render state is used to initialise the default RCS context, and only
used during early setup from within the gt code. As such, it makes a
good candidate for placing within gt/, even if it is not yet entirely
clean of our GEM heritage.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190704091925.7391-1-chris@chris-wilson.co.uk
16 files changed:
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gt/gen6_renderstate.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/gen7_renderstate.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/gen8_renderstate.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/gen9_renderstate.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_lrc.c
drivers/gpu/drm/i915/gt/intel_renderstate.c [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_renderstate.h [new file with mode: 0644]
drivers/gpu/drm/i915/gt/intel_ringbuffer.c
drivers/gpu/drm/i915/i915_gem_render_state.c [deleted file]
drivers/gpu/drm/i915/i915_gem_render_state.h [deleted file]
drivers/gpu/drm/i915/intel_renderstate.h [deleted file]
drivers/gpu/drm/i915/intel_renderstate_gen6.c [deleted file]
drivers/gpu/drm/i915/intel_renderstate_gen7.c [deleted file]
drivers/gpu/drm/i915/intel_renderstate_gen8.c [deleted file]
drivers/gpu/drm/i915/intel_renderstate_gen9.c [deleted file]