drm/amdgpu: Move memory partition query to gmc
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 31 Jan 2023 07:09:49 +0000 (12:39 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:56:50 +0000 (09:56 -0400)
commitb6f90baafe267a0705c5d9b1429c875d3c39fbc7
treed269698199c1e1ca96f1a39fdaeefa438d6f5ce4
parent4bdca2057933ef08a2ca7f44e30a8894ff78c472
drm/amdgpu: Move memory partition query to gmc

GMC block handles memory related information, it makes more sense to
keep memory partition functions in gmc block.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Le Ma <le.ma@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.h
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.c
drivers/gpu/drm/amd/amdgpu/amdgpu_gmc.h
drivers/gpu/drm/amd/amdgpu/gfx_v9_4_3.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c