projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
475d7ec
)
ilo: fix a potential issue with STATE_SIP
author
Chia-I Wu
<olvaffe@gmail.com>
Thu, 22 Aug 2013 06:53:11 +0000
(14:53 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Thu, 22 Aug 2013 07:18:29 +0000
(15:18 +0800)
Command length is ORed to the wrong place. Since the ORed value is zero,
there is no real change.
src/gallium/drivers/ilo/ilo_gpe_gen6.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_gpe_gen6.h
b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
index
f9bffa9
..
8f005e9
100644
(file)
--- 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);
}