drm/amdgpu/dpm: flush any thermal work on fini
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Oct 2016 20:30:10 +0000 (16:30 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 24 Oct 2016 21:00:10 +0000 (17:00 -0400)
commit4560738a8e9d5c0a053b8b896487b83e6948f4a1
tree535553648172e724012858b1a7fa61f624b0c3f3
parente8d7515a983b5ccf6681db0ade3714e837581a97
drm/amdgpu/dpm: flush any thermal work on fini

Flush any outstanding thermal work before tearing down
the dpm driver.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/ci_dpm.c
drivers/gpu/drm/amd/amdgpu/kv_dpm.c
drivers/gpu/drm/amd/amdgpu/si_dpm.c