drm/amdgpu: add zero timeout check in amdgpu_fence_wait_seq_timeout
authorJack Xiao <Jack.Xiao@amd.com>
Thu, 4 Jun 2015 04:18:27 +0000 (12:18 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 5 Jun 2015 14:59:25 +0000 (10:59 -0400)
commit25f45e633892a45df2edbfd4a5dbbfc70e32487b
treed93288a893d969ee1263146598ca331b2cfadf8e
parentae45577324d1f749c907840247d443696ac3bc7a
drm/amdgpu: add zero timeout check in amdgpu_fence_wait_seq_timeout

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Jammy Zhou <Jammy.Zhou@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c