drm/amdgpu: use a spinlock instead of a mutex for the rq
authorChristian König <christian.koenig@amd.com>
Tue, 18 Aug 2015 12:41:25 +0000 (14:41 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 20 Aug 2015 21:03:47 +0000 (17:03 -0400)
commit2b184d8dbc002d3ef26e4827dd5a80d57533dcae
tree5f652253374c0e1c81b290006b8e3a5ff03091e9
parenta3348bb801bac5c9a81fb3da4b1a2f0479e97923
drm/amdgpu: use a spinlock instead of a mutex for the rq

More appropriate and fixes some nasty lockdep warnings.

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