drm/amdgpu: stop trying to schedule() with a spin held
authorChristian König <christian.koenig@amd.com>
Mon, 13 Jun 2016 14:12:42 +0000 (16:12 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:51:31 +0000 (14:51 -0400)
commita8bd3e1c71c342782b6597ac6bf4680d1f13254d
tree3f9b43a85a4d4c2a4ca72d7c983b84aa9ff3fba1
parente70a15f5563d87f0235360db2598396ec0cf0001
drm/amdgpu: stop trying to schedule() with a spin held

Drop the lock before calling cancel_delayed_work_sync().

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96445

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Tested-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c