Lines Matching refs:tileMode
91 AddrTileMode tileMode = pIn->tileMode; in DispatchComputeSurfaceInfo() local
107 tileMode = DegradeLargeThickTile(tileMode, bpp); in DispatchComputeSurfaceInfo()
144 HwlSetupTileInfo(tileMode, in DispatchComputeSurfaceInfo()
169 switch (tileMode) in DispatchComputeSurfaceInfo()
178 valid = ComputeSurfaceInfoMicroTiled(pIn, pOut, padDims, tileMode); in DispatchComputeSurfaceInfo()
193 valid = ComputeSurfaceInfoMacroTiled(pIn, pOut, padDims, tileMode); in DispatchComputeSurfaceInfo()
236 ComputeSurfaceAlignmentsLinear(pIn->tileMode, in ComputeSurfaceInfoLinear()
243 if ((pIn->tileMode == ADDR_TM_LINEAR_GENERAL) && pIn->flags.color && (pIn->height > 1)) in ComputeSurfaceInfoLinear()
260 PadDimensions(pIn->tileMode, in ComputeSurfaceInfoLinear()
279 logicalSliceSize = HwlGetSizeAdjustmentLinear(pIn->tileMode, in ComputeSurfaceInfoLinear()
333 pOut->tileMode = pIn->tileMode; in ComputeSurfaceInfoLinear()
442 pOut->tileMode = expTileMode; in ComputeSurfaceInfoMicroTiled()
641 pOut->tileMode = expTileMode; in ComputeSurfaceInfoMacroTiled()
663 AddrTileMode tileMode, ///< [in] tile mode in ComputeSurfaceAlignmentsLinear() argument
673 switch (tileMode) in ComputeSurfaceAlignmentsLinear()
719 AddrTileMode tileMode, ///< [in] tile mode in ComputeSurfaceAlignmentsMicroTiled() argument
736 *pPitchAlign = HwlGetPitchAlignmentMicroTiled(tileMode, bpp, flags, numSamples); in ComputeSurfaceAlignmentsMicroTiled()
872 AddrTileMode tileMode, ///< [in] tile mode in ComputeSurfaceAlignmentsMacroTiled() argument
893 UINT_32 thickness = Thickness(tileMode); in ComputeSurfaceAlignmentsMacroTiled()
959 HwlComputeSurfaceAlignmentsMacroTiled(tileMode, bpp, flags, mipLevel, numSamples, pOut); in ComputeSurfaceAlignmentsMacroTiled()
1183 ADDR_ASSERT(IsMacroTiled(pIn->tileMode)); in HwlGetAlignmentInfoMacroTiled()
1198 HwlSetupTileInfo(pIn->tileMode, in HwlGetAlignmentInfoMacroTiled()
1209 valid = ComputeSurfaceAlignmentsMacroTiled(pIn->tileMode, in HwlGetAlignmentInfoMacroTiled()
1325 AddrTileMode tileMode = pIn->tileMode; in DispatchComputeSurfaceAddrFromCoord() local
1351 if (IsLinear(pIn->tileMode) == FALSE) in DispatchComputeSurfaceAddrFromCoord()
1353 if (bpp >= 128 || Thickness(tileMode) > 1) in DispatchComputeSurfaceAddrFromCoord()
1360 switch (tileMode) in DispatchComputeSurfaceAddrFromCoord()
1384 tileMode, in DispatchComputeSurfaceAddrFromCoord()
1423 tileMode, in DispatchComputeSurfaceAddrFromCoord()
1453 AddrTileMode tileMode, ///< [in] tile mode in ComputeMacroTileEquation() argument
1462 retCode = ComputeMicroTileEquation(log2BytesPP, tileMode, microTileType, pEquation); in ComputeMacroTileEquation()
1492 if (IsPrtNoRotationTileMode(tileMode)) in ComputeMacroTileEquation()
1592 AddrTileMode tileMode, ///< [in] tile mode in ComputeSurfaceAddrFromCoordMacroTiled() argument
1635 UINT_32 microTileThickness = Thickness(tileMode); in ComputeSurfaceAddrFromCoordMacroTiled()
1659 tileMode, in ComputeSurfaceAddrFromCoordMacroTiled()
1794 if (IsPrtNoRotationTileMode(tileMode)) in ComputeSurfaceAddrFromCoordMacroTiled()
1803 tileMode, in ComputeSurfaceAddrFromCoordMacroTiled()
1811 tileMode, in ComputeSurfaceAddrFromCoordMacroTiled()
1867 AddrTileMode tileMode, ///< [in] tile mode in ComputeSurfaceAddrFromCoordMicroTiled() argument
1887 UINT_32 microTileThickness = Thickness(tileMode); in ComputeSurfaceAddrFromCoordMicroTiled()
1930 tileMode, in ComputeSurfaceAddrFromCoordMicroTiled()
1986 AddrTileMode tileMode, ///< [in] tile mode in HwlComputePixelCoordFromOffset() argument
2000 UINT_32 thickness = Thickness(tileMode); in HwlComputePixelCoordFromOffset()
2184 AddrTileMode tileMode = pIn->tileMode; in DispatchComputeSurfaceCoordFromAddr() local
2212 if (IsLinear(pIn->tileMode) == FALSE) in DispatchComputeSurfaceCoordFromAddr()
2214 if (bpp >= 128 || Thickness(tileMode) > 1) in DispatchComputeSurfaceCoordFromAddr()
2221 switch (tileMode) in DispatchComputeSurfaceCoordFromAddr()
2244 tileMode, in DispatchComputeSurfaceCoordFromAddr()
2286 tileMode, in DispatchComputeSurfaceCoordFromAddr()
2323 AddrTileMode tileMode, ///< [in] tile mode in ComputeSurfaceCoordFromAddrMacroTiled() argument
2368 UINT_32 microTileThickness = Thickness(tileMode); in ComputeSurfaceCoordFromAddrMacroTiled()
2424 tileMode, in ComputeSurfaceCoordFromAddrMacroTiled()
2451 HwlComputeSurfaceCoord2DFromBankPipe(tileMode, in ComputeSurfaceCoordFromAddrMacroTiled()
2475 AddrTileMode tileMode, ///< [in] tile mode in ComputeSurfaceCoord2DFromBankPipe() argument
2501 UINT_32 bankRotation = ComputeBankRotation(tileMode, in ComputeSurfaceCoord2DFromBankPipe()
2504 UINT_32 pipeRotation = ComputePipeRotation(tileMode, numPipes); in ComputeSurfaceCoord2DFromBankPipe()
2511 switch (tileMode) in ComputeSurfaceCoord2DFromBankPipe()
2526 UINT_32 microTileThickness = Thickness(tileMode); in ComputeSurfaceCoord2DFromBankPipe()
2722 ADDR_ASSERT(IsMacroTiled(pIn->tileMode)); in HwlComputeBaseSwizzle()
2773 if (IsMacro3dTiled(pIn->tileMode)) in HwlComputeBaseSwizzle()
2855 AddrTileMode tileMode, ///< [in] Tile mode in ComputeSliceTileSwizzle() argument
2864 if (IsMacroTiled(tileMode)) // Swizzle only for macro tile mode in ComputeSliceTileSwizzle()
2866 UINT_32 firstSlice = slice / Thickness(tileMode); in ComputeSliceTileSwizzle()
2877 pipeRotation = ComputePipeRotation(tileMode, numPipes); in ComputeSliceTileSwizzle()
2878 bankRotation = ComputeBankRotation(tileMode, numBanks, numPipes); in ComputeSliceTileSwizzle()
2928 if (IsMacroTiled(pInfo->tileMode) && pInfo->pStereoInfo && pInfo->pTileInfo) in HwlComputeQbStereoRightSwizzle()
2931 pInfo->tileMode, 0, 0, pInfo->pTileInfo); in HwlComputeQbStereoRightSwizzle()
2956 AddrTileMode tileMode, ///< [in] tile mode in ComputeBankFromCoord() argument
3022 UINT_32 microTileThickness = Thickness(tileMode); in ComputeBankFromCoord()
3024 switch (tileMode) in ComputeBankFromCoord()
3050 switch (tileMode) in ComputeBankFromCoord()
3118 AddrTileMode tileMode, ///< [in] tile mode in ComputePipeRotation() argument
3124 switch (tileMode) in ComputePipeRotation()
3153 AddrTileMode tileMode, ///< [in] tile mode in ComputeBankRotation() argument
3160 switch (tileMode) in ComputeBankRotation()
3251 surfIn.tileMode = pIn->tileMode; in DispatchComputeFmaskInfo()
3334 HwlPostCheckTileIndex(pOut->pTileInfo, pIn->tileMode, ADDR_NON_DISPLAYABLE, in HwlComputeFmaskInfo()
3847 pOut->tileMode, in HwlComputeSurfaceInfo()
3851 if (IsMacroTiled(pOut->tileMode) && (pOut->macroModeIndex == TileIndexInvalid)) in HwlComputeSurfaceInfo()
3866 if (IsMacroTiled(pOut->tileMode)) in HwlComputeSurfaceInfo()
3971 pOut->tileSwizzle = ComputeSliceTileSwizzle(pIn->tileMode, in HwlComputeSliceTileSwizzle()
4050 AddrTileMode tileMode, ///< [in] tile mode in HwlGetPitchAlignmentMicroTiled() argument
4058 UINT_32 microTileThickness = Thickness(tileMode); in HwlGetPitchAlignmentMicroTiled()