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:
5f4b13f
)
ilo: fix bound check for 3DSTATE_URB_VS
author
Chia-I Wu
<olvaffe@gmail.com>
Sat, 30 Aug 2014 17:34:41 +0000
(
01:34
+0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Sun, 31 Aug 2014 02:34:39 +0000
(10:34 +0800)
Fix max/min entries on GEN7.5 GT2/GT3.
src/gallium/drivers/ilo/ilo_gpe_gen7.h
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_gpe_gen7.h
b/src/gallium/drivers/ilo/ilo_gpe_gen7.h
index
ca30575
..
0fab6e3
100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_gpe_gen7.h
+++ b/
src/gallium/drivers/ilo/ilo_gpe_gen7.h
@@
-774,15
+774,15
@@
gen7_emit_3dstate_urb(const struct ilo_dev_info *dev,
switch (subop) {
case GEN7_RENDER_OPCODE_3DSTATE_URB_VS:
- min_entries = 32;
-
switch (dev->gen) {
case ILO_GEN(7.5):
- max_entries = (dev->gt >= 2) ? 1644 : 640;
+ max_entries = (dev->gt >= 2) ? 1664 : 640;
+ min_entries = (dev->gt >= 2) ? 64 : 32;
break;
case ILO_GEN(7):
default:
max_entries = (dev->gt == 2) ? 704 : 512;
+ min_entries = 32;
break;
}