diff options
author | Chia-I Wu <[email protected]> | 2013-08-22 14:53:11 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-08-22 15:18:29 +0800 |
commit | 627d7ca7631c6835f22f2f945c11abba24a650e4 (patch) | |
tree | 0b5ca5b4eccec62870d7a54b1038dd843689363e | |
parent | 475d7ecce2f1e78b373628a886e5adfa1805c244 (diff) |
ilo: fix a potential issue with STATE_SIP
Command length is ORed to the wrong place. Since the ORed value is zero,
there is no real change.
-rw-r--r-- | src/gallium/drivers/ilo/ilo_gpe_gen6.h | 4 |
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); } |