Home
last modified time | relevance | path

Searched refs:MicroTileWidth (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/amd/addrlib/r800/
Dsiaddrlib.cpp661 UINT_32 tx = x / MicroTileWidth; in ComputePipeFromCoord()
1210 macroWidth = 8*MicroTileWidth; in HwlComputeTileDataWidthAndHeightLinear()
1215 macroWidth = 4*MicroTileWidth; in HwlComputeTileDataWidthAndHeightLinear()
1272 UINT_32 tx = x / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
1327 const UINT_32 pitchInTile = newPitch / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
1328 const UINT_32 heightInTile = newHeight / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
1361 const UINT_32 macroWidthInTile = macroWidth / MicroTileWidth; // Now in unit of Tiles in HwlComputeXmaskAddrFromCoord()
1371 microX = (x % macroWidth) / MicroTileWidth / 4; // Macro Tile is 4x4 in HwlComputeXmaskAddrFromCoord()
1373 …microNumber = static_cast<UINT_64>(microX + microY * (macroWidth / MicroTileWidth / 4)) << microSh… in HwlComputeXmaskAddrFromCoord()
1484 const UINT_32 pitchInTile = newPitch / MicroTileWidth; in HwlComputeXmaskCoordFromAddr()
[all …]
Degbaddrlib.cpp936 macroTileWidth = MicroTileWidth * pTileInfo->bankWidth * pipes * in ComputeSurfaceAlignmentsMacroTiled()
1495 (MicroTileWidth * pTileInfo->bankWidth * numPipes) * pTileInfo->macroAspectRatio; in ComputeMacroTileEquation()
1736 (MicroTileWidth * pTileInfo->bankWidth * numPipes) * pTileInfo->macroAspectRatio; in ComputeSurfaceAddrFromCoordMacroTiled()
1745 (macroTilePitch / MicroTileWidth) * (macroTileHeight / MicroTileHeight) / in ComputeSurfaceAddrFromCoordMacroTiled()
1779 tileColumnIndex = ((x / MicroTileWidth) / numPipes) % pTileInfo->bankWidth; in ComputeSurfaceAddrFromCoordMacroTiled()
1903 microTilesPerRow = pitch / MicroTileWidth; in ComputeSurfaceAddrFromCoordMicroTiled()
1908 microTileIndexX = x / MicroTileWidth; in ComputeSurfaceAddrFromCoordMicroTiled()
2397 UINT_32 pitchInMacroTiles = pitch / MicroTileWidth / macroWidth; in ComputeSurfaceCoordFromAddrMacroTiled()
2404 UINT_32 macroTilesPerSlice = (pitch / (macroWidth * MicroTileWidth)) * height / in ComputeSurfaceCoordFromAddrMacroTiled()
2405 (macroHeight * MicroTileWidth); in ComputeSurfaceCoordFromAddrMacroTiled()
[all …]
Dciaddrlib.cpp221 UINT_32 tileSizePerSample = BITS_TO_BYTES(pIn->bpp * MicroTileWidth * MicroTileHeight); in HwlComputeDccInfo()
1917 *pMacroWidth = numTiles * MicroTileWidth; in HwlComputeTileDataWidthAndHeightLinear()
2104 UINT_32 tileSizePerSample = BITS_TO_BYTES(bpp * MicroTileWidth * MicroTileHeight); in HwlPadDimensions()
2241 (tileInfo.tileSplitBytes >= MicroTileWidth * MicroTileHeight * pIn->numSamples)) in DepthStencilTileCfgMatch()
/external/mesa3d/src/amd/addrlib/core/
Daddrcommon.h167 static const UINT_32 MicroTileWidth = 8; ///< Micro tile width, for 1D and 2D tiling variable
176 static const UINT_32 MicroTilePixels = MicroTileWidth * MicroTileHeight;
Daddrlib1.cpp2318 microX = microNumber % (macroTilePitch / factor / MicroTileWidth); in HwlComputeXmaskCoordFromAddr()
2321 *pX = macroX * (macroTilePitch/factor) + microX * MicroTileWidth; in HwlComputeXmaskCoordFromAddr()
2326 *pX/MicroTileWidth); in HwlComputeXmaskCoordFromAddr()
2490 pixelBytesPerRow = BITS_TO_BYTES(macroTileWidth * elemBits) / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
2498 pixelOffsetX = (x % (macroTileWidth / 2)) / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
2502 pixelOffsetX = (x % (macroTileWidth)) / MicroTileWidth * BITS_TO_BYTES(elemBits); in HwlComputeXmaskAddrFromCoord()
2687 rowBits = (pitch / MicroTileWidth) * microTileBits; in ComputeSurfaceCoordFromAddrMicroTiled()
2704 microTileCoordX = static_cast<UINT_32>(bitAddr / microTileBits) * MicroTileWidth; in ComputeSurfaceCoordFromAddrMicroTiled()
3693 UINT_32 microSize = PowTwoAlign(width, MicroTileWidth) * in OptimizeTileMode()