[PATCH v3 2/9] drm/ttm: Bump TTM_NUM_MEM_TYPES to 9 (Prep for AMDGPU_PL_MMIO_REMAP)

Christian König christian.koenig at amd.com
Thu Aug 28 12:29:05 UTC 2025


On 28.08.25 09:13, Srinivasan Shanmugam wrote:
> Increase TTM_NUM_MEM_TYPES from 8 to 9 to accommodate the upcoming
> AMDGPU_PL_MMIO_REMAP placement.
> 
> Cc: Alex Deucher <alexander.deucher at amd.com>
> Suggested-by: Christian König <christian.koenig at amd.com>
> Signed-off-by: Srinivasan Shanmugam <srinivasan.shanmugam at amd.com>

Please make that the first patch in the series.

Reviewed-by: Christian König <christian.koenig at amd.com>

> ---
>  include/drm/ttm/ttm_resource.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/drm/ttm/ttm_resource.h b/include/drm/ttm/ttm_resource.h
> index e52bba15012f..f49daa504c36 100644
> --- a/include/drm/ttm/ttm_resource.h
> +++ b/include/drm/ttm/ttm_resource.h
> @@ -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;



More information about the amd-gfx mailing list