i965: Remove DWord length from MI_FLUSH_DW definition
authorAnuj Phogat <anuj.phogat@gmail.com>
Tue, 14 Nov 2017 22:48:21 +0000 (14:48 -0800)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 17 Nov 2017 19:51:28 +0000 (11:51 -0800)
Fixes: 6165fda59b8 ("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>
src/mesa/drivers/dri/i965/brw_defines.h

index 26f6ae6b2fc48007565ffa4068baf1ade9abef3d..59d9e5cf21b577e48645331c1fb46b8c042de70f 100644 (file)
@@ -1430,7 +1430,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)