diff options
author | Andi Shyti <andi.shyti@linux.intel.com> | 2022-03-19 02:39:31 +0300 |
---|---|---|
committer | Matthew Auld <matthew.auld@intel.com> | 2022-03-21 11:37:33 +0300 |
commit | fa732088378fa0492bd85f32a89f1f39b305d363 (patch) | |
tree | 31ee0597269190d307381af2a157f8fd321de907 /drivers/gpu/drm/i915/display/intel_plane_initial.c | |
parent | 6f270e1488d7a85e0c93e6536d0073796adf8b4f (diff) | |
download | linux-fa732088378fa0492bd85f32a89f1f39b305d363.tar.xz |
drm/i915: Rename INTEL_REGION_LMEM with INTEL_REGION_LMEM_0
With the upcoming multitile support each tile will have its own
local memory. Mark the current LMEM with the suffix '0' to
emphasise that it belongs to the root tile.
Suggested-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Andrzej Hajda <andrzej.hajda@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220318233938.149744-2-andi.shyti@linux.intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_plane_initial.c')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_plane_initial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_plane_initial.c b/drivers/gpu/drm/i915/display/intel_plane_initial.c index 5c0cd0775a14..41ff7bf23e3b 100644 --- a/drivers/gpu/drm/i915/display/intel_plane_initial.c +++ b/drivers/gpu/drm/i915/display/intel_plane_initial.c @@ -72,7 +72,7 @@ initial_plane_vma(struct drm_i915_private *i915, } phys_base = pte & I915_GTT_PAGE_MASK; - mem = i915->mm.regions[INTEL_REGION_LMEM]; + mem = i915->mm.regions[INTEL_REGION_LMEM_0]; /* * We don't currently expect this to ever be placed in the |