drm/amdgpu: Get supported memory partition modes
authorLijo Lazar <lijo.lazar@amd.com>
Fri, 17 Feb 2023 04:02:44 +0000 (09:32 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:56:54 +0000 (09:56 -0400)
commit0f2e1d620eca56c4ceebc041aabb1eda26b2cfd0
treefd0b6232a75745f863df55e585164b40f148694c
parentb6f90baafe267a0705c5d9b1429c875d3c39fbc7
drm/amdgpu: Get supported memory partition modes

Expand the interface to get supported memory partition modes also along
with the current memory partition mode.

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_nbio.h
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
drivers/gpu/drm/amd/amdgpu/nbio_v7_9.c