drm/amdgpu: fix and cleanup user fence handling v2
authorChristian König <christian.koenig@amd.com>
Fri, 6 May 2016 20:14:00 +0000 (22:14 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 11 May 2016 17:30:32 +0000 (13:30 -0400)
commit758ac17f963f3497aae4e767d3a9eb68fea71f71
treee2007d7fa5077f91d7b6b5a05437fc0c1faef41d
parentd88bf583bd06eecb31f82871c90ef6a5a09b5766
drm/amdgpu: fix and cleanup user fence handling v2

We leaked the BO in the error pass, additional to that we only have
one user fence for all IBs in a job.

v2: remove white space changes

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