drm/amdgpu: move locking into the functions who need it
authorChristian König <christian.koenig@amd.com>
Wed, 18 May 2016 13:40:58 +0000 (15:40 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:50:53 +0000 (14:50 -0400)
commitf42d20a94284149bc6815a66ddb0b449f9f2fe74
tree94efcbbeb4f41d8778bb2f6c82e038c80120191d
parent0e51a772e2014db55b969c06814e8fe01d167ba2
drm/amdgpu: move locking into the functions who need it

Otherwise the locking becomes rather confusing.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Monk.Liu <monk.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c