drm/amdgpu: fix fence memory leak in wait_all_fence V2
authorChunming Zhou <David1.Zhou@amd.com>
Fri, 7 Apr 2017 09:05:45 +0000 (17:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 7 Apr 2017 19:15:45 +0000 (15:15 -0400)
commit32df87dff04833bbf53f1750f6c6048192ed29bf
tree9e44d7690592fb0f449484d95ec979f6ea00a5ce
parentecdba5db88f661c8b548a6ba15db26463b465996
drm/amdgpu: fix fence memory leak in wait_all_fence V2

V2: remove **array method, directly fence_put after fence wait.

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