diff options
author | Christian König <christian.koenig@amd.com> | 2018-07-13 03:58:49 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-07-16 17:11:52 -0400 |
commit | eb3961a57424a5c3dae44576d1c88e64a818d871 (patch) | |
tree | 81ecfe0228b383abe5f2973bc62543e6ebeb2da4 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |
parent | 050d9d43a7d3847fd9726a675bf644b124518425 (diff) |
drm/amdgpu: remove fence context from the job
Can be obtained directly from the fence as well.
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.c')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c index 2bd56760c744..10e0a97c7c03 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_job.c | |||
@@ -132,7 +132,6 @@ int amdgpu_job_submit(struct amdgpu_job *job, struct amdgpu_ring *ring, | |||
132 | return r; | 132 | return r; |
133 | 133 | ||
134 | job->owner = owner; | 134 | job->owner = owner; |
135 | job->fence_ctx = entity->fence_context; | ||
136 | *f = dma_fence_get(&job->base.s_fence->finished); | 135 | *f = dma_fence_get(&job->base.s_fence->finished); |
137 | amdgpu_job_free_resources(job); | 136 | amdgpu_job_free_resources(job); |
138 | amdgpu_ring_priority_get(job->ring, job->base.s_priority); | 137 | amdgpu_ring_priority_get(job->ring, job->base.s_priority); |