]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: move region_lmem under gt
authorMatthew Auld <matthew.auld@intel.com>
Tue, 12 Jan 2021 16:43:00 +0000 (16:43 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 12 Jan 2021 21:12:10 +0000 (21:12 +0000)
Device local-memory should be thought of as part the GT, which means it
should also sit under gt/.

Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210112164300.356524-1-matthew.auld@intel.com
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/gt/intel_region_lmem.c [moved from drivers/gpu/drm/i915/intel_region_lmem.c with 100% similarity]
drivers/gpu/drm/i915/gt/intel_region_lmem.h [moved from drivers/gpu/drm/i915/intel_region_lmem.h with 100% similarity]
drivers/gpu/drm/i915/i915_drv.h

index 013a3e422e0b6715193f2cb5d5c8766cc67c17e1..0a0214341bb7d4ccf108d00168b53bff4a58ef4e 100644 (file)
@@ -110,6 +110,7 @@ gt-y += \
        gt/intel_mocs.o \
        gt/intel_ppgtt.o \
        gt/intel_rc6.o \
+       gt/intel_region_lmem.o \
        gt/intel_renderstate.o \
        gt/intel_reset.o \
        gt/intel_ring.o \
@@ -170,7 +171,6 @@ i915-y += \
          i915_scheduler.o \
          i915_trace_points.o \
          i915_vma.o \
-         intel_region_lmem.o \
          intel_wopcm.o
 
 # general-purpose microcontroller (GuC) support
index e4e6e0aa823dfbd891af7cfb2ecdbf617a66fa61..dee01f743f6555888769d0e263ed97d65d4ad35f 100644 (file)
@@ -81,6 +81,7 @@
 
 #include "gt/intel_engine.h"
 #include "gt/intel_gt_types.h"
+#include "gt/intel_region_lmem.h"
 #include "gt/intel_workarounds.h"
 #include "gt/uc/intel_uc.h"
 
 #include "i915_vma.h"
 #include "i915_irq.h"
 
-#include "intel_region_lmem.h"
 
 /* General customization:
  */