]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Use compatible NPS mode info
authorLijo Lazar <lijo.lazar@amd.com>
Thu, 8 May 2025 12:04:41 +0000 (17:34 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 16 May 2025 17:37:50 +0000 (13:37 -0400)
commit3aa37922c66a63bdb75e6bb7a861b7349eafae45
tree077e37830adbdc27ec1fdf7c4f402a34ef59f4cc
parent9a343a64faab5866322e44307b63516b211b541e
drm/amdgpu: Use compatible NPS mode info

Compatible NPS modes for a partition mode are exposed through xcp_config
interface. To determine if a compute partition mode is valid, check if
the current NPS mode is part of compatible NPS 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/aqua_vanjaram.c