commit | 23f10a571da5eaa63b7845d16e2f49837e841ab9 | [log] [tgz] |
---|---|---|
author | James Zhu <James.Zhu@amd.com> | Wed May 19 12:04:38 2021 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Thu May 20 17:04:38 2021 -0400 |
tree | 5c5f6d24aeaeac99832976d6c8f96a78b0542a30 | |
parent | ff48f6dbf0ff896c98d167a67a5b975fb034356b [diff] |
drm/amdgpu/jpeg2.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