diff options
author | Christian König <christian.koenig@amd.com> | 2018-07-13 07:54:56 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-16 17:11:52 -0400 |
commit | 0e28b10ff1b8e65788040b51c30c9cc984060dcd (patch) | |
tree | 4ca6f18e88b3345e26b170b54ae2b78e74675342 /drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |
parent | eb3961a57424a5c3dae44576d1c88e64a818d871 (diff) |
drm/amdgpu: remove ring parameter from amdgpu_job_submit
We know the ring through the entity anyway.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Junwei Zhang <Jerry.Zhang@amd.com>
Acked-by: Chunming Zhou <david1.zhou@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c index ffb0fcc9707e..7dfb4c4b19c5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vce.c | |||
@@ -539,7 +539,7 @@ int amdgpu_vce_get_destroy_msg(struct amdgpu_ring *ring, uint32_t handle, | |||
539 | 539 | ||
540 | amdgpu_job_free(job); | 540 | amdgpu_job_free(job); |
541 | } else { | 541 | } else { |
542 | r = amdgpu_job_submit(job, ring, &ring->adev->vce.entity, | 542 | r = amdgpu_job_submit(job, &ring->adev->vce.entity, |
543 | AMDGPU_FENCE_OWNER_UNDEFINED, &f); | 543 | AMDGPU_FENCE_OWNER_UNDEFINED, &f); |
544 | if (r) | 544 | if (r) |
545 | goto err; | 545 | goto err; |