drm/radeon: return an error if there is nothing to wait for
authorChristian König <deathsimple@vodafone.de>
Wed, 11 Jul 2012 15:12:11 +0000 (17:12 +0200)
committerChristian König <deathsimple@vodafone.de>
Wed, 18 Jul 2012 11:17:32 +0000 (13:17 +0200)
commit246fa345a1b72fddb9b2b81f32abd615a5d1c0af
treee3534df96cf437b14107f4df7ec02eac5164ec9e
parent29935554b384b1b3a7377d6f0b03b21d18a61683
drm/radeon: return an error if there is nothing to wait for

Otherwise the sa managers out of memory
handling doesn't work.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_fence.c