aboutsummaryrefslogtreecommitdiffstats
path: root/src/amd/addrlib/r800/ciaddrlib.cpp
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2016-07-20 20:24:59 +0200
committerMarek Olšák <[email protected]>2017-03-30 14:44:33 +0200
commit3e44337bd6314056b5c0d18e99754993f872c19e (patch)
treeefbe7d3109b5ced4289d58b6835b9da4b7d219fd /src/amd/addrlib/r800/ciaddrlib.cpp
parent79dcda5116c8911782c646d923e14d7a9107e8c5 (diff)
amdgpu/addrlib: rename ComputeSurfaceThickness to Thickness
Diffstat (limited to 'src/amd/addrlib/r800/ciaddrlib.cpp')
-rw-r--r--src/amd/addrlib/r800/ciaddrlib.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/amd/addrlib/r800/ciaddrlib.cpp b/src/amd/addrlib/r800/ciaddrlib.cpp
index ccb05282647..7585e2558b0 100644
--- a/src/amd/addrlib/r800/ciaddrlib.cpp
+++ b/src/amd/addrlib/r800/ciaddrlib.cpp
@@ -636,7 +636,7 @@ ADDR_E_RETURNCODE CiAddrLib::HwlSetupTileCfg(
{
if (bpp > 0)
{
- UINT_32 thickness = ComputeSurfaceThickness(pCfgTable->mode);
+ UINT_32 thickness = Thickness(pCfgTable->mode);
UINT_32 tileBytes1x = BITS_TO_BYTES(bpp * MicroTilePixels * thickness);
// Non-depth entries store a split factor
UINT_32 sampleSplit = m_tileTable[index].info.tileSplitBytes;
@@ -897,7 +897,7 @@ BOOL_32 CiAddrLib::HwlOverrideTileMode(
// UBTS#404321, we do not need such overriding, as THICK+THICK entries removed from the tile-mode table
if (!m_settings.isBonaire)
{
- UINT_32 thickness = ComputeSurfaceThickness(tileMode);
+ UINT_32 thickness = Thickness(tileMode);
// tile_thickness = (array_mode == XTHICK) ? 8 : ((array_mode == THICK) ? 4 : 1)
if (thickness > 1)
@@ -1000,7 +1000,7 @@ VOID CiAddrLib::HwlSetupTileInfo(
ADDR_COMPUTE_SURFACE_INFO_OUTPUT* pOut ///< [out] Output
) const
{
- UINT_32 thickness = ComputeSurfaceThickness(tileMode);
+ UINT_32 thickness = Thickness(tileMode);
ADDR_TILEINFO* pTileInfo = pTileInfoOut;
INT index = TileIndexInvalid;
INT macroModeIndex = TileIndexInvalid;
@@ -1546,7 +1546,7 @@ INT_32 CiAddrLib::HwlComputeMacroModeIndex(
AddrTileMode tileMode = m_tileTable[tileIndex].mode;
AddrTileType tileType = m_tileTable[tileIndex].type;
- UINT_32 thickness = ComputeSurfaceThickness(tileMode);
+ UINT_32 thickness = Thickness(tileMode);
if (!IsMacroTiled(tileMode))
{