Lines Matching refs:banks
535 UINT_32 checkMask = pOut->pTileInfo->banks - 1; in ComputeSurfaceInfoMacroTiled()
877 macroTileHeight = MicroTileHeight * pTileInfo->bankHeight * pTileInfo->banks / in ComputeSurfaceAlignmentsMacroTiled()
886 pTileInfo->bankWidth * pTileInfo->banks * pTileInfo->bankHeight * tileSize; in ComputeSurfaceAlignmentsMacroTiled()
926 switch (pTileInfo->banks) in SanityCheckMacroTiled()
986 if (pTileInfo->banks < pTileInfo->macroAspectRatio) in SanityCheckMacroTiled()
1009 ADDR_ASSERT(numPipes * pTileInfo->banks >= 4); in SanityCheckMacroTiled()
1480 UINT_32 numBankBits = Log2(pTileInfo->banks); in ComputeSurfaceAddrFromCoordMacroTiled()
1574 (MicroTileHeight * pTileInfo->bankHeight * pTileInfo->banks) / pTileInfo->macroAspectRatio; in ComputeSurfaceAddrFromCoordMacroTiled()
1582 (numPipes * pTileInfo->banks); in ComputeSurfaceAddrFromCoordMacroTiled()
2191 UINT_32 banks = pTileInfo->banks; in ComputeSurfaceCoordFromAddrMacroTiled() local
2202 (((addrBits / groupBits / pipes) / bankInterleave) / banks) * groupBits * bankInterleave; in ComputeSurfaceCoordFromAddrMacroTiled()
2231 UINT_32 macroHeight = pTileInfo->bankHeight * banks / pTileInfo->macroAspectRatio; in ComputeSurfaceCoordFromAddrMacroTiled()
2235 macroTileBits = (macroWidth * macroHeight) * tileBits / (banks * pipes); in ComputeSurfaceCoordFromAddrMacroTiled()
2284 bank = ComputeBankFromAddr(addr, banks, pipes); in ComputeSurfaceCoordFromAddrMacroTiled()
2338 pTileInfo->banks, numPipes); in ComputeSurfaceCoord2DFromBankPipe()
2355 tileSplitRotation = ((pTileInfo->banks / 2) + 1); in ComputeSurfaceCoord2DFromBankPipe()
2368 bank %= pTileInfo->banks; in ComputeSurfaceCoord2DFromBankPipe()
2374 bank %= pTileInfo->banks; in ComputeSurfaceCoord2DFromBankPipe()
2380 switch (pTileInfo->banks) in ComputeSurfaceCoord2DFromBankPipe()
2407 switch (pTileInfo->banks) in ComputeSurfaceCoord2DFromBankPipe()
2433 switch (pTileInfo->banks) in ComputeSurfaceCoord2DFromBankPipe()
2456 switch (pTileInfo->banks) in ComputeSurfaceCoord2DFromBankPipe()
2569 UINT_32 banks = pTileInfo ? pTileInfo->banks : 2; in HwlComputeBaseSwizzle() local
2573 if (pIn->option.reduceBankBit && banks > 2) in HwlComputeBaseSwizzle()
2575 banks >>= 1; in HwlComputeBaseSwizzle()
2578 switch (banks) in HwlComputeBaseSwizzle()
2600 bankSwizzle = pIn->surfIndex & (banks - 1); in HwlComputeBaseSwizzle()
2604 bankSwizzle = bankRotationArray[hwNumBanks][pIn->surfIndex & (banks - 1)]; in HwlComputeBaseSwizzle()
2637 UINT_32 bankBits = QLog2(pTileInfo->banks); in ExtractBankPipeSwizzle()
2703 UINT_32 numBanks = pTileInfo->banks; in ComputeSliceTileSwizzle()
2807 UINT_32 numBanks = pTileInfo->banks; in ComputeBankFromCoord()
3949 if ((pTileInfo->banks != 0) || in IsTileInfoAllZero()
3981 if (pLeft->banks == pRight->banks && in HwlTileInfoEqual()
4016 switch (pTileInfoIn->banks) in HwlConvertTileInfoToHW()
4019 pTileInfoOut->banks = 0; in HwlConvertTileInfoToHW()
4022 pTileInfoOut->banks = 1; in HwlConvertTileInfoToHW()
4025 pTileInfoOut->banks = 2; in HwlConvertTileInfoToHW()
4028 pTileInfoOut->banks = 3; in HwlConvertTileInfoToHW()
4033 pTileInfoOut->banks = 0; in HwlConvertTileInfoToHW()
4132 switch (pTileInfoIn->banks) in HwlConvertTileInfoToHW()
4135 pTileInfoOut->banks = 2; in HwlConvertTileInfoToHW()
4138 pTileInfoOut->banks = 4; in HwlConvertTileInfoToHW()
4141 pTileInfoOut->banks = 8; in HwlConvertTileInfoToHW()
4144 pTileInfoOut->banks = 16; in HwlConvertTileInfoToHW()
4149 pTileInfoOut->banks = 2; in HwlConvertTileInfoToHW()
4326 ADDR_ASSERT(tileInfo.banks == pIn->pTileInfo->banks); in HwlComputeSurfaceInfo()
4418 if (pIn->pTileInfo && (pIn->pTileInfo->banks > 0)) in HwlComputeSliceTileSwizzle()
4480 baseAlign *= pTileInfo->banks; in HwlComputeHtileBaseAlign()