Revert "intel: helper to debug bufmgr (disabled)"
authorEric Anholt <eric@anholt.net>
Fri, 4 Sep 2009 21:30:30 +0000 (14:30 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 8 Sep 2009 21:28:23 +0000 (14:28 -0700)
This reverts commit e0ec405a9fa6fbc1cf2ac531ed5efd1a64e01f18.

This is already available in INTEL_DEBUG=bufmgr in the environment.

src/mesa/drivers/dri/intel/intel_context.c

index 89f99f7..7ab8299 100644 (file)
@@ -641,10 +641,6 @@ intelInitContext(struct intel_context *intel,
       intel->maxBatchSize = BATCH_SZ;
 
    intel->bufmgr = intelScreen->bufmgr;
-
-   if (0) /* for debug */
-      drm_intel_bufmgr_set_debug(intel->bufmgr, 1);
-
    intel->ttm = intelScreen->ttm;
    if (intel->ttm) {
       int bo_reuse_mode;