diff --git a/src/i965_video.c b/src/i965_video.c index 4c79259..6aceec6 100644 --- a/src/i965_video.c +++ b/src/i965_video.c @@ -825,6 +825,15 @@ I965DisplayVideoTextured(ScrnInfoPtr pScrn, I830PortPrivPtr pPriv, int id, BRW_TS_CTL_SNAPSHOT_ENABLE); #endif + { + unsigned int reg = i830_crtc_pipe(pPriv->current_crtc)?PIPEBSTAT:PIPEASTAT; + unsigned int stat = INREG(reg); + OUTREG(PIPEASTAT, stat|(1<<2)); + do { + stat = INREG(reg); + } while(!(stat&(1<<2))); + } + BEGIN_BATCH(6); OUT_BATCH(BRW_3DPRIMITIVE | BRW_3DPRIMITIVE_VERTEX_SEQUENTIAL |