projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8e4792
)
ilo: 128 BPP formats can use TiledY on Gen7.5+
author
Chia-I Wu
<olvaffe@gmail.com>
Fri, 20 Feb 2015 07:27:14 +0000
(15:27 +0800)
committer
Chia-I Wu
<olvaffe@gmail.com>
Sat, 21 Feb 2015 03:33:54 +0000
(11:33 +0800)
The restriction is lifted.
src/gallium/drivers/ilo/ilo_layout.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/ilo/ilo_layout.c
b/src/gallium/drivers/ilo/ilo_layout.c
index 881550bd9f2ec62e5d1bc3edb384abf9c4797f2a..03a692f299749e926d76841330195cf054c7d9a5 100644
(file)
--- a/
src/gallium/drivers/ilo/ilo_layout.c
+++ b/
src/gallium/drivers/ilo/ilo_layout.c
@@
-508,8
+508,13
@@
layout_get_valid_tilings(const struct ilo_layout *layout,
*
* "NOTE: 128BPE Format Color buffer ( render target ) MUST be
* either TileX or Linear."
+ *
+ * From the Haswell PRM, volume 5, page 32:
+ *
+ * "NOTE: 128 BPP format color buffer (render target) supports
+ * Linear, TiledX and TiledY."
*/
- if (layout->block_size == 16)
+ if (
ilo_dev_gen(params->dev) < ILO_GEN(7.5) &&
layout->block_size == 16)
valid_tilings &= ~LAYOUT_TILING_Y;
/*