mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-06 18:40:42 +01:00
i965: Program DWord Length in MI_FLUSH_DW
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Cc: <mesa-stable@lists.freedesktop.org> (cherry picked from commit6165fda59b) Squashed with: i965: Remove DWord length from MI_FLUSH_DW definition Fixes:6165fda59b("i965: Program DWord Length in MI_FLUSH_DW") Cc: <mesa-stable@lists.freedesktop.org> Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Nanley Chery <nanley.g.chery@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> (cherry picked from commit822fd2341d)
This commit is contained in:
parent
d38e92b6e9
commit
bf0c7200bd
3 changed files with 3 additions and 3 deletions
|
|
@ -1428,7 +1428,7 @@ enum brw_pixel_shader_coverage_mask_mode {
|
|||
#define MI_LOAD_REGISTER_IMM (CMD_MI | (0x22 << 23))
|
||||
#define MI_LOAD_REGISTER_REG (CMD_MI | (0x2A << 23))
|
||||
|
||||
#define MI_FLUSH_DW (CMD_MI | (0x26 << 23) | 2)
|
||||
#define MI_FLUSH_DW (CMD_MI | (0x26 << 23))
|
||||
|
||||
#define MI_STORE_REGISTER_MEM (CMD_MI | (0x24 << 23))
|
||||
# define MI_STORE_REGISTER_MEM_USE_GGTT (1 << 22)
|
||||
|
|
|
|||
|
|
@ -464,7 +464,7 @@ brw_emit_mi_flush(struct brw_context *brw)
|
|||
|
||||
if (brw->batch.ring == BLT_RING && devinfo->gen >= 6) {
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ set_blitter_tiling(struct brw_context *brw,
|
|||
assert(devinfo->gen >= 6);
|
||||
|
||||
/* 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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue