From: Xiao-Tao Zai <[email protected]>
Carrizo row size is 1K, while tileSplitBytes is 2K for a 4xAA 32bpp
depth surface. Remove the sanity check that tileSplitBytes must be
greater than row size. There could be performance loss but may be
covered by non-split depth which enables tc-compatible read.
---
src/amd/addrlib/r800/egbaddrlib.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/addrlib/r800/egbaddrlib.cpp
b/src/amd/addrlib/r800/egbaddrlib.cpp
index e534798..abd1a79 100644
--- a/src/amd/addrlib/r800/egbaddrlib.cpp
+++ b/src/amd/addrlib/r800/egbaddrlib.cpp
@@ -987,21 +987,21 @@ BOOL_32 EgBasedAddrLib::SanityCheckMacroTiled(
{
// This will generate macro tile height <= 1
valid = FALSE;
}
}
if (valid)
{
if (pTileInfo->tileSplitBytes > m_rowSize)
{
- valid = FALSE;
+ ADDR_WARN(0, ("tileSplitBytes is bigger than row size"));
}
}
if (valid)
{
valid = HwlSanityCheckMacroTiled(pTileInfo);
}
ADDR_ASSERT(valid == TRUE);
--
2.7.4
_______________________________________________
mesa-dev mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-dev