]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: Fix jpeg ring test order in vcn_v4_0_3
authorJesse.Zhang <Jesse.Zhang@amd.com>
Tue, 27 Jan 2026 07:01:27 +0000 (15:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Jan 2026 23:12:10 +0000 (18:12 -0500)
commit91544c45fa6a165abde6f2363bb7ded5843ef840
treedd6946554a29f62cdefb3563db79c9e3fe0a1baa
parent7a3fbdfd19ec5992c0fc2d0bd83888644f5f2f38
drm/amdgpu: Fix jpeg ring test order in vcn_v4_0_3

Fix the vcn reset sequence in vcn_v4_0_3_ring_reset() to restore
JPEG power state and unlock the JPEG powergating mutex before
running the JPEG ring post-reset helper.

Fixes: d25c67fd9d6f ("drm/amdgpu/vcn4.0.3: rework reset handling")
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Jesse Zhang <jesse.zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c