diff options
author | James Zhu <James.Zhu@amd.com> | 2021-05-17 16:39:17 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-20 17:03:55 -0400 |
commit | 4a62542ae064e3b645d6bbf2295a6c05136956c6 (patch) | |
tree | 5ece1aea97e9bd5107cecc1f1da1cc29f8d79e45 /drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c | |
parent | 2fb536ea42d557f39f70c755f68e1aa1ad466c55 (diff) | |
download | linux-4a62542ae064e3b645d6bbf2295a6c05136956c6.tar.gz linux-4a62542ae064e3b645d6bbf2295a6c05136956c6.tar.bz2 linux-4a62542ae064e3b645d6bbf2295a6c05136956c6.zip |
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>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/jpeg_v2_0.c')
0 files changed, 0 insertions, 0 deletions