drm/amdgpu: signal fences directly in amdgpu_fence_process
authorChristian König <christian.koenig@amd.com>
Mon, 14 Mar 2016 13:29:46 +0000 (14:29 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 16 Mar 2016 21:59:41 +0000 (17:59 -0400)
commit4a7d74f1763edd96badba1fe1c99f07ddf0376a6
tree77b21047062e1988875faf3cfd1ca0d1ee5cf330
parentf09c2be4d4804963f18417abd5b51bc8a8330851
drm/amdgpu: signal fences directly in amdgpu_fence_process

Because of the scheduler we need to signal all fences immediately
anyway, so try to avoid the waitqueue overhead.

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