Mesa (mesa_7_7_branch): svga: remove sleep in DEBUG_FLUSH path

Jose Fonseca jrfonseca at kemper.freedesktop.org
Thu Jan 28 17:17:13 UTC 2010


Module: Mesa
Branch: mesa_7_7_branch
Commit: 8e240d7e0eb640cc954f6d81119136e2d546d618
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=8e240d7e0eb640cc954f6d81119136e2d546d618

Author: Keith Whitwell <keithw at vmware.com>
Date:   Mon Aug 10 18:45:07 2009 +0100

svga: remove sleep in DEBUG_FLUSH path

---

 src/gallium/drivers/svga/svga_pipe_draw.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/src/gallium/drivers/svga/svga_pipe_draw.c b/src/gallium/drivers/svga/svga_pipe_draw.c
index 719b341..8794dee 100644
--- a/src/gallium/drivers/svga/svga_pipe_draw.c
+++ b/src/gallium/drivers/svga/svga_pipe_draw.c
@@ -218,9 +218,6 @@ svga_draw_range_elements( struct pipe_context *pipe,
    if (SVGA_DEBUG & DEBUG_FLUSH) {
       static unsigned id;
       debug_printf("%s %d\n", __FUNCTION__, id++);
-      if (id > 1300)
-         util_time_sleep( 2000 );
-
       svga_hwtnl_flush_retry( svga );
       svga_context_flush(svga, NULL);
    }




More information about the mesa-commit mailing list