i965: Program DWord Length in MI_FLUSH_DW
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Cc: <mesa-stable@lists.freedesktop.org>
This commit is contained in:
parent
5d8164c428
commit
6165fda59b
|
@ -462,7 +462,7 @@ brw_emit_mi_flush(struct brw_context *brw)
|
||||||
|
|
||||||
if (brw->batch.ring == BLT_RING && devinfo->gen >= 6) {
|
if (brw->batch.ring == BLT_RING && devinfo->gen >= 6) {
|
||||||
BEGIN_BATCH_BLT(4);
|
BEGIN_BATCH_BLT(4);
|
||||||
OUT_BATCH(MI_FLUSH_DW);
|
OUT_BATCH(MI_FLUSH_DW | (4 - 2));
|
||||||
OUT_BATCH(0);
|
OUT_BATCH(0);
|
||||||
OUT_BATCH(0);
|
OUT_BATCH(0);
|
||||||
OUT_BATCH(0);
|
OUT_BATCH(0);
|
||||||
|
|
|
@ -104,7 +104,7 @@ set_blitter_tiling(struct brw_context *brw,
|
||||||
assert(brw->screen->devinfo.gen >= 6);
|
assert(brw->screen->devinfo.gen >= 6);
|
||||||
|
|
||||||
/* Idle the blitter before we update how tiling is interpreted. */
|
/* Idle the blitter before we update how tiling is interpreted. */
|
||||||
OUT_BATCH(MI_FLUSH_DW);
|
OUT_BATCH(MI_FLUSH_DW | (4 - 2));
|
||||||
OUT_BATCH(0);
|
OUT_BATCH(0);
|
||||||
OUT_BATCH(0);
|
OUT_BATCH(0);
|
||||||
OUT_BATCH(0);
|
OUT_BATCH(0);
|
||||||
|
|
Loading…
Reference in New Issue