Mesa (mesa_7_6_branch): radeon: drop assert accessing cref which is meant to be hidden

Dave Airlie airlied at kemper.freedesktop.org
Mon Dec 21 16:25:39 PST 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 9d2910ee0fd2d8ef95c6948598f702bf5a9e0d44
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9d2910ee0fd2d8ef95c6948598f702bf5a9e0d44

Author: Dave Airlie <airlied at redhat.com>
Date:   Thu Dec 17 14:19:27 2009 +1000

radeon: drop assert accessing cref which is meant to be hidden

---

 src/mesa/drivers/dri/radeon/radeon_dma.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/src/mesa/drivers/dri/radeon/radeon_dma.c b/src/mesa/drivers/dri/radeon/radeon_dma.c
index c9a32c8..232972d 100644
--- a/src/mesa/drivers/dri/radeon/radeon_dma.c
+++ b/src/mesa/drivers/dri/radeon/radeon_dma.c
@@ -207,7 +207,6 @@ again_alloc:
 		   counter on unused buffers for later freeing them from
 		   begin of list */
 		dma_bo = last_elem(&rmesa->dma.free);
-		assert(dma_bo->bo->cref == 1);
 		remove_from_list(dma_bo);
 		insert_at_head(&rmesa->dma.reserved, dma_bo);
 	}



More information about the mesa-commit mailing list