Lines Matching refs:UINT_32
76 UINT_32 width) ///< Width of bits in Mask()
103 UINT_32 msb, ///< Most signicant bit in GetBits()
104 UINT_32 lsb) ///< Least signicant bit in GetBits()
127 UINT_32 msb, ///< Most signicant bit in RemoveBits()
128 UINT_32 lsb) ///< Least signicant bit in RemoveBits()
153 UINT_32 msb, ///< Most signicant bit in InsertBits()
154 UINT_32 lsb) ///< Least signicant bit in InsertBits()
221 UINT_32 tileSizePerSample = BITS_TO_BYTES(pIn->bpp * MicroTileWidth * MicroTileHeight); in HwlComputeDccInfo()
222 UINT_32 samplesPerSplit = pIn->tileInfo.tileSplitBytes / tileSizePerSample; in HwlComputeDccInfo()
226 UINT_32 numSplits = pIn->numSamples / samplesPerSplit; in HwlComputeDccInfo()
227 UINT_32 fastClearBaseAlign = HwlGetPipes(&pIn->tileInfo) * m_pipeInterleaveBytes; in HwlComputeDccInfo()
300 UINT_32 numOfPipes = HwlGetPipes(pIn->pTileInfo); in HwlComputeCmaskAddrFromCoord()
301 UINT_32 numOfBanks = pIn->pTileInfo->banks; in HwlComputeCmaskAddrFromCoord()
303 UINT_32 elemBits = pIn->bpp; in HwlComputeCmaskAddrFromCoord()
304 UINT_32 blockByte = 64 * elemBits / 8; in HwlComputeCmaskAddrFromCoord()
344 UINT_32 numOfPipes = HwlGetPipes(pIn->pTileInfo); in HwlComputeHtileAddrFromCoord()
345 UINT_32 numOfBanks = pIn->pTileInfo->banks; in HwlComputeHtileAddrFromCoord()
347 UINT_32 elemBits = pIn->bpp; in HwlComputeHtileAddrFromCoord()
348 UINT_32 blockByte = 64 * elemBits / 8; in HwlComputeHtileAddrFromCoord()
378 UINT_32 uChipFamily, ///< [in] chip family defined in atiih.h in HwlConvertChipFamily()
379 UINT_32 uChipRevision) ///< [in] chip revision defined in "asic_family"_id.h in HwlConvertChipFamily()
593 UINT_32 bpp, ///< Bits per pixel in HwlSetupTileCfg()
615 else if (static_cast<UINT_32>(index) >= m_noOfEntries) in HwlSetupTileCfg()
630 UINT_32 tileSplit; in HwlSetupTileCfg()
642 UINT_32 thickness = Thickness(pCfgTable->mode); in HwlSetupTileCfg()
643 UINT_32 tileBytes1x = BITS_TO_BYTES(bpp * MicroTilePixels * thickness); in HwlSetupTileCfg()
645 UINT_32 sampleSplit = m_tileTable[index].info.tileSplitBytes; in HwlSetupTileCfg()
811 UINT_32 numSamples = pIn->numSamples; in HwlComputeFmaskInfo()
812 UINT_32 numFrags = pIn->numFrags == 0 ? numSamples : pIn->numFrags; in HwlComputeFmaskInfo()
814 UINT_32 bpp = QLog2(numFrags); in HwlComputeFmaskInfo()
907 UINT_32 numSlices, ///< [in] current number of slices in HwlDegradeThickTileMode()
908 UINT_32* pBytesPerTile ///< [in,out] pointer to bytes per slice in HwlDegradeThickTileMode()
942 UINT_32 thickness = Thickness(tileMode); in HwlOptimizeTileMode()
950 static const UINT_32 PrtTileBytes = 0x10000; in HwlOptimizeTileMode()
952 static const UINT_32 PrtThickTileIndex = 22; in HwlOptimizeTileMode()
961 UINT_32 macroTileBytes = ((pInOut->bpp) >> 3) * 64 * pInOut->numSamples * in HwlOptimizeTileMode()
1029 UINT_32 thickness = Thickness(tileMode); in HwlOverrideTileMode()
1248 UINT_32 bpp, ///< [in] Bits per pixel in HwlSetupTileInfo()
1249 UINT_32 pitch, ///< [in] Pitch in pixels in HwlSetupTileInfo()
1250 UINT_32 height, ///< [in] Height in pixels in HwlSetupTileInfo()
1251 UINT_32 numSamples, ///< [in] Number of samples in HwlSetupTileInfo()
1258 UINT_32 thickness = Thickness(tileMode); in HwlSetupTileInfo()
1313 UINT_32 tileSize = thickness * bpp * numSamples * 8; in HwlSetupTileInfo()
1482 static const UINT_32 PrtTileBytes = 0x10000; in HwlSetupTileInfo()
1487 UINT_32 macroTileBytes = (bpp >> 3) * 64 * numSamples * thickness * in HwlSetupTileInfo()
1522 UINT_32 tileSize = thickness * bpp * numSamples * 8; in HwlSetupTileInfo()
1531 UINT_32 numPipes = GetPipePerSurf(pTileInfo->pipeConfig); in HwlSetupTileInfo()
1579 UINT_32 regValue, ///< [in] GB_TILE_MODE register in ReadGbTileMode()
1598 UINT_32 regArrayMode = gbTileMode.f.array_mode; in ReadGbTileMode()
1655 const UINT_32* pCfg, ///< [in] Pointer to table of tile configs in InitTileSettingTable()
1656 UINT_32 noOfEntries ///< [in] Numbe of entries in the table above in InitTileSettingTable()
1676 for (UINT_32 i = 0; i < m_noOfEntries; i++) in InitTileSettingTable()
1722 UINT_32 regValue, ///< [in] GB_MACRO_TILE_MODE register in ReadGbMacroTileCfg()
1746 const UINT_32* pCfg, ///< [in] Pointer to table of tile configs in InitMacroTileCfgTable()
1747 UINT_32 noOfMacroEntries ///< [in] Numbe of entries in the table above in InitMacroTileCfgTable()
1767 for (UINT_32 i = 0; i < m_noOfMacroEntries; i++) in InitMacroTileCfgTable()
1795 UINT_32 bpp, ///< [in] Bit per pixel in HwlComputeMacroModeIndex()
1796 UINT_32 numSamples, ///< [in] Number of samples in HwlComputeMacroModeIndex()
1806 UINT_32 thickness = Thickness(tileMode); in HwlComputeMacroModeIndex()
1815 UINT_32 tileBytes1x = BITS_TO_BYTES(bpp * MicroTilePixels * thickness); in HwlComputeMacroModeIndex()
1816 UINT_32 tileSplit; in HwlComputeMacroModeIndex()
1826 UINT_32 sampleSplit = m_tileTable[tileIndex].info.tileSplitBytes; in HwlComputeMacroModeIndex()
1827 UINT_32 colorTileSplit = Max(256u, sampleSplit * tileBytes1x); in HwlComputeMacroModeIndex()
1832 UINT_32 tileSplitC = Min(m_rowSize, tileSplit); in HwlComputeMacroModeIndex()
1833 UINT_32 tileBytes; in HwlComputeMacroModeIndex()
1891 UINT_32* pMacroWidth, ///< [out] macro tile width in HwlComputeTileDataWidthAndHeightLinear()
1892 UINT_32* pMacroHeight, ///< [out] macro tile height in HwlComputeTileDataWidthAndHeightLinear()
1893 UINT_32 bpp, ///< [in] bits per pixel in HwlComputeTileDataWidthAndHeightLinear()
1899 UINT_32 numTiles; in HwlComputeTileDataWidthAndHeightLinear()
1948 UINT_32 metadataBitSize, in HwlComputeMetadataNibbleAddress()
1949 UINT_32 elementBitSize, in HwlComputeMetadataNibbleAddress()
1950 UINT_32 blockByteSize, in HwlComputeMetadataNibbleAddress()
1951 UINT_32 pipeInterleaveBytes, in HwlComputeMetadataNibbleAddress()
1952 UINT_32 numOfPipes, in HwlComputeMetadataNibbleAddress()
1953 UINT_32 numOfBanks, in HwlComputeMetadataNibbleAddress()
1954 UINT_32 numOfSamplesPerSplit) const in HwlComputeMetadataNibbleAddress()
1959 UINT_32 pipeInterleaveBits = Log2(pipeInterleaveBytes); in HwlComputeMetadataNibbleAddress()
1960 UINT_32 pipeBits = Log2(numOfPipes); in HwlComputeMetadataNibbleAddress()
1961 UINT_32 bankBits = Log2(numOfBanks); in HwlComputeMetadataNibbleAddress()
1966 UINT_32 dataMacrotileBits = pipeInterleaveBits + pipeBits + bankBits; in HwlComputeMetadataNibbleAddress()
1967 UINT_32 metadataMacrotileBits = pipeInterleaveBits + pipeBits + bankBits; in HwlComputeMetadataNibbleAddress()
1989 UINT_32 lsb = pipeBits + pipeInterleaveBits; in HwlComputeMetadataNibbleAddress()
1990 UINT_32 msb = bankBits - 1 + lsb; in HwlComputeMetadataNibbleAddress()
2013 UINT_32 tileSize = 8 * 8 * elementBitSize/8 * numOfSamplesPerSplit; in HwlComputeMetadataNibbleAddress()
2014 UINT_32 blocksInTile = tileSize / blockByteSize; in HwlComputeMetadataNibbleAddress()
2053 UINT_32 bpp, ///< [in] bits per pixel in HwlComputeSurfaceAlignmentsMacroTiled()
2055 UINT_32 mipLevel, ///< [in] mip level in HwlComputeSurfaceAlignmentsMacroTiled()
2056 UINT_32 numSamples, ///< [in] number of samples in HwlComputeSurfaceAlignmentsMacroTiled()
2087 UINT_32 bpp, ///< [in] bits per pixel in HwlPadDimensions()
2089 UINT_32 numSamples, ///< [in] number of samples in HwlPadDimensions()
2091 UINT_32 mipLevel, ///< [in] mip level in HwlPadDimensions()
2092 UINT_32* pPitch, ///< [in,out] pitch in pixels in HwlPadDimensions()
2093 UINT_32* pPitchAlign, ///< [in,out] pitch alignment in HwlPadDimensions()
2094 UINT_32 height, ///< [in] height in pixels in HwlPadDimensions()
2095 UINT_32 heightAlign ///< [in] height alignment in HwlPadDimensions()
2104 UINT_32 tileSizePerSample = BITS_TO_BYTES(bpp * MicroTileWidth * MicroTileHeight); in HwlPadDimensions()
2105 UINT_32 samplesPerSplit = pTileInfo->tileSplitBytes / tileSizePerSample; in HwlPadDimensions()
2109 UINT_32 dccFastClearByteAlign = HwlGetPipes(pTileInfo) * m_pipeInterleaveBytes * 256; in HwlPadDimensions()
2110 UINT_32 bytesPerSplit = BITS_TO_BYTES((*pPitch) * height * bpp * samplesPerSplit); in HwlPadDimensions()
2116 UINT_32 dccFastClearPixelAlign = dccFastClearByteAlign / in HwlPadDimensions()
2119 UINT_32 macroTilePixelAlign = (*pPitchAlign) * heightAlign; in HwlPadDimensions()
2124 UINT_32 dccFastClearPitchAlignInMacroTile = in HwlPadDimensions()
2126 UINT_32 heightInMacroTile = height / heightAlign; in HwlPadDimensions()
2137 UINT_32 dccFastClearPitchAlignInPixels = in HwlPadDimensions()
2172 const UINT_32 pipes = HwlGetPipes(&m_tileTable[0].info); in HwlGetMaxAlignments()
2177 for (UINT_32 i = 0; i < m_noOfMacroEntries; i++) in HwlGetMaxAlignments()
2180 UINT_32 tileSize = m_macroTileTable[i].tileSplitBytes; in HwlGetMaxAlignments()
2270 UINT_32 bpp, ///< [in] Bits per pixel in CheckTcCompatibility()
2293 UINT_32 thickness = Thickness(tileMode); in CheckTcCompatibility()
2295 ADDR_ASSERT(static_cast<UINT_32>(tileIndex) < TileTableSize); in CheckTcCompatibility()
2297 UINT_32 sampleSplit = m_tileTable[tileIndex].info.tileSplitBytes; in CheckTcCompatibility()
2298 UINT_32 tileBytes1x = BITS_TO_BYTES(bpp * MicroTilePixels * thickness); in CheckTcCompatibility()
2299 UINT_32 colorTileSplit = Max(256u, sampleSplit * tileBytes1x); in CheckTcCompatibility()