diff options
author | Christian König <christian.koenig@amd.com> | 2015-10-22 15:16:22 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2015-10-30 06:58:22 +0100 |
commit | 6ef68c17d40e1e7e291ca513627a0d2a13ae095f (patch) | |
tree | ad475374dbe1d1ba05889646bec77575ac584254 /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | drm/amdgpu: use common fence for sync (diff) | |
download | linux-6ef68c17d40e1e7e291ca513627a0d2a13ae095f.tar.xz linux-6ef68c17d40e1e7e291ca513627a0d2a13ae095f.zip |
drm/amdgpu: remove amdgpu_fence_ref/unref
Just move the remaining users to fence_put/get.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c index 2e946b2cad88..dcf4a8aca680 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c @@ -54,7 +54,8 @@ static struct fence *amdgpu_sched_run_job(struct amd_sched_job *sched_job) goto err; } - fence = amdgpu_fence_ref(job->ibs[job->num_ibs - 1].fence); + fence = job->ibs[job->num_ibs - 1].fence; + fence_get(&fence->base); err: if (job->free_job) |