drm/amdgpu: Cancel the delay work when suspend
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 14 Aug 2018 09:31:09 +0000 (17:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 27 Aug 2018 16:10:41 +0000 (11:10 -0500)
commita54594752ad48de75dc0158f0c9b124177235efc
treefd08b58e9ac4b9cd75dcc0e9a669fb80390221f4
parent6dddaeef4f9e0445a75261f88e29de5a24e302c6
drm/amdgpu: Cancel the delay work when suspend

Cancel the delay work to avoid the corner case that
ib test was not running when suspend

Reviewed-by: Christian König <christian.koenig@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