drm/amdgpu: RCU protected amdgpu_fence_release
authorChristian König <christian.koenig@amd.com>
Tue, 15 Mar 2016 12:40:17 +0000 (13:40 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Mar 2016 21:58:52 +0000 (17:58 -0400)
commitb44135351a3a5cfc60f5b6729445311c2d5e141c
tree68a14217f9170f07369383df32bfcefda8dcfae3
parentca08e04d5642c429ec891fa17bf379be988dea6b
drm/amdgpu: RCU protected amdgpu_fence_release

Fences must be freed RCU protected, otherwise the reservation_object_*_rcu()
functions can run into problems.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c