drm/amdgpu: Use firmware supported NPS modes
authorLijo Lazar <lijo.lazar@amd.com>
Wed, 27 Nov 2024 06:16:06 +0000 (11:46 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 19 Feb 2025 20:16:29 +0000 (15:16 -0500)
commit30eb41f5d1a7ac6bb9b8f624dee5e545f8ee2c8e
tree426fb3cd2cc0d13205e22cacb0cb1e889da20a04
parentb2a9e562dfa156bd53e62ce571f3f8f65d243f14
drm/amdgpu: Use firmware supported NPS modes

If firmware supported NPS modes are available through CAP register, use
those values for supported 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/gmc_v9_0.c