i915g: Don't send flush flags to HW

This commit is contained in:
Jakob Bornecrantz 2009-09-03 19:28:38 +01:00
parent 5643942517
commit 87a4fa56ae
1 changed files with 8 additions and 0 deletions

View File

@ -45,6 +45,7 @@ static void i915_flush( struct pipe_context *pipe,
draw_flush(i915->draw);
#if 0
/* Do we need to emit an MI_FLUSH command to flush the hardware
* caches?
*/
@ -63,6 +64,13 @@ static void i915_flush( struct pipe_context *pipe,
}
OUT_BATCH( flush );
}
#endif
#if 0
if (i915->batch->map == i915->batch->ptr) {
return;
}
#endif
/* If there are no flags, just flush pending commands to hardware:
*/