drm/amdgpu: fence wait old rcu slot
authorChunming Zhou <David1.Zhou@amd.com>
Thu, 31 Mar 2016 03:07:14 +0000 (11:07 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Apr 2016 14:08:39 +0000 (10:08 -0400)
commitfc387a0b183150b5beb953d740441f19b49a1fb3
treec8a9c2bdecba1eca89b25db6c954fee462f9691a
parentab7e9c137a85cf942c720498501d29719e61160c
drm/amdgpu: fence wait old rcu slot

since the rcu slot was initialized to be num_hw_submission,
if command submission doesn't use scheduler, this limitation
will be invalid like uvd test.

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