diff options
author | Xiao-Tao Zai <[email protected]> | 2014-06-25 11:06:00 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2017-03-30 14:44:33 +0200 |
commit | 47de94a79414e241d4f37b8e38e3cc5396ce5b3f (patch) | |
tree | f25be1dd0f3f88795ba0fa6144176371d4e8b908 /src/amd/addrlib | |
parent | d52e0bbfe6e7f3745a2193673c49e80b9f005123 (diff) |
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.
Diffstat (limited to 'src/amd/addrlib')
-rw-r--r-- | src/amd/addrlib/r800/egbaddrlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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")); } } |