gallium/i915: call draw_flush() in i915_flush()
This commit is contained in:
parent
cc0cf1154b
commit
b53110c789
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include "pipe/p_defines.h"
|
#include "pipe/p_defines.h"
|
||||||
|
#include "draw/draw_context.h"
|
||||||
#include "i915_context.h"
|
#include "i915_context.h"
|
||||||
#include "i915_reg.h"
|
#include "i915_reg.h"
|
||||||
#include "i915_batch.h"
|
#include "i915_batch.h"
|
||||||
|
@ -44,6 +45,8 @@ static void i915_flush( struct pipe_context *pipe,
|
||||||
{
|
{
|
||||||
struct i915_context *i915 = i915_context(pipe);
|
struct i915_context *i915 = i915_context(pipe);
|
||||||
|
|
||||||
|
draw_flush(i915->draw);
|
||||||
|
|
||||||
/* Do we need to emit an MI_FLUSH command to flush the hardware
|
/* Do we need to emit an MI_FLUSH command to flush the hardware
|
||||||
* caches?
|
* caches?
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue