]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu/vcn3: add cancel_delayed_work_sync before power gate
authorJames Zhu <James.Zhu@amd.com>
Mon, 17 May 2021 20:39:17 +0000 (16:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 May 2021 14:32:11 +0000 (10:32 -0400)
commitec5069f9a1103cadc527550b82e5ed1025b37662
treefcf09a7fa0e6a761616ab45a19d353050b80de15
parentb83c3755d85e7b50acf245932a79d45a24fa6411
drm/amdgpu/vcn3: 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>
drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c