drm/amdgpu: Cancel gfx off delay work when driver fini/suspend
authorRex Zhu <Rex.Zhu@amd.com>
Thu, 9 Aug 2018 07:26:06 +0000 (15:26 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:12 +0000 (11:10 -0500)
commit6c1fd99bc6694be3cca3c1778908fe40ef7532ca
treec54f8abc47f3d620e41b1b7f0bc7e2ca883a5382
parentec2e082a79b5d46addf2e7b83a13fb015fca6149
drm/amdgpu: Cancel gfx off delay work when driver fini/suspend

there may be gfx off delay work pending when suspend/driver
unload, need to cancel them first.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c