]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1d4d63aa3160d0b111252ff630f5f7fdf0d591c9
treee2007d7fa5077f91d7b6b5a05437fc0c1faef41d
parent2518099dfdfaf77f4b84b9e029bbae44459c6af6
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