projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ca800e
)
i965: Don't set a reserved bit in MI_FLUSH.
author
Eric Anholt
<eric@anholt.net>
Wed, 24 Jun 2009 02:29:35 +0000
(19:29 -0700)
committer
Eric 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
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_vtbl.c
b/src/mesa/drivers/dri/i965/brw_vtbl.c
index ba03afd6c139ba7eee2cb453334033d7695b9a71..b284e623d01771c4d319bca40c8e0cf47f5ade38 100644
(file)
--- a/
src/mesa/drivers/dri/i965/brw_vtbl.c
+++ b/
src/mesa/drivers/dri/i965/brw_vtbl.c
@@
-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;
}