diff options
| author | James Zhu <James.Zhu@amd.com> | 2021-05-19 11:42:48 -0400 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-03 09:00:31 +0200 |
| commit | 1cdabf921bfacc63245a2eafbaeaf0bde9f193ef (patch) | |
| tree | b9adf49efa243ea7ce97e3e63bd8a217484724b1 /tools | |
| parent | bed5cc65ff3d088ceb5a59e77944d626300a2ef2 (diff) | |
drm/amdgpu/jpeg2.0: add cancel_delayed_work_sync before power gate
commit ff48f6dbf0ff896c98d167a67a5b975fb034356b upstream.
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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
