diff options
author | James Zhu <James.Zhu@amd.com> | 2021-05-19 12:04:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-05-20 17:04:38 -0400 |
commit | 23f10a571da5eaa63b7845d16e2f49837e841ab9 (patch) | |
tree | 5c5f6d24aeaeac99832976d6c8f96a78b0542a30 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
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
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions