i965: Don't set a reserved bit in MI_FLUSH.
authorEric Anholt <eric@anholt.net>
Wed, 24 Jun 2009 02:29:35 +0000 (19:29 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 24 Jun 2009 02:31:13 +0000 (19:31 -0700)
I noticed this when this MI_FLUSH showed up in IPEHR for the ut2004 hang.
Not setting the reserved bit didn't help, though.

src/mesa/drivers/dri/i965/brw_vtbl.c

index ba03afd6c139ba7eee2cb453334033d7695b9a71..b284e623d01771c4d319bca40c8e0cf47f5ade38 100644 (file)
@@ -194,7 +194,7 @@ static GLuint brw_flush_cmd( void )
    struct brw_mi_flush flush;
    flush.opcode = CMD_MI_FLUSH;
    flush.pad = 0;
-   flush.flags = BRW_FLUSH_READ_CACHE | BRW_FLUSH_STATE_CACHE;
+   flush.flags = BRW_FLUSH_STATE_CACHE;
    return *(GLuint *)&flush;
 }