intel: helper to debug bufmgr (disabled)

This commit is contained in:
Brian Paul
2009-09-03 10:36:49 -06:00
parent 3070b13f4c
commit e0ec405a9f

View File

@@ -640,6 +640,10 @@ 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;