diff options
author | Christian König <christian.koenig@amd.com> | 2022-09-28 14:21:05 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2022-11-03 14:45:19 +0300 |
commit | c5093cddf56baceb1545028e8a5971d94cf59d25 (patch) | |
tree | 828a93823a28f45892f64c61e0179aa951ff2701 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | 4f91790b42ffba72d80434d901548979ab41dc7c (diff) | |
download | linux-c5093cddf56baceb1545028e8a5971d94cf59d25.tar.xz |
drm/amdgpu: drop the fence argument from amdgpu_vmid_grab
This is always the job anyway.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Luben Tuikov <luben.tuikov@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221014084641.128280-5-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c index 46c99331d7f1..5aa053acc0b4 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c @@ -256,9 +256,7 @@ static struct dma_fence *amdgpu_job_dependency(struct drm_sched_job *sched_job, } while (fence == NULL && vm && !job->vmid) { - r = amdgpu_vmid_grab(vm, ring, &job->sync, - &job->base.s_fence->finished, - job); + r = amdgpu_vmid_grab(vm, ring, &job->sync, job); if (r) DRM_ERROR("Error getting VM ID (%d)\n", r); |