drm/amdgpu: use a timer for fence fallback
authorChristian König <christian.koenig@amd.com>
Tue, 3 Nov 2015 12:27:39 +0000 (13:27 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 16 Nov 2015 16:05:47 +0000 (11:05 -0500)
commitc2776afe740db5598c4c457dcacb94d4427b13f9
treefa24ef61e23de9c5ca6a8e27ea6c35db3ee9a2ce
parent935c186aaecc25258495351adaba34f7c507d298
drm/amdgpu: use a timer for fence fallback

Less overhead than a work item and also adds proper cleanup handling.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Chunming Zhou <david1.zhou@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu.h
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c