summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen6.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen6.h b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
index f9bffa9d4d2..8f005e95fba 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen6.h
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
@@ -432,8 +432,8 @@ gen6_emit_STATE_SIP(const struct ilo_dev_info *dev,
ILO_GPE_VALID_GEN(dev, 6, 7);
- ilo_cp_begin(cp, cmd_len | (cmd_len - 2));
- ilo_cp_write(cp, cmd);
+ ilo_cp_begin(cp, cmd_len);
+ ilo_cp_write(cp, cmd | (cmd_len - 2));
ilo_cp_write(cp, sip);
ilo_cp_end(cp);
}