drm/radeon: add error handling to fence_wait_empty_locked
authorChristian König <deathsimple@vodafone.de>
Fri, 29 Jun 2012 09:33:12 +0000 (11:33 +0200)
committerChristian König <deathsimple@vodafone.de>
Tue, 17 Jul 2012 08:31:39 +0000 (10:31 +0200)
commit7ecc45e3ef8468abb062be2a8bb427029342f42d
treeb161f84f121bc15ed6d1a511da1be5984721069f
parent49099c4991da3c94773f888aea2e9d27b8a7c6d1
drm/radeon: add error handling to fence_wait_empty_locked

Instead of returning the error handle it directly
and while at it fix the comments about the ring lock.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Michel Dänzer <michel.daenzer@amd.com>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/radeon_fence.c