]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Fix logic to fetch supported NPS modes
authorLijo Lazar <lijo.lazar@amd.com>
Tue, 25 Feb 2025 10:51:51 +0000 (16:21 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 21:50:03 +0000 (16:50 -0500)
commitb965e42530a815987a56d84b78c11e1852541ec0
treebd0b8dd70013a966b10576014b59972b8fb26a61
parent906d2859e1c69ad3bd680fc02a2de00105ee827b
drm/amdgpu: Fix logic to fetch supported NPS modes

Correct the logic to find supported NPS modes from firmware.

Signed-off-by: Lijo Lazar <lijo.lazar@amd.com>
Reported-by: Ava Zhang <niandong.zhang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Fixes: 30eb41f5d1a7 ("drm/amdgpu: Use firmware supported NPS modes")
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c