]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/pm: fix UVD handing in amdgpu_dpm_set_powergating_by_smu()
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 10 Feb 2025 23:18:29 +0000 (18:18 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 12 Feb 2025 23:13:32 +0000 (18:13 -0500)
commit960a62877466067adc89bd37fe36d3b6edddb965
tree456fcedc47a0028a1b83502213243a4b7ce7da98
parentf245b400a223a71d6d5f4c72a2cb9b573a7fc2b6
drm/amdgpu/pm: fix UVD handing in amdgpu_dpm_set_powergating_by_smu()

UVD and VCN were split into separate dpm helpers in commit
ff69bba05f08 ("drm/amd/pm: add inst to dpm_set_powergating_by_smu")
as such, there is no need to include UVD in the is_vcn variable since
UVD and VCN are handled by separate dpm helpers now. Fix the check.

Fixes: ff69bba05f08 ("drm/amd/pm: add inst to dpm_set_powergating_by_smu")
Closes: https://gitlab.freedesktop.org/drm/amd/-/issues/3959
Link: https://lists.freedesktop.org/archives/amd-gfx/2025-February/119827.html
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: Boyuan Zhang <boyuan.zhang@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_dpm.c