]> www.infradead.org Git - users/hch/misc.git/commitdiff
drm/ttm: Bump TTM_NUM_MEM_TYPES to 9 (Prep for AMDGPU_PL_MMIO_REMAP)
authorSrinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Tue, 26 Aug 2025 10:19:20 +0000 (15:49 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 9 Sep 2025 20:17:48 +0000 (16:17 -0400)
Increase TTM_NUM_MEM_TYPES from 8 to 9 to accommodate the upcoming
AMDGPU_PL_MMIO_REMAP placement.

Cc: Alex Deucher <alexander.deucher@amd.com>
Suggested-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
include/drm/ttm/ttm_resource.h

index e52bba15012f78e352f392232ac2e89a83afd311..f49daa504c36a30db1248c48c03027d5d1e18d48 100644 (file)
@@ -36,7 +36,7 @@
 #include <drm/ttm/ttm_kmap_iter.h>
 
 #define TTM_MAX_BO_PRIORITY    4U
-#define TTM_NUM_MEM_TYPES 8
+#define TTM_NUM_MEM_TYPES 9
 
 struct dmem_cgroup_device;
 struct ttm_device;