drm/amdgpu: drop amdgpu_job.owner
authorChristian König <christian.koenig@amd.com>
Mon, 16 Dec 2019 13:54:31 +0000 (14:54 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Jan 2020 18:35:10 +0000 (13:35 -0500)
Entirely unused.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.h

index 7a8772b7caf7b87d27dc824794be2185bdde1c5d..a52a084158b13742c51603022f66de13066109a0 100644 (file)
@@ -1234,7 +1234,6 @@ static int amdgpu_cs_submit(struct amdgpu_cs_parser *p,
                goto error_abort;
        }
 
-       job->owner = p->filp;
        p->fence = dma_fence_get(&job->base.s_fence->finished);
 
        amdgpu_ctx_add_fence(p->ctx, entity, p->fence, &seq);
index 73328d0c741da6f146aac152c86a8d6acd5bb167..d42be880a236bf8b1d0278a5c9586a0fc25ccdd9 100644 (file)
@@ -153,7 +153,6 @@ int amdgpu_job_submit(struct amdgpu_job *job, struct drm_sched_entity *entity,
        if (r)
                return r;
 
-       job->owner = owner;
        *f = dma_fence_get(&job->base.s_fence->finished);
        amdgpu_job_free_resources(job);
        priority = job->base.s_priority;
index dc7ee9358dcd6ed01cd4cda96ce97a612c4ac61f..3f7b8433d17904fd8e535219108a47f0f54c9e3d 100644 (file)
@@ -49,7 +49,6 @@ struct amdgpu_job {
        uint32_t                preamble_status;
        uint32_t                preemption_status;
        uint32_t                num_ibs;
-       void                    *owner;
        bool                    vm_needs_flush;
        uint64_t                vm_pd_addr;
        unsigned                vmid;