drm/amdgpu: fix stoping the scheduler timeout
authorChristian König <christian.koenig@amd.com>
Mon, 2 Nov 2015 15:25:10 +0000 (16:25 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Nov 2015 17:29:21 +0000 (12:29 -0500)
commit424839a6a913f2d2f473ce6d5b6465aeddf694db
tree46b457ec02f419996fb3ba8383cfbd24afdc8aba
parent4cfdcd9cecc05646b08805ba449811a645b3f4a8
drm/amdgpu: fix stoping the scheduler timeout

cancel_delayed_work_sync is forbidden in interrupt context.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c