From 47de94a79414e241d4f37b8e38e3cc5396ce5b3f Mon Sep 17 00:00:00 2001 From: Xiao-Tao Zai Date: Wed, 25 Jun 2014 11:06:00 -0400 Subject: amdgpu/addrlib: allow tileSplitBytes greater than row size 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 e53479839e1..abd1a79ed80 100644 --- a/src/amd/addrlib/r800/egbaddrlib.cpp +++ b/src/amd/addrlib/r800/egbaddrlib.cpp @@ -994,7 +994,7 @@ BOOL_32 EgBasedAddrLib::SanityCheckMacroTiled( { if (pTileInfo->tileSplitBytes > m_rowSize) { - valid = FALSE; + ADDR_WARN(0, ("tileSplitBytes is bigger than row size")); } } -- cgit v1.2.3