drm/amdgpu: Move MAX_MEM_RANGES to amdgpu_gmc.h
authorHawking Zhang <Hawking.Zhang@amd.com>
Fri, 13 Jun 2025 11:58:49 +0000 (19:58 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Jun 2025 14:04:06 +0000 (10:04 -0400)
commit97c894758b9f1d7a01794d85b95a7b2854d85009
treef501e4d205845a9b36375cc243bb0142480cea65
parentf268cef77e867f6cc4a80fc72bf7476d36325a3e
drm/amdgpu: Move MAX_MEM_RANGES to amdgpu_gmc.h

This relocation allows MAX_MEM_RANGES to be shared
across multiple products

Signed-off-by: Hawking Zhang <Hawking.Zhang@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c