]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: cleanup scheduler fence get/put dance
authorChristian König <christian.koenig@amd.com>
Fri, 6 Nov 2015 13:09:21 +0000 (14:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2015 16:05:58 +0000 (11:05 -0500)
commit61fa137380e67cf76efe7101faf97c55c9dbcac8
treeeacbac9e5ddcfb7ab9b8d4bc4dbafc1df2dd0444
parent26f04de316f987f8b18185d45bc7cec656dc983c
drm/amdgpu: cleanup scheduler fence get/put dance

The code was correct, but getting two references when the ownership
is linearly moved on is a bit awkward and just overhead.

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