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)
commit4a562283376197722b295d27633134401bbc80f5
treeeacbac9e5ddcfb7ab9b8d4bc4dbafc1df2dd0444
parent7034decf6a5b1ff778d83ff9d7ce1f0b404804e4
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