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-21 10:32:11 -0400 |
commit | 4271bf11bd5f833e9f3bb4c7b84628977e0e704f (patch) | |
tree | bc7d6b8f03a42e2a5e44a1ca11d723512575a62d /drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c | |
parent | 210d1637d32c6804dff5766fe6279c430a703ca1 (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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/jpeg_v3_0.c')
0 files changed, 0 insertions, 0 deletions