]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate
authorJames Zhu <James.Zhu@amd.com>
Wed, 19 May 2021 15:40:39 +0000 (11:40 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 May 2021 21:03:30 +0000 (17:03 -0400)
commit4f8b6b13c8ab613694f48f72b6b9f994e11b2f61
tree5356b880316aa89cd28d13a144abde63414b9ea0
parent572c40d04dd99d3e4868887fb9c14976c29cd114
drm/amdgpu/vcn2.5: add cancel_delayed_work_sync before power gate

Add cancel_delayed_work_sync before set power gating state
to avoid race condition issue when power gating.

Signed-off-by: James Zhu <James.Zhu@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/vcn_v2_5.c