]> Gentwo Git Trees - linux/.git/commit
drm/amdgpu/vcn: Hold pg_lock before vcn power off
authorSathishkumar S <sathishkumar.sundararaju@amd.com>
Tue, 5 Aug 2025 16:05:10 +0000 (21:35 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 6 Aug 2025 18:34:54 +0000 (14:34 -0400)
commit111821e4b5a3105c42c7c99f4abd4d8af9f64248
tree9d3f3b508e52235c05d8175370ce47c7ea100b1b
parent0e7581eda8c76d1ca4cf519631a4d4eb9f82b94c
drm/amdgpu/vcn: Hold pg_lock before vcn power off

Acquire vcn_pg_lock before changes to vcn power state
and release it after power off in 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_vcn.c