/external/mesa3d/src/amd/addrlib/src/r800/ |
D | egbaddrlib.h | 80 BOOL_32 DispatchComputeSurfaceInfo( 123 BOOL_32 isWidth8, BOOL_32 isHeight8) const; 126 BOOL_32 isTcCompatible, BOOL_32 isLinear, ADDR_TILEINFO* pTileInfo) const; 140 virtual BOOL_32 HwlGetAlignmentInfoMacroTiled( 151 AddrTileType microTileType, BOOL_32 isDepthSampleOrder) const; 154 virtual BOOL_32 HwlGetMaxCmaskBlockMax() const in HwlGetMaxCmaskBlockMax() 185 virtual BOOL_32 HwlSanityCheckMacroTiled( 201 BOOL_32 ignoreSE, 204 virtual BOOL_32 HwlTileInfoEqual( 233 virtual BOOL_32 HwlReduceBankWidthHeight( [all …]
|
D | siaddrlib.h | 124 UINT_32 factor, BOOL_32 isLinear, BOOL_32 isWidth8, BOOL_32 isHeight8, 129 UINT_32 factor, BOOL_32 isLinear, BOOL_32 isWidth8, BOOL_32 isHeight8, 136 virtual BOOL_32 HwlComputeMipLevel( 142 virtual BOOL_32 HwlInitGlobalParams( 155 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const; 167 AddrTileMode tileMode, UINT_32 pipeSwizzle, BOOL_32 ignoreSE, 201 virtual BOOL_32 HwlTileInfoEqual( 216 virtual BOOL_32 HwlSanityCheckMacroTiled( in HwlSanityCheckMacroTiled() 233 BOOL_32 ignoreSE, 257 virtual BOOL_32 HwlReduceBankWidthHeight( in HwlReduceBankWidthHeight() [all …]
|
D | ciaddrlib.h | 79 virtual BOOL_32 HwlInitGlobalParams( 161 BOOL_32 InitTileSettingTable( 164 BOOL_32 InitMacroTileCfgTable( 179 BOOL_32 DepthStencilTileCfgMatch( 183 BOOL_32 CheckTcCompatibility(const ADDR_TILEINFO* pTileInfo, UINT_32 bpp, AddrTileMode tileMode, 186 BOOL_32 SupportDccAndTcCompatibility() const in SupportDccAndTcCompatibility() 191 BOOL_32 AltTilingEnabled() const in AltTilingEnabled() 204 BOOL_32 m_allowNonDispThickModes;
|
D | egbaddrlib.cpp | 85 BOOL_32 EgBasedLib::DispatchComputeSurfaceInfo( in DispatchComputeSurfaceInfo() 103 BOOL_32 valid; in DispatchComputeSurfaceInfo() 219 BOOL_32 EgBasedLib::ComputeSurfaceInfoLinear( in ComputeSurfaceInfoLinear() 352 BOOL_32 EgBasedLib::ComputeSurfaceInfoMicroTiled( in ComputeSurfaceInfoMicroTiled() 359 BOOL_32 valid = TRUE; in ComputeSurfaceInfoMicroTiled() 462 BOOL_32 EgBasedLib::ComputeSurfaceInfoMacroTiled( in ComputeSurfaceInfoMacroTiled() 469 BOOL_32 valid = TRUE; in ComputeSurfaceInfoMacroTiled() 579 BOOL_32 convertTo1D = FALSE; in ComputeSurfaceInfoMacroTiled() 663 BOOL_32 EgBasedLib::ComputeSurfaceAlignmentsLinear( in ComputeSurfaceAlignmentsLinear() 672 BOOL_32 valid = TRUE; in ComputeSurfaceAlignmentsLinear() [all …]
|
D | ciaddrlib.cpp | 431 BOOL_32 CiLib::HwlInitGlobalParams( in HwlInitGlobalParams() 434 BOOL_32 valid = TRUE; in HwlInitGlobalParams() 521 BOOL_32 macroTiled = IsMacroTiled(mode); in HwlPostCheckTileIndex() 729 BOOL_32 depthStencil2DTileConfigMatch = DepthStencilTileCfgMatch(pIn, pOut); in HwlComputeSurfaceInfo() 1138 BOOL_32 bThin = (m_settings.isBonaire == TRUE) || in HwlSelectTileMode() 1664 BOOL_32 CiLib::InitTileSettingTable( in InitTileSettingTable() 1669 BOOL_32 initOk = TRUE; in InitTileSettingTable() 1764 BOOL_32 CiLib::InitMacroTileCfgTable( in InitMacroTileCfgTable() 1769 BOOL_32 initOk = TRUE; in InitMacroTileCfgTable() 2246 BOOL_32 CiLib::DepthStencilTileCfgMatch( in DepthStencilTileCfgMatch() [all …]
|
D | siaddrlib.cpp | 64 const BOOL_32 SiLib::m_EquationSupport[SiLib::TileTableSize][SiLib::MaxNumElementBytes] = 671 BOOL_32 ignoreSE, ///< [in] TRUE if shader engines are ignored in ComputePipeFromCoord() 1270 BOOL_32 isLinear, ///< [in] if it is linear mode in HwlComputeHtileBytes() 1297 BOOL_32 isLinear, ///< [in] linear or tiled HTILE layout in HwlComputeXmaskAddrFromCoord() 1298 BOOL_32 isWidth8, ///< [in] TRUE if width is 8, FALSE means 4. It's register value in HwlComputeXmaskAddrFromCoord() 1299 BOOL_32 isHeight8, ///< [in] TRUE if width is 8, FALSE means 4. It's register value in HwlComputeXmaskAddrFromCoord() 1455 BOOL_32 isLinear, ///< [in] linear or tiled HTILE layout in HwlComputeXmaskCoordFromAddr() 1456 BOOL_32 isWidth8, ///< [in] Not used by SI in HwlComputeXmaskCoordFromAddr() 1457 BOOL_32 isHeight8, ///< [in] Not used by SI in HwlComputeXmaskCoordFromAddr() 2275 BOOL_32 SiLib::DecodeGbRegs( in DecodeGbRegs() [all …]
|
/external/mesa3d/src/amd/addrlib/src/core/ |
D | coord.h | 58 BOOL_32 operator==(const Coordinate& b); 59 BOOL_32 operator<(const Coordinate& b); 60 BOOL_32 operator>(const Coordinate& b); 61 BOOL_32 operator<=(const Coordinate& b); 62 BOOL_32 operator>=(const Coordinate& b); 63 BOOL_32 operator!=(const Coordinate& b); 78 BOOL_32 remove(Coordinate& co); 79 BOOL_32 Exists(Coordinate& co); 87 BOOL_32 operator==(const CoordTerm& b); 88 BOOL_32 operator!=(const CoordTerm& b); [all …]
|
D | addrlib1.h | 91 BOOL_32 UseTileIndex(INT_32 index) const in UseTileIndex() 97 BOOL_32 UseCombinedSwizzle() const in UseCombinedSwizzle() 237 BOOL_32 isTcCompatible, BOOL_32 isLinear, ADDR_TILEINFO* pTileInfo) const = 0; 241 BOOL_32 isWidth8, BOOL_32 isHeight8) const = 0; 246 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const = 0; 269 virtual BOOL_32 HwlComputeMipLevel( 273 virtual BOOL_32 HwlGetMaxCmaskBlockMax() const = 0; 318 BOOL_32 isLinear, BOOL_32 isWidth8, BOOL_32 isHeight8, 327 UINT_32 pitchIn, UINT_32 heightIn, UINT_32 numSlices, BOOL_32 isLinear, 339 UINT_32 numSlices, UINT_32 factor, BOOL_32 isLinear, BOOL_32 isWidth8, [all …]
|
D | addrlib2.h | 298 virtual BOOL_32 IsValidDisplaySwizzleMode( in IsValidDisplaySwizzleMode() 320 BOOL_32 IsValidSwMode(AddrSwizzleMode swizzleMode) const in IsValidSwMode() 330 BOOL_32 IsBlock256b(AddrSwizzleMode swizzleMode) const in IsBlock256b() 335 BOOL_32 IsBlock4kb(AddrSwizzleMode swizzleMode) const in IsBlock4kb() 340 BOOL_32 IsBlock64kb(AddrSwizzleMode swizzleMode) const in IsBlock64kb() 345 BOOL_32 IsBlockVariable(AddrSwizzleMode swizzleMode) const in IsBlockVariable() 351 BOOL_32 IsLinear(AddrSwizzleMode swizzleMode) const in IsLinear() 356 BOOL_32 IsRtOptSwizzle(AddrSwizzleMode swizzleMode) const in IsRtOptSwizzle() 361 BOOL_32 IsZOrderSwizzle(AddrSwizzleMode swizzleMode) const in IsZOrderSwizzle() 366 BOOL_32 IsStandardSwizzle(AddrSwizzleMode swizzleMode) const in IsStandardSwizzle() [all …]
|
D | coord.cpp | 71 BOOL_32 Coordinate::operator==(const Coordinate& b) in operator ==() 76 BOOL_32 Coordinate::operator<(const Coordinate& b) in operator <() 78 BOOL_32 ret; in operator <() 107 BOOL_32 Coordinate::operator>(const Coordinate& b) in operator >() 109 BOOL_32 lt = *this < b; in operator >() 110 BOOL_32 eq = *this == b; in operator >() 114 BOOL_32 Coordinate::operator<=(const Coordinate& b) in operator <=() 119 BOOL_32 Coordinate::operator>=(const Coordinate& b) in operator >=() 124 BOOL_32 Coordinate::operator!=(const Coordinate& b) in operator !=() 187 BOOL_32 CoordTerm::remove(Coordinate& co) in remove() [all …]
|
D | addrelemlib.h | 190 BOOL_32 PixGetExportNorm( 223 ADDR_FLT_32 comps[4], BOOL_32 clearColor, BOOL_32 float32); 234 BOOL_32 IsDepthStencilTilePlanar() in IsDepthStencilTilePlanar() 245 static BOOL_32 IsCompressed(AddrFormat format); 246 static BOOL_32 IsBlockCompressed(AddrFormat format); 247 static BOOL_32 IsExpand3x(AddrFormat format); 248 static BOOL_32 IsMacroPixelPacked(AddrFormat format);
|
D | addrelemlib.cpp | 558 BOOL_32 handled = FALSE; in GetCompType() 1080 BOOL_32 ElemLib::PixGetExportNorm( in PixGetExportNorm() 1086 BOOL_32 enabled = TRUE; in PixGetExportNorm() 1145 BOOL_32 bBCnFormat = FALSE; in AdjustSurfaceInfo() 1275 BOOL_32 bBCnFormat = FALSE; in RestoreSurfaceInfo() 1689 BOOL_32 clearColor, ///< [in] TRUE if clear color is set (CLEAR_COLOR) in SetClearComps() 1690 BOOL_32 float32) ///< [in] TRUE if float32 component (BLEND_FLOAT32) in SetClearComps() 1741 BOOL_32 ElemLib::IsBlockCompressed( in IsBlockCompressed() 1762 BOOL_32 ElemLib::IsCompressed( in IsCompressed() 1781 BOOL_32 ElemLib::IsExpand3x( in IsExpand3x() [all …]
|
D | addrlib1.cpp | 1257 BOOL_32 isWidth8 = (pIn->blockWidth == 8) ? TRUE : FALSE; in ComputeHtileInfo() 1258 BOOL_32 isHeight8 = (pIn->blockHeight == 8) ? TRUE : FALSE; in ComputeHtileInfo() 1483 BOOL_32 isWidth8 = (pIn->blockWidth == 8) ? TRUE : FALSE; in ComputeHtileAddrFromCoord() 1484 BOOL_32 isHeight8 = (pIn->blockHeight == 8) ? TRUE : FALSE; in ComputeHtileAddrFromCoord() 1558 BOOL_32 isWidth8 = (pIn->blockWidth == 8) ? TRUE : FALSE; in ComputeHtileCoordFromAddr() 1559 BOOL_32 isHeight8 = (pIn->blockHeight == 8) ? TRUE : FALSE; in ComputeHtileCoordFromAddr() 1833 BOOL_32 isLinear, ///< [in] if it is linear mode in ComputeHtileInfo() 1834 BOOL_32 isWidth8, ///< [in] if htile block width is 8 in ComputeHtileInfo() 1835 BOOL_32 isHeight8, ///< [in] if htile block height is 8 in ComputeHtileInfo() 1971 BOOL_32 isLinear, ///< [in] is linear mode in ComputeCmaskInfo() [all …]
|
D | addrlib.h | 283 BOOL_32 GetExportNorm(const ELEM_GETEXPORTNORM_INPUT* pIn) const; 324 virtual BOOL_32 HwlInitGlobalParams(const ADDR_CREATE_INPUT* pCreateIn) = 0;
|
D | addrlib.cpp | 242 BOOL_32 initValid; in Create() 626 BOOL_32 Lib::GetExportNorm( in GetExportNorm() 631 BOOL_32 enabled = FALSE; in GetExportNorm()
|
D | addrlib2.cpp | 653 BOOL_32 valid = (IsZOrderSwizzle(pIn->swizzleMode) == TRUE) && in ComputeFmaskInfo() 1127 BOOL_32 valid = (pIn->numSamples <= 1) && (pIn->numFrags <= 1) && (pIn->pipeBankXor == 0); in ComputeSurfaceAddrFromCoordLinear() 1218 BOOL_32 valid = (pIn->numSamples <= 1) && (pIn->numFrags <= 1); in ComputeSurfaceCoordFromAddrLinear() 1431 const BOOL_32 widthPrecedent = ((log2Samples & 1) == 0) || ((log2BlkSize & 1) != 0); in ComputeThinBlockDimension()
|
/external/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.h | 220 virtual BOOL_32 HwlIsStandardSwizzle( in HwlIsStandardSwizzle() 227 virtual BOOL_32 HwlIsDisplaySwizzle( in HwlIsDisplaySwizzle() 234 virtual BOOL_32 HwlIsThin( in HwlIsThin() 245 virtual BOOL_32 HwlIsThick( in HwlIsThick() 327 virtual BOOL_32 HwlInitGlobalParams(const ADDR_CREATE_INPUT* pCreateIn); 461 BOOL_32 pipeAlign, 474 BOOL_32 IsRbAligned( in IsRbAligned() 478 const BOOL_32 isRtopt = IsRtOptSwizzle(swizzleMode); in IsRbAligned() 479 const BOOL_32 isZ = IsZOrderSwizzle(swizzleMode); in IsRbAligned() 480 const BOOL_32 isDisplay = IsDisplaySwizzle(swizzleMode); in IsRbAligned() [all …]
|
D | gfx10addrlib.cpp | 405 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo() 766 BOOL_32 Gfx10Lib::HwlInitGlobalParams( in HwlInitGlobalParams() 769 BOOL_32 valid = TRUE; in HwlInitGlobalParams() 1196 BOOL_32 pipeAlign, ///< [in] pipe align in GetMetaBlkSize() 2006 BOOL_32 Gfx10Lib::IsValidDisplaySwizzleMode( in IsValidDisplaySwizzleMode() 2028 BOOL_32 isThin ///< is thin or thick in GetMaxNumMipsInTail() 2195 BOOL_32 Gfx10Lib::ValidateNonSwModeParams( in ValidateNonSwModeParams() 2198 BOOL_32 valid = TRUE; in ValidateNonSwModeParams() 2214 const BOOL_32 mipmap = (pIn->numMipLevels > 1); in ValidateNonSwModeParams() 2215 const BOOL_32 msaa = (pIn->numFrags > 1); in ValidateNonSwModeParams() [all …]
|
/external/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.h | 271 virtual BOOL_32 HwlIsStandardSwizzle( in HwlIsStandardSwizzle() 279 virtual BOOL_32 HwlIsDisplaySwizzle( in HwlIsDisplaySwizzle() 286 virtual BOOL_32 HwlIsThin( in HwlIsThin() 296 virtual BOOL_32 HwlIsThick( in HwlIsThick() 362 virtual BOOL_32 IsEquationSupported( 402 virtual BOOL_32 HwlInitGlobalParams(const ADDR_CREATE_INPUT* pCreateIn); 438 BOOL_32 dataThick, ADDR2_META_MIP_INFO* pInfo, 442 BOOL_32 IsValidDisplaySwizzleMode(const ADDR2_COMPUTE_SURFACE_INFO_INPUT* pIn) const; 485 BOOL_32 IsInMipTail( in IsInMipTail() 493 BOOL_32 inTail = ((width <= mipTailDim.w) && in IsInMipTail() [all …]
|
D | gfx9addrlib.cpp | 370 BOOL_32 dataThick, ///< [in] data surface is thick in GetMetaMipInfo() 386 BOOL_32 inTail = FALSE; in GetMetaMipInfo() 546 BOOL_32 dataLinear = IsLinear(pIn->swizzleMode); in HwlComputeDccInfo() 547 BOOL_32 metaLinear = pIn->dccKeyFlags.linear; in HwlComputeDccInfo() 548 BOOL_32 pipeAligned = pIn->dccKeyFlags.pipeAligned; in HwlComputeDccInfo() 571 BOOL_32 dataThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo() 1040 BOOL_32 Gfx9Lib::HwlInitGlobalParams( in HwlInitGlobalParams() 1043 BOOL_32 valid = TRUE; in HwlInitGlobalParams() 1956 BOOL_32 isRbEquationInPipeEquation = FALSE; in GenMetaEquation() 2018 BOOL_32 isRbEqAppended = FALSE; in GenMetaEquation() [all …]
|
/external/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 176 … BOOL_32 stackedDepthSlices; ///< TRUE if depth slices are treated as being 687 BOOL_32 isDepth; ///< TRUE if the surface uses depth sample ordering within 775 BOOL_32 isDepth; ///< Surface uses depth sample ordering within micro tile. 881 BOOL_32 isLinear; ///< Linear or tiled HTILE layout 914 BOOL_32 sliceInterleaved; ///< Flag to indicate if different slice's htile is interleaved 916 BOOL_32 nextMipLevelCompressible; ///< Flag to indicate whether HTILE can be enabled in 954 BOOL_32 isLinear; ///< Linear or tiled HTILE layout 1018 BOOL_32 isLinear; ///< Linear or tiled HTILE layout 1101 BOOL_32 isLinear; ///< Linear or tiled layout, Only SI can be linear 1171 BOOL_32 isLinear; ///< Linear or tiled layout, Only SI can be linear [all …]
|
D | addrtypes.h | 629 #ifndef BOOL_32 // no bool type in C 632 #define BOOL_32 int macro
|
/external/mesa3d/src/amd/addrlib/src/ |
D | addrinterface.cpp | 587 BOOL_32 ADDR_API AddrUseTileIndex(ADDR_HANDLE hLib) in AddrUseTileIndex() 589 BOOL_32 useTileIndex = FALSE; in AddrUseTileIndex() 611 BOOL_32 ADDR_API AddrUseCombinedSwizzle(ADDR_HANDLE hLib) in AddrUseCombinedSwizzle() 613 BOOL_32 useCombinedSwizzle = FALSE; in AddrUseCombinedSwizzle() 829 BOOL_32 ADDR_API ElemGetExportNorm( in ElemGetExportNorm() 834 BOOL_32 enabled = FALSE; in ElemGetExportNorm()
|