]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu/jpeg: Hold pg_lock before jpeg poweroff
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Tue, 5 Aug 2025 15:58:25 +0000 (21:28 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Aug 2025 18:34:50 +0000 (14:34 -0400)
commit0e7581eda8c76d1ca4cf519631a4d4eb9f82b94c
tree70ad2150fe462278d20d4688ee0a197fc8890026
parent0b4d79dafae6a5b626037b4a5dafaf9f09cc1945
drm/amdgpu/jpeg: Hold pg_lock before jpeg poweroff

Acquire jpeg_pg_lock before changes to jpeg power state
and release it after power off from idle work handler.

Signed-off-by: Sathishkumar S <sathishkumar.sundararaju@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_jpeg.c