• Home
  • Raw
  • Download

Lines Matching refs:UINT_32

141 UINT_32 SiLib::HwlGetPipes(  in HwlGetPipes()
145 UINT_32 numPipes; in HwlGetPipes()
169 UINT_32 SiLib::GetPipePerSurf( in GetPipePerSurf()
173 UINT_32 numPipes = 0; in GetPipePerSurf()
218 UINT_32 log2BytesPP, ///< [in] log2 of bytes per pixel in ComputeBankEquation()
219 UINT_32 threshX, ///< [in] threshold for x channel in ComputeBankEquation()
220 UINT_32 threshY, ///< [in] threshold for y channel in ComputeBankEquation()
227 UINT_32 pipes = HwlGetPipes(pTileInfo); in ComputeBankEquation()
228 UINT_32 bankXStart = 3 + Log2(pipes) + Log2(pTileInfo->bankWidth); in ComputeBankEquation()
229 UINT_32 bankYStart = 3 + Log2(pTileInfo->bankHeight); in ComputeBankEquation()
387 for (UINT_32 i = 0; i < pEquation->numBits; i++) in ComputeBankEquation()
447 UINT_32 log2BytesPP, ///< [in] Log2 of bytes per pixel in ComputePipeEquation()
448 UINT_32 threshX, ///< [in] Threshold for X channel in ComputePipeEquation()
449 UINT_32 threshY, ///< [in] Threshold for Y channel in ComputePipeEquation()
614 for (UINT_32 i = 0; i < pEquation->numBits; i++) in ComputePipeEquation()
643 UINT_32 SiLib::ComputePipeFromCoord( in ComputePipeFromCoord()
644 UINT_32 x, ///< [in] x coordinate in ComputePipeFromCoord()
645 UINT_32 y, ///< [in] y coordinate in ComputePipeFromCoord()
646 UINT_32 slice, ///< [in] slice index in ComputePipeFromCoord()
648 UINT_32 pipeSwizzle, ///< [in] pipe swizzle in ComputePipeFromCoord()
653 UINT_32 pipe; in ComputePipeFromCoord()
654 UINT_32 pipeBit0 = 0; in ComputePipeFromCoord()
655 UINT_32 pipeBit1 = 0; in ComputePipeFromCoord()
656 UINT_32 pipeBit2 = 0; in ComputePipeFromCoord()
657 UINT_32 pipeBit3 = 0; in ComputePipeFromCoord()
658 UINT_32 sliceRotation; in ComputePipeFromCoord()
659 UINT_32 numPipes = 0; in ComputePipeFromCoord()
661 UINT_32 tx = x / MicroTileWidth; in ComputePipeFromCoord()
662 UINT_32 ty = y / MicroTileHeight; in ComputePipeFromCoord()
663 UINT_32 x3 = _BIT(tx,0); in ComputePipeFromCoord()
664 UINT_32 x4 = _BIT(tx,1); in ComputePipeFromCoord()
665 UINT_32 x5 = _BIT(tx,2); in ComputePipeFromCoord()
666 UINT_32 x6 = _BIT(tx,3); in ComputePipeFromCoord()
667 UINT_32 y3 = _BIT(ty,0); in ComputePipeFromCoord()
668 UINT_32 y4 = _BIT(ty,1); in ComputePipeFromCoord()
669 UINT_32 y5 = _BIT(ty,2); in ComputePipeFromCoord()
670 UINT_32 y6 = _BIT(ty,3); in ComputePipeFromCoord()
759 UINT_32 microTileThickness = Thickness(tileMode); in ComputePipeFromCoord()
795 UINT_32 elemIdx, ///< [in] per pipe element index within a macro tile in ComputeTileCoordFromPipeAndElemIdx()
796 UINT_32 pipe, ///< [in] pipe index in ComputeTileCoordFromPipeAndElemIdx()
798 UINT_32 pitchInMacroTile, ///< [in] surface pitch in macro tile in ComputeTileCoordFromPipeAndElemIdx()
799 UINT_32 x, ///< [in] x coordinate of the (0,0) tile in a macro tile in ComputeTileCoordFromPipeAndElemIdx()
800 UINT_32 y, ///< [in] y coordinate of the (0,0) tile in a macro tile in ComputeTileCoordFromPipeAndElemIdx()
801 UINT_32* pX, ///< [out] x coordinate in ComputeTileCoordFromPipeAndElemIdx()
802 UINT_32* pY ///< [out] y coordinate in ComputeTileCoordFromPipeAndElemIdx()
805 UINT_32 pipebit0 = _BIT(pipe,0); in ComputeTileCoordFromPipeAndElemIdx()
806 UINT_32 pipebit1 = _BIT(pipe,1); in ComputeTileCoordFromPipeAndElemIdx()
807 UINT_32 pipebit2 = _BIT(pipe,2); in ComputeTileCoordFromPipeAndElemIdx()
808 UINT_32 pipebit3 = _BIT(pipe,3); in ComputeTileCoordFromPipeAndElemIdx()
809 UINT_32 elemIdx0 = _BIT(elemIdx,0); in ComputeTileCoordFromPipeAndElemIdx()
810 UINT_32 elemIdx1 = _BIT(elemIdx,1); in ComputeTileCoordFromPipeAndElemIdx()
811 UINT_32 elemIdx2 = _BIT(elemIdx,2); in ComputeTileCoordFromPipeAndElemIdx()
812 UINT_32 x3 = 0; in ComputeTileCoordFromPipeAndElemIdx()
813 UINT_32 x4 = 0; in ComputeTileCoordFromPipeAndElemIdx()
814 UINT_32 x5 = 0; in ComputeTileCoordFromPipeAndElemIdx()
815 UINT_32 x6 = 0; in ComputeTileCoordFromPipeAndElemIdx()
816 UINT_32 y3 = 0; in ComputeTileCoordFromPipeAndElemIdx()
817 UINT_32 y4 = 0; in ComputeTileCoordFromPipeAndElemIdx()
818 UINT_32 y5 = 0; in ComputeTileCoordFromPipeAndElemIdx()
819 UINT_32 y6 = 0; in ComputeTileCoordFromPipeAndElemIdx()
1051 UINT_32 SiLib::TileCoordToMaskElementIndex( in TileCoordToMaskElementIndex()
1052 UINT_32 tx, ///< [in] x coord, in Tiles in TileCoordToMaskElementIndex()
1053 UINT_32 ty, ///< [in] y coord, in Tiles in TileCoordToMaskElementIndex()
1055 UINT_32* macroShift, ///< [out] macro shift in TileCoordToMaskElementIndex()
1056 UINT_32* elemIdxBits ///< [out] tile offset bits in TileCoordToMaskElementIndex()
1059 UINT_32 elemIdx = 0; in TileCoordToMaskElementIndex()
1060 UINT_32 elemIdx0, elemIdx1, elemIdx2; in TileCoordToMaskElementIndex()
1061 UINT_32 tx0, tx1; in TileCoordToMaskElementIndex()
1062 UINT_32 ty0, ty1; in TileCoordToMaskElementIndex()
1192 UINT_32* pMacroWidth, ///< [out] macro tile width in HwlComputeTileDataWidthAndHeightLinear()
1193 UINT_32* pMacroHeight, ///< [out] macro tile height in HwlComputeTileDataWidthAndHeightLinear()
1194 UINT_32 bpp, ///< [in] bits per pixel in HwlComputeTileDataWidthAndHeightLinear()
1199 UINT_32 macroWidth; in HwlComputeTileDataWidthAndHeightLinear()
1200 UINT_32 macroHeight; in HwlComputeTileDataWidthAndHeightLinear()
1235 UINT_32 pitch, ///< [in] pitch in HwlComputeHtileBytes()
1236 UINT_32 height, ///< [in] height in HwlComputeHtileBytes()
1237 UINT_32 bpp, ///< [in] bits per pixel in HwlComputeHtileBytes()
1239 UINT_32 numSlices, ///< [in] number of slices in HwlComputeHtileBytes()
1241 UINT_32 baseAlign ///< [in] base alignments in HwlComputeHtileBytes()
1258 UINT_32 pitch, ///< [in] pitch in HwlComputeXmaskAddrFromCoord()
1259 UINT_32 height, ///< [in] height in HwlComputeXmaskAddrFromCoord()
1260 UINT_32 x, ///< [in] x coord in HwlComputeXmaskAddrFromCoord()
1261 UINT_32 y, ///< [in] y coord in HwlComputeXmaskAddrFromCoord()
1262 UINT_32 slice, ///< [in] slice/depth index in HwlComputeXmaskAddrFromCoord()
1263 UINT_32 numSlices, ///< [in] number of slices in HwlComputeXmaskAddrFromCoord()
1264 UINT_32 factor, ///< [in] factor that indicates cmask(2) or htile(1) in HwlComputeXmaskAddrFromCoord()
1269 UINT_32* pBitPosition ///< [out] bit position inside a byte in HwlComputeXmaskAddrFromCoord()
1272 UINT_32 tx = x / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
1273 UINT_32 ty = y / MicroTileHeight; in HwlComputeXmaskAddrFromCoord()
1274 UINT_32 newPitch; in HwlComputeXmaskAddrFromCoord()
1275 UINT_32 newHeight; in HwlComputeXmaskAddrFromCoord()
1277 UINT_32 macroWidth; in HwlComputeXmaskAddrFromCoord()
1278 UINT_32 macroHeight; in HwlComputeXmaskAddrFromCoord()
1280 UINT_32 pBaseAlign; in HwlComputeXmaskAddrFromCoord()
1281 UINT_32 tileNumPerPipe; in HwlComputeXmaskAddrFromCoord()
1282 UINT_32 elemBits; in HwlComputeXmaskAddrFromCoord()
1327 const UINT_32 pitchInTile = newPitch / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
1328 const UINT_32 heightInTile = newHeight / MicroTileWidth; in HwlComputeXmaskAddrFromCoord()
1331 UINT_32 microX; in HwlComputeXmaskAddrFromCoord()
1332 UINT_32 microY; in HwlComputeXmaskAddrFromCoord()
1334 UINT_32 microShift; in HwlComputeXmaskAddrFromCoord()
1336 UINT_32 elemIdxBits; in HwlComputeXmaskAddrFromCoord()
1337 UINT_32 elemIdx = in HwlComputeXmaskAddrFromCoord()
1340 UINT_32 numPipes = HwlGetPipes(pTileInfo); in HwlComputeXmaskAddrFromCoord()
1350 UINT_32 sliceBits = pitchInTile * heightInTile; in HwlComputeXmaskAddrFromCoord()
1361 const UINT_32 macroWidthInTile = macroWidth / MicroTileWidth; // Now in unit of Tiles in HwlComputeXmaskAddrFromCoord()
1362 const UINT_32 macroHeightInTile = macroHeight / MicroTileHeight; in HwlComputeXmaskAddrFromCoord()
1363 const UINT_32 pitchInCL = pitchInTile / macroWidthInTile; in HwlComputeXmaskAddrFromCoord()
1364 const UINT_32 heightInCL = heightInTile / macroHeightInTile; in HwlComputeXmaskAddrFromCoord()
1366 const UINT_32 macroX = x / macroWidth; in HwlComputeXmaskAddrFromCoord()
1367 const UINT_32 macroY = y / macroHeight; in HwlComputeXmaskAddrFromCoord()
1368 const UINT_32 macroNumber = macroX + macroY * pitchInCL + slice * pitchInCL * heightInCL; in HwlComputeXmaskAddrFromCoord()
1392 UINT_32 pipe = ComputePipeFromCoord(x, y, 0, ADDR_TM_2D_TILED_THIN1, 0, FALSE, pTileInfo); in HwlComputeXmaskAddrFromCoord()
1396 *pBitPosition = static_cast<UINT_32>(addrInBits) % 8; in HwlComputeXmaskAddrFromCoord()
1418 UINT_32 bitPosition, ///< [in] bitPosition in a byte in HwlComputeXmaskCoordFromAddr()
1419 UINT_32 pitch, ///< [in] pitch in HwlComputeXmaskCoordFromAddr()
1420 UINT_32 height, ///< [in] height in HwlComputeXmaskCoordFromAddr()
1421 UINT_32 numSlices, ///< [in] number of slices in HwlComputeXmaskCoordFromAddr()
1422 UINT_32 factor, ///< [in] factor that indicates cmask or htile in HwlComputeXmaskCoordFromAddr()
1427 UINT_32* pX, ///< [out] x coord in HwlComputeXmaskCoordFromAddr()
1428 UINT_32* pY, ///< [out] y coord in HwlComputeXmaskCoordFromAddr()
1429 UINT_32* pSlice ///< [out] slice index in HwlComputeXmaskCoordFromAddr()
1432 UINT_32 newPitch; in HwlComputeXmaskCoordFromAddr()
1433 UINT_32 newHeight; in HwlComputeXmaskCoordFromAddr()
1435 UINT_32 clWidth; in HwlComputeXmaskCoordFromAddr()
1436 UINT_32 clHeight; in HwlComputeXmaskCoordFromAddr()
1437 UINT_32 tileNumPerPipe; in HwlComputeXmaskCoordFromAddr()
1484 const UINT_32 pitchInTile = newPitch / MicroTileWidth; in HwlComputeXmaskCoordFromAddr()
1485 const UINT_32 heightInTile = newHeight / MicroTileWidth; in HwlComputeXmaskCoordFromAddr()
1486 const UINT_32 pitchInMacroTile = pitchInTile / 4; in HwlComputeXmaskCoordFromAddr()
1487 UINT_32 macroShift; in HwlComputeXmaskCoordFromAddr()
1488 UINT_32 elemIdxBits; in HwlComputeXmaskCoordFromAddr()
1492 const UINT_32 numPipes = HwlGetPipes(pTileInfo); in HwlComputeXmaskCoordFromAddr()
1493 const UINT_32 pipe = (UINT_32)((addr / m_pipeInterleaveBytes) % numPipes); in HwlComputeXmaskCoordFromAddr()
1498 UINT_32 tileIndex; in HwlComputeXmaskCoordFromAddr()
1501 tileIndex = (UINT_32)(localOffset * 2 + (bitPosition != 0)); in HwlComputeXmaskCoordFromAddr()
1505 tileIndex = (UINT_32)(localOffset / 4); in HwlComputeXmaskCoordFromAddr()
1508 UINT_32 macroOffset; in HwlComputeXmaskCoordFromAddr()
1511 UINT_32 sliceSizeInTile = pitchInTile * heightInTile; in HwlComputeXmaskCoordFromAddr()
1516 sliceSizeInTile = PowTwoAlign(sliceSizeInTile, static_cast<UINT_32>(sliceBytes) / 64); in HwlComputeXmaskCoordFromAddr()
1523 const UINT_32 clWidthInTile = clWidth / MicroTileWidth; // Now in unit of Tiles in HwlComputeXmaskCoordFromAddr()
1524 const UINT_32 clHeightInTile = clHeight / MicroTileHeight; in HwlComputeXmaskCoordFromAddr()
1525 const UINT_32 pitchInCL = pitchInTile / clWidthInTile; in HwlComputeXmaskCoordFromAddr()
1526 const UINT_32 heightInCL = heightInTile / clHeightInTile; in HwlComputeXmaskCoordFromAddr()
1527 const UINT_32 clIndex = tileIndex / tileNumPerPipe; in HwlComputeXmaskCoordFromAddr()
1529 UINT_32 clX = clIndex % pitchInCL; in HwlComputeXmaskCoordFromAddr()
1530 UINT_32 clY = (clIndex % (heightInCL * pitchInCL)) / pitchInCL; in HwlComputeXmaskCoordFromAddr()
1539 UINT_32 elemIdx = macroOffset & 7; in HwlComputeXmaskCoordFromAddr()
1546 UINT_32 pipebit1 = _BIT(pipe,1); in HwlComputeXmaskCoordFromAddr()
1547 UINT_32 pipebit2 = _BIT(pipe,2); in HwlComputeXmaskCoordFromAddr()
1548 UINT_32 pipebit3 = _BIT(pipe,3); in HwlComputeXmaskCoordFromAddr()
1581 UINT_32 macroX; in HwlComputeXmaskCoordFromAddr()
1582 UINT_32 macroY; in HwlComputeXmaskCoordFromAddr()
1591 const UINT_32 clWidthInMacroTile = clWidth / (MicroTileWidth * 4); in HwlComputeXmaskCoordFromAddr()
1599 UINT_32 microX; in HwlComputeXmaskCoordFromAddr()
1600 UINT_32 microY; in HwlComputeXmaskCoordFromAddr()
1617 UINT_32 SiLib::HwlGetPitchAlignmentLinear( in HwlGetPitchAlignmentLinear()
1618 UINT_32 bpp, ///< [in] bits per pixel in HwlGetPitchAlignmentLinear()
1622 UINT_32 pitchAlign; in HwlGetPitchAlignmentLinear()
1651 UINT_32 bpp, ///< [in] bits per pixel in HwlGetSizeAdjustmentLinear()
1652 UINT_32 numSamples, ///< [in] number of samples in HwlGetSizeAdjustmentLinear()
1653 UINT_32 baseAlign, ///< [in] base alignment in HwlGetSizeAdjustmentLinear()
1654 UINT_32 pitchAlign, ///< [in] pitch alignment in HwlGetSizeAdjustmentLinear()
1655 UINT_32* pPitch, ///< [in,out] pointer to pitch in HwlGetSizeAdjustmentLinear()
1656 UINT_32* pHeight, ///< [in,out] pointer to height in HwlGetSizeAdjustmentLinear()
1657 UINT_32* pHeightAlign ///< [in,out] pointer to height align in HwlGetSizeAdjustmentLinear()
1667 UINT_32 pitch = *pPitch; in HwlGetSizeAdjustmentLinear()
1668 UINT_32 height = *pHeight; in HwlGetSizeAdjustmentLinear()
1670 UINT_32 pixelsPerPipeInterleave = m_pipeInterleaveBytes / BITS_TO_BYTES(bpp); in HwlGetSizeAdjustmentLinear()
1671 UINT_32 sliceAlignInPixel = pixelsPerPipeInterleave < 64 ? 64 : pixelsPerPipeInterleave; in HwlGetSizeAdjustmentLinear()
1684 UINT_32 heightAlign = 1; in HwlGetSizeAdjustmentLinear()
1710 UINT_32 SiLib::HwlPreHandleBaseLvl3xPitch( in HwlPreHandleBaseLvl3xPitch()
1712 UINT_32 expPitch ///< [in] pitch in HwlPreHandleBaseLvl3xPitch()
1742 UINT_32 SiLib::HwlPostHandleBaseLvl3xPitch( in HwlPostHandleBaseLvl3xPitch()
1744 UINT_32 expPitch ///< [in] pitch in HwlPostHandleBaseLvl3xPitch()
1771 UINT_32 SiLib::HwlGetPitchAlignmentMicroTiled( in HwlGetPitchAlignmentMicroTiled()
1773 UINT_32 bpp, ///< [in] bits per pixel in HwlGetPitchAlignmentMicroTiled()
1775 UINT_32 numSamples ///< [in] number of samples in HwlGetPitchAlignmentMicroTiled()
1778 UINT_32 pitchAlign; in HwlGetPitchAlignmentMicroTiled()
1804 UINT_32 thickness, ///< [in] thickness in HwlGetSizeAdjustmentMicroTiled()
1805 UINT_32 bpp, ///< [in] bits per pixel in HwlGetSizeAdjustmentMicroTiled()
1807 UINT_32 numSamples, ///< [in] number of samples in HwlGetSizeAdjustmentMicroTiled()
1808 UINT_32 baseAlign, ///< [in] base alignment in HwlGetSizeAdjustmentMicroTiled()
1809 UINT_32 pitchAlign, ///< [in] pitch alignment in HwlGetSizeAdjustmentMicroTiled()
1810 UINT_32* pPitch, ///< [in,out] pointer to pitch in HwlGetSizeAdjustmentMicroTiled()
1811 UINT_32* pHeight ///< [in,out] pointer to height in HwlGetSizeAdjustmentMicroTiled()
1817 UINT_32 pitch = *pPitch; in HwlGetSizeAdjustmentMicroTiled()
1818 UINT_32 height = *pHeight; in HwlGetSizeAdjustmentMicroTiled()
1883 UINT_32 uChipFamily, ///< [in] chip family defined in atiih.h in HwlConvertChipFamily()
1884 UINT_32 uChipRevision) ///< [in] chip revision defined in "asic_family"_id.h in HwlConvertChipFamily()
1917 UINT_32 bpp, ///< [in] Bits per pixel in HwlSetupTileInfo()
1918 UINT_32 pitch, ///< [in] Pitch in pixels in HwlSetupTileInfo()
1919 UINT_32 height, ///< [in] Height in pixels in HwlSetupTileInfo()
1920 UINT_32 numSamples, ///< [in] Number of samples in HwlSetupTileInfo()
1927 UINT_32 thickness = Thickness(tileMode); in HwlSetupTileInfo()
2108 UINT_32 fmaskPixelSize = bpp * numSamples; in HwlSetupTileInfo()
2421 UINT_32 SiLib::HwlComputeXmaskCoordYFrom8Pipe( in HwlComputeXmaskCoordYFrom8Pipe()
2422 UINT_32 pipe, ///< [in] pipe id in HwlComputeXmaskCoordYFrom8Pipe()
2423 UINT_32 x ///< [in] tile coord x, which is original x coord / 8 in HwlComputeXmaskCoordYFrom8Pipe()
2445 UINT_32* pX, ///< [in,out] x coordinate in HwlComputeSurfaceCoord2DFromBankPipe()
2446 UINT_32* pY, ///< [in,out] y coordinate in HwlComputeSurfaceCoord2DFromBankPipe()
2447 UINT_32 slice, ///< [in] slice index in HwlComputeSurfaceCoord2DFromBankPipe()
2448 UINT_32 bank, ///< [in] bank number in HwlComputeSurfaceCoord2DFromBankPipe()
2449 UINT_32 pipe, ///< [in] pipe number in HwlComputeSurfaceCoord2DFromBankPipe()
2450 UINT_32 bankSwizzle,///< [in] bank swizzle in HwlComputeSurfaceCoord2DFromBankPipe()
2451 UINT_32 pipeSwizzle,///< [in] pipe swizzle in HwlComputeSurfaceCoord2DFromBankPipe()
2452 UINT_32 tileSlices, ///< [in] slices in a micro tile in HwlComputeSurfaceCoord2DFromBankPipe()
2457 UINT_32 xBit; in HwlComputeSurfaceCoord2DFromBankPipe()
2458 UINT_32 yBit; in HwlComputeSurfaceCoord2DFromBankPipe()
2459 UINT_32 yBit3 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2460 UINT_32 yBit4 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2461 UINT_32 yBit5 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2462 UINT_32 yBit6 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2464 UINT_32 xBit3 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2465 UINT_32 xBit4 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2466 UINT_32 xBit5 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2468 UINT_32 numPipes = GetPipePerSurf(pTileInfo->pipeConfig); in HwlComputeSurfaceCoord2DFromBankPipe()
2485 UINT_32 yBitTemp = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2491 UINT_32 yBitToCheck = QLog2(pTileInfo->banks) - 1; in HwlComputeSurfaceCoord2DFromBankPipe()
2507 UINT_32 xTile; //x in micro tile in HwlComputeSurfaceCoord2DFromBankPipe()
2508 UINT_32 x3 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2509 UINT_32 x4 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2510 UINT_32 x5 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2511 UINT_32 x6 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2512 UINT_32 y = *pY; in HwlComputeSurfaceCoord2DFromBankPipe()
2514 UINT_32 pipeBit0 = _BIT(pipe,0); in HwlComputeSurfaceCoord2DFromBankPipe()
2515 UINT_32 pipeBit1 = _BIT(pipe,1); in HwlComputeSurfaceCoord2DFromBankPipe()
2516 UINT_32 pipeBit2 = _BIT(pipe,2); in HwlComputeSurfaceCoord2DFromBankPipe()
2518 UINT_32 y3 = _BIT(y, 3); in HwlComputeSurfaceCoord2DFromBankPipe()
2519 UINT_32 y4 = _BIT(y, 4); in HwlComputeSurfaceCoord2DFromBankPipe()
2520 UINT_32 y5 = _BIT(y, 5); in HwlComputeSurfaceCoord2DFromBankPipe()
2521 UINT_32 y6 = _BIT(y, 6); in HwlComputeSurfaceCoord2DFromBankPipe()
2524 UINT_32 bankBit00 = _BIT(bank,0); in HwlComputeSurfaceCoord2DFromBankPipe()
2525 UINT_32 bankBit0 = 0; in HwlComputeSurfaceCoord2DFromBankPipe()
2608 UINT_32 SiLib::HwlPreAdjustBank( in HwlPreAdjustBank()
2609 UINT_32 tileX, ///< [in] x coordinate in unit of tile in HwlPreAdjustBank()
2610 UINT_32 bank, ///< [in] bank in HwlPreAdjustBank()
2617 UINT_32 bankBit0 = _BIT(bank, 0); in HwlPreAdjustBank()
2618 UINT_32 x4 = _BIT(tileX, 1); in HwlPreAdjustBank()
2619 UINT_32 x5 = _BIT(tileX, 2); in HwlPreAdjustBank()
2649 UINT_32 tileIndex = static_cast<UINT_32>(pOut->tileIndex); in HwlComputeSurfaceInfo()
2656 static const UINT_32 SiUncompressDepthTileIndex = 3; in HwlComputeSurfaceInfo()
2752 UINT_32 nextPitch; in HwlCheckLastMacroTiledLvl()
2753 UINT_32 nextHeight; in HwlCheckLastMacroTiledLvl()
2754 UINT_32 nextSlices; in HwlCheckLastMacroTiledLvl()
2820 UINT_32 numSlices, ///< current number of slices in HwlDegradeThickTileMode()
2821 UINT_32* pBytesPerTile ///< [in,out] pointer to bytes per slice in HwlDegradeThickTileMode()
2863 UINT_32 index ///< [in] Tile index in GetTileSetting()
2960 UINT_32 bpp, ///< Bits per pixel in HwlSetupTileCfg()
2995 else if (static_cast<UINT_32>(index) >= m_noOfEntries) in HwlSetupTileCfg()
3041 UINT_32 regValue, ///< [in] GB_TILE_MODE register in ReadGbTileMode()
3056 UINT_32 regArrayMode = gbTileMode.f.array_mode; in ReadGbTileMode()
3081 const UINT_32* pCfg, ///< [in] Pointer to table of tile configs in InitTileSettingTable()
3082 UINT_32 noOfEntries ///< [in] Numbe of entries in the table above in InitTileSettingTable()
3102 for (UINT_32 i = 0; i < m_noOfEntries; i++) in InitTileSettingTable()
3190 UINT_32 SiLib::HwlComputeFmaskBits( in HwlComputeFmaskBits()
3192 UINT_32* pNumSamples in HwlComputeFmaskBits()
3195 UINT_32 numSamples = pIn->numSamples; in HwlComputeFmaskBits()
3196 UINT_32 numFrags = GetNumFragments(numSamples, pIn->numFrags); in HwlComputeFmaskBits()
3197 UINT_32 bpp; in HwlComputeFmaskBits()
3304 UINT_32 thickness = Thickness(tileMode); in HwlOptimizeTileMode()
3483 const UINT_32 pipes = HwlGetPipes(&m_tileTable[0].info); in HwlGetMaxAlignments()
3488 for (UINT_32 i = 0; i < m_noOfEntries; i++) in HwlGetMaxAlignments()
3494 UINT_32 tileSize = Min(m_tileTable[i].info.tileSplitBytes, in HwlGetMaxAlignments()
3529 UINT_32 bpp, ///< [in] bits per pixel in HwlComputeSurfaceAlignmentsMacroTiled()
3531 UINT_32 mipLevel, ///< [in] mip level in HwlComputeSurfaceAlignmentsMacroTiled()
3532 UINT_32 numSamples, ///< [in] number of samples in HwlComputeSurfaceAlignmentsMacroTiled()
3538 UINT_32 macroTileSize = pOut->blockWidth * pOut->blockHeight * numSamples * bpp / 8; in HwlComputeSurfaceAlignmentsMacroTiled()
3542 UINT_32 numMacroTiles = PrtTileSize / macroTileSize; in HwlComputeSurfaceAlignmentsMacroTiled()
3577 for (UINT_32 log2ElementBytes = 0; log2ElementBytes < MaxNumElementBytes; log2ElementBytes++) in InitEquationTable()
3580 UINT_32 bpp = 1 << (log2ElementBytes + 3); in InitEquationTable()
3585 UINT_32 equationIndex = ADDR_INVALID_EQUATION_INDEX; in InitEquationTable()
3616 for (UINT_32 i = 0; i < m_numEquations; i++) in InitEquationTable()
3679 UINT_32 macroTileSize = in InitEquationTable()
3685 UINT_32 numMacroTiles = PrtTileSize / macroTileSize; in InitEquationTable()
3690 UINT_32 numBits = Log2(numMacroTiles); in InitEquationTable()
3692 UINT_32 xStart = Log2(m_blockWidth[equationIndex]) + in InitEquationTable()
3697 for (UINT_32 i = 0; i < numBits; i++) in InitEquationTable()
3726 for (UINT_32 log2ElemBytes = 0; log2ElemBytes < MaxNumElementBytes; log2ElemBytes++) in InitEquationTable()
3742 UINT_32 equationIndex = m_numEquations; in InitEquationTable()
3777 UINT_32 bpp, ///< Bits per pixel in IsEquationSupported()
3780 UINT_32 elementBytesLog2 ///< Log2 of element bytes in IsEquationSupported()
3808 UINT_32 thickness = Thickness(tileConfig.mode); in IsEquationSupported()