diff options
author | Christian König <christian.koenig@amd.com> | 2016-06-29 09:10:31 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-07-07 15:06:10 -0400 |
commit | a5fb4ec29c74a16ce1c269e52bc85ca86ee41e81 (patch) | |
tree | 108330ce5b0181d0cef561187daf7894297bf7f8 /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
parent | a79a5bdcefc4d283b58eef46804c43c88789dd1f (diff) |
drm/amdgpu: earlier free SA resources
Keep the time we don't have a fence associated with the resource smaller.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-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.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu.h b/drivers/gpu/drm/amd/amdgpu/amdgpu.h index 4fc879e594aa..9f70546594a8 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu.h | |||
@@ -760,6 +760,7 @@ int amdgpu_job_alloc(struct amdgpu_device *adev, unsigned num_ibs, | |||
760 | int amdgpu_job_alloc_with_ib(struct amdgpu_device *adev, unsigned size, | 760 | int amdgpu_job_alloc_with_ib(struct amdgpu_device *adev, unsigned size, |
761 | struct amdgpu_job **job); | 761 | struct amdgpu_job **job); |
762 | 762 | ||
763 | void amdgpu_job_free_resources(struct amdgpu_job *job); | ||
763 | void amdgpu_job_free(struct amdgpu_job *job); | 764 | void amdgpu_job_free(struct amdgpu_job *job); |
764 | int amdgpu_job_submit(struct amdgpu_job *job, struct amdgpu_ring *ring, | 765 | int amdgpu_job_submit(struct amdgpu_job *job, struct amdgpu_ring *ring, |
765 | struct amd_sched_entity *entity, void *owner, | 766 | struct amd_sched_entity *entity, void *owner, |