drm/amdgpu: earlier free SA resources
authorChristian König <christian.koenig@amd.com>
Wed, 29 Jun 2016 13:10:31 +0000 (15:10 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:06:10 +0000 (15:06 -0400)
commita5fb4ec29c74a16ce1c269e52bc85ca86ee41e81
tree108330ce5b0181d0cef561187daf7894297bf7f8
parenta79a5bdcefc4d283b58eef46804c43c88789dd1f
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>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_job.c