amdgpu/addrlib: Fix invalid access to m_tileTable
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Wed, 27 Jul 2016 17:14:41 +0000 (19:14 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 30 Mar 2017 12:44:33 +0000 (14:44 +0200)
commit4a4b7da141834c6bcdbab7da7dd8599fab400b04
tree08edf3fc8cfb0ebeca8f1344543eda74281bbc57
parent9e40e090891e80856998aed02e63a5d76f2f243a
amdgpu/addrlib: Fix invalid access to m_tileTable

Sometimes client driver passes valid tile info into address library,
in this case, the tile index is computed in function
HwlPostCheckTileIndex instead of CiAddrLib::HwlSetupTileCfg.
We need to call HwlPostCheckTileIndex to calculate the correct tile
index to get tile split bytes for this case.
src/amd/addrlib/r800/ciaddrlib.cpp