summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-07-13 13:54:56 +0200
committerAlex Deucher <alexander.deucher@amd.com>2018-07-16 16:11:52 -0500
commit0e28b10ff1b8e65788040b51c30c9cc984060dcd (patch)
tree4ca6f18e88b3345e26b170b54ae2b78e74675342 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
parenteb3961a57424a5c3dae44576d1c88e64a818d871 (diff)
downloadtalos-op-linux-0e28b10ff1b8e65788040b51c30c9cc984060dcd.tar.gz
talos-op-linux-0e28b10ff1b8e65788040b51c30c9cc984060dcd.zip
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_job.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_job.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
index 3151692312bd..39f4230e1d37 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.h
@@ -67,7 +67,6 @@ int amdgpu_job_alloc_with_ib(struct amdgpu_device *adev, unsigned size,
void amdgpu_job_free_resources(struct amdgpu_job *job);
void amdgpu_job_free(struct amdgpu_job *job);
-int amdgpu_job_submit(struct amdgpu_job *job, struct amdgpu_ring *ring,
- struct drm_sched_entity *entity, void *owner,
- struct dma_fence **f);
+int amdgpu_job_submit(struct amdgpu_job *job, struct drm_sched_entity *entity,
+ void *owner, struct dma_fence **f);
#endif
OpenPOWER on IntegriCloud