drm/amd: Add helper to get partition config modes
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 17 Sep 2024 08:24:11 +0000 (16:24 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 26 Sep 2024 21:06:18 +0000 (17:06 -0400)
commit1bc0b339153638ce018b743d6cf07596327d2c71
tree32e0a70878e8f36ae13f5bec1b228e970863b704
parent307b4ab7baf3cf53b3aecc5330a2b0e3fd357371
drm/amd: Add helper to get partition config modes

Add helper to get supported/available partition config modes

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@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_xcp.h
drivers/gpu/drm/amd/amdgpu/aqua_vanjaram.c