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/uvd_v6_0.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/uvd_v6_0.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c index 1c118c02e8cb..591d1f211823 100644 --- a/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | |||
@@ -320,7 +320,7 @@ static int uvd_v6_0_enc_get_destroy_msg(struct amdgpu_ring *ring, | |||
320 | 320 | ||
321 | amdgpu_job_free(job); | 321 | amdgpu_job_free(job); |
322 | } else { | 322 | } else { |
323 | r = amdgpu_job_submit(job, ring, &ring->adev->vce.entity, | 323 | r = amdgpu_job_submit(job, &ring->adev->vce.entity, |
324 | AMDGPU_FENCE_OWNER_UNDEFINED, &f); | 324 | AMDGPU_FENCE_OWNER_UNDEFINED, &f); |
325 | if (r) | 325 | if (r) |
326 | goto err; | 326 | goto err; |