aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2011-02-15 03:54:24 +0100
committerMarek Olšák <[email protected]>2011-02-15 04:00:47 +0100
commit333d3daf472485b247101932d95ccb798cb55f7b (patch)
treedca4208587ccdb979ce3a50f8b86c76e9297451f /src/gallium
parent45e1cd522bd26a5aa3d424ea49975b90feef8450 (diff)
r300g: actually implement the is_buffer_busy hook the right way
Ooops.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/winsys/radeon/drm/radeon_drm_bo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
index e3c6195d5f6..f3c4002883d 100644
--- a/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
+++ b/src/gallium/winsys/radeon/drm/radeon_drm_bo.c
@@ -304,14 +304,14 @@ static boolean radeon_bomgr_is_buffer_busy(struct pb_manager *_mgr,
struct radeon_bo *bo = radeon_bo(_buf);
if (radeon_bo_is_referenced_by_any_cs(bo)) {
- return FALSE;
+ return TRUE;
}
if (radeon_bo_is_busy((struct r300_winsys_bo*)bo)) {
- return FALSE;
+ return TRUE;
}
- return TRUE;
+ return FALSE;
}
static void radeon_bomgr_destroy(struct pb_manager *_mgr)