summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-09-06 09:28:27 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2010-09-06 09:28:27 +0800
commit49b8f4d7ecf1621b941cbc576d82b3ecd9154d49 (patch)
treedff935eda7b82d556e264ae442e10dd016394fcb
parent175fff5cd5137cea2fea23756cc8cbe638fd968e (diff)
i965: disable aubfile dump for nowsandybridge-2
Which is required for new libdrm. Make this compile for QA.
-rw-r--r--src/mesa/drivers/dri/intel/intel_context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_context.c b/src/mesa/drivers/dri/intel/intel_context.c
index 911b9c7aa56..40dd4c72b5f 100644
--- a/src/mesa/drivers/dri/intel/intel_context.c
+++ b/src/mesa/drivers/dri/intel/intel_context.c
@@ -784,6 +784,8 @@ intelInitContext(struct intel_context *intel,
if (INTEL_DEBUG & DEBUG_BUFMGR)
dri_bufmgr_set_debug(intel->bufmgr, GL_TRUE);
+#if 0
+
if (INTEL_DEBUG & DEBUG_AUB) {
fprintf(stderr, "Enable Aub file dump.\n");
intel->aub_file = fopen("i965.aub", "w+");
@@ -792,6 +794,7 @@ intelInitContext(struct intel_context *intel,
else
fprintf(stderr, "Fail to create aub file.\n");
}
+#endif
intel->batch = intel_batchbuffer_alloc(intel);