]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu/vcn2.5: fix VCN stop logic
authorAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Feb 2025 16:13:27 +0000 (11:13 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Feb 2025 20:52:11 +0000 (15:52 -0500)
commitdae870019866b247a7796359c4327ade3170faa4
treedef81e35387ef2038a5125cbed7890f956d8b687
parentdab993bf151359e4e4d045c5469f34333e88e359
drm/amdgpu/vcn2.5: fix VCN stop logic

Need to make sure we call amdgpu_dpm_enable_vcn()
in vcn_v2_5_stop() at the end if there are errors
or DPG is enabled.

Fixes: ebc25499de12 ("drm/amdgpu/vcn2.5: split code along instances")
Reviewed-by: Boyuan Zhang <Boyuan.Zhang@amd.com>
Suggested-by: Boyuan Zhang <boyuan.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c