Add a workaround for Ironlake errata relating to disabling the clipper.

This commit is contained in:
Eric Anholt 2010-05-23 20:33:47 -07:00
parent 158a158dad
commit 06ebb55d30
1 changed files with 9 additions and 0 deletions

View File

@ -1230,6 +1230,15 @@ static void i965_emit_composite_state(ScrnInfoPtr scrn)
I915_GEM_DOMAIN_INSTRUCTION, 0, 0);
}
if (IS_IGDNG(intel)) {
/* Ironlake errata workaround: Before disabling the clipper,
* you have to MI_FLUSH to get the pipeline idle.
*/
ATOMIC_BATCH(1);
OUT_BATCH(MI_FLUSH);
ADVANCE_BATCH();
}
{
int pipe_ctrl;
/* Pipe control */