drm/radeon/r600: only assign vb after we know space is available.
authorRobert Noland <rnoland@2hip.net>
Tue, 20 Oct 2009 18:07:38 +0000 (13:07 -0500)
committerDave Airlie <airlied@redhat.com>
Mon, 26 Oct 2009 03:28:21 +0000 (13:28 +1000)
commit33fdb15c99aac20d238af487fa363d3e5c7ed197
treec16113310eaf398e5a9d6397aa6c484e4cad88b7
parentc54b1820d69a1043acaf50d084852e628266e0e2
drm/radeon/r600: only assign vb after we know space is available.

This patch only changes this is the swap path, where it doesn't loop.

Signed-off-by: Robert Noland <rnoland@2hip.net>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600_blit.c