fix misleading MI_FLUSH defn and usage

This commit is contained in:
Keith Whitwell 2006-02-25 18:57:43 +00:00
parent 4e8845fc0c
commit fea684c533
2 changed files with 4 additions and 4 deletions

View file

@ -825,9 +825,9 @@
#define ST1_MASK (0xffff)
#define MI_FLUSH ((0<<29)|(4<<23))
#define FLUSH_MAP_CACHE (1<<0)
#define FLUSH_RENDER_CACHE (1<<1)
#define MI_FLUSH ((0<<29)|(4<<23))
#define FLUSH_MAP_CACHE (1<<0)
#define INHIBIT_FLUSH_RENDER_CACHE (1<<2)
#endif

View file

@ -362,7 +362,7 @@ static void i915_lost_hardware( struct intel_context *intel )
static GLuint i915_flush_cmd( void )
{
return MI_FLUSH | FLUSH_MAP_CACHE | FLUSH_RENDER_CACHE;
return MI_FLUSH | FLUSH_MAP_CACHE;
}