Home
last modified time | relevance | path

Searched refs:UINT_64 (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/amd/addrlib/src/core/
Daddrlib2.h136 UINT_64 value;
163 const UINT_64 X0 = InitBit(0, 0);
164 const UINT_64 X1 = InitBit(0, 1);
165 const UINT_64 X2 = InitBit(0, 2);
166 const UINT_64 X3 = InitBit(0, 3);
167 const UINT_64 X4 = InitBit(0, 4);
168 const UINT_64 X5 = InitBit(0, 5);
169 const UINT_64 X6 = InitBit(0, 6);
170 const UINT_64 X7 = InitBit(0, 7);
171 const UINT_64 X8 = InitBit(0, 8);
[all …]
Daddrlib1.h228 UINT_64 baseAddr, UINT_32* pTileSwizzle) const = 0;
244 virtual UINT_64 HwlComputeHtileBytes(
246 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const = 0;
320 UINT_32* pPitchOut, UINT_32* pHeightOut, UINT_64* pHtileBytes,
322 UINT_64* pSliceSize = NULL, UINT_32* pBaseAlign = NULL) const;
328 ADDR_TILEINFO* pTileInfo, UINT_32* pPitchOut, UINT_32* pHeightOut, UINT_64* pCmaskBytes,
329 UINT_32* pMacroWidth, UINT_32* pMacroHeight, UINT_64* pSliceSize = NULL,
337 virtual UINT_64 HwlComputeXmaskAddrFromCoord(
344 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
391 UINT_64 ComputeSurfaceAddrFromCoordLinear(
[all …]
Daddrlib1.cpp1839 UINT_64* pHtileBytes, ///< [out] bytes per 2D slice in ComputeHtileInfo()
1842 UINT_64* pSliceSize, ///< [out] slice size in bytes in ComputeHtileInfo()
1850 UINT_64 surfBytes; in ComputeHtileInfo()
1851 UINT_64 sliceBytes; in ComputeHtileInfo()
1944 UINT_64 Lib::ComputeCmaskBytes( in ComputeCmaskBytes()
1950 return BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * numSlices * CmaskElemBits) / in ComputeCmaskBytes()
1975 UINT_64* pCmaskBytes, ///< [out] bytes per 2D slice in ComputeCmaskInfo()
1978 UINT_64* pSliceSize, ///< [out] slice size in bytes in ComputeCmaskInfo()
1986 UINT_64 surfBytes; in ComputeCmaskInfo()
1987 UINT_64 sliceBytes; in ComputeCmaskInfo()
[all …]
Daddrlib.cpp40 UINT_32 div64_32(UINT_64 n, UINT_32 base) in div64_32()
42 UINT_64 rem = n; in div64_32()
43 UINT_64 b = base; in div64_32()
44 UINT_64 res, d = 1; in div64_32()
51 res = (UINT_64) high << 32; in div64_32()
52 rem -= (UINT_64) (high * base) << 32; in div64_32()
77 UINT_32 __umoddi3(UINT_64 n, UINT_32 base) in __umoddi3()
Daddrcommon.h349 static inline UINT_64 IsPow2( in IsPow2()
350 UINT_64 dim) ///< [in] dimension of miplevel in IsPow2()
383 static inline UINT_64 PowTwoAlign( in PowTwoAlign()
384 UINT_64 x, in PowTwoAlign()
385 UINT_64 align) in PowTwoAlign()
589 UINT_64* pLVal, ///< [in] Pointer to left val in SafeAssign()
590 UINT_64 rVal) ///< [in] Right value in SafeAssign()
Dcoord.cpp361 UINT_64 CoordEq::solve(const UINT_32 *coords) const in solve()
363 UINT_64 out = 0; in solve()
366 out |= static_cast<UINT_64>(m_eq[i].getxor(coords)) << i; in solve()
372 UINT_64 addr, UINT_32 sliceInM, in solveAddr()
450 addr ^= static_cast<UINT_64>(v); in solveAddr()
Dcoord.h105 virtual UINT_64 solve(const UINT_32 *coords) const;
106 virtual VOID solveAddr(UINT_64 addr, UINT_32 sliceInM,
Daddrelemlib.cpp209 UINT_64 truncated, rounded; in Flt32sToInt32s()
214 UINT_64 temp = mant24 - (mant24>>bits) - in Flt32sToInt32s()
218 UINT_64 final; in Flt32sToInt32s()
226 final = ((temp<<8) + (static_cast<UINT_64>(round)<<shift)) >> (shift+8); in Flt32sToInt32s()
/external/mesa3d/src/amd/addrlib/src/r800/
Degbaddrlib.h112 UINT_64 baseAddr, UINT_32* pTileSwizzle) const;
171 virtual UINT_64 HwlGetSizeAdjustmentLinear(
179 virtual UINT_64 HwlGetSizeAdjustmentMicroTiled(
254 UINT_64 baseAddr, ADDR_TILEINFO* pTileInfo) const;
257 AddrTileMode tileMode, UINT_32 baseSwizzle, UINT_32 slice, UINT_64 baseAddr,
274 UINT_64 addr, UINT_32 numBanks, UINT_32 numPipes) const;
291 UINT_64 ComputeHtileBytes(
293 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* sliceBytes, UINT_32 baseAlign) const;
344 UINT_64 DispatchComputeSurfaceAddrFromCoord(
352 UINT_64 ComputeSurfaceAddrFromCoordMicroTiled(
[all …]
Dciaddrlib.cpp75 static UINT_64 Mask( in Mask()
78 UINT_64 ret; in Mask()
80 if (width >= sizeof(UINT_64)*8) in Mask()
82 ret = ~((UINT_64) 0); in Mask()
86 return (((UINT_64) 1) << width) - 1; in Mask()
101 static UINT_64 GetBits( in GetBits()
102 UINT_64 bits, ///< Source bits in GetBits()
106 UINT_64 ret = 0; in GetBits()
125 static UINT_64 RemoveBits( in RemoveBits()
126 UINT_64 bits, ///< Source bits in RemoveBits()
[all …]
Degbaddrlib.cpp278 UINT_64 logicalSliceSize; in ComputeSurfaceInfoLinear()
427 UINT_64 logicalSliceSize = HwlGetSizeAdjustmentMicroTiled(microTileThickness, in ComputeSurfaceInfoMicroTiled()
476 UINT_64 bytesPerSlice; in ComputeSurfaceInfoMacroTiled()
637 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(paddedPitch) * in ComputeSurfaceInfoMacroTiled()
1092 UINT_64 bytesPerSlice; in ComputeSurfaceMipLevelTileMode()
1102 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * bpp * numSamples); in ComputeSurfaceMipLevelTileMode()
1308 UINT_64 EgBasedLib::DispatchComputeSurfaceAddrFromCoord( in DispatchComputeSurfaceAddrFromCoord()
1330 UINT_64 addr; in DispatchComputeSurfaceAddrFromCoord()
1581 UINT_64 EgBasedLib::ComputeSurfaceAddrFromCoordMacroTiled( in ComputeSurfaceAddrFromCoordMacroTiled()
1601 UINT_64 addr; in ComputeSurfaceAddrFromCoordMacroTiled()
[all …]
Dsiaddrlib.h122 virtual UINT_64 HwlComputeXmaskAddrFromCoord(
128 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
153 virtual UINT_64 HwlComputeHtileBytes(
155 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const;
193 virtual UINT_64 HwlGetSizeAdjustmentMicroTiled(
224 virtual UINT_64 HwlGetSizeAdjustmentLinear(
Dciaddrlib.h167 UINT_64 HwlComputeMetadataNibbleAddress(
168 UINT_64 uncompressedDataByteAddress,
169 UINT_64 dataBaseByteAddress,
170 UINT_64 metadataBaseByteAddress,
Dsiaddrlib.cpp1266 UINT_64 SiLib::HwlComputeHtileBytes( in HwlComputeHtileBytes()
1272 UINT_64* pSliceBytes, ///< [out] bytes per slice in HwlComputeHtileBytes()
1289 UINT_64 SiLib::HwlComputeXmaskAddrFromCoord( in HwlComputeXmaskAddrFromCoord()
1308 UINT_64 totalBytes; in HwlComputeXmaskAddrFromCoord()
1311 UINT_64 pSliceBytes; in HwlComputeXmaskAddrFromCoord()
1361 UINT_64 macroOffset; // Per pipe starting offset of the macro tile in which this tile lies. in HwlComputeXmaskAddrFromCoord()
1362 UINT_64 microNumber; // Per pipe starting offset of the macro tile in which this tile lies. in HwlComputeXmaskAddrFromCoord()
1365 UINT_64 microOffset; in HwlComputeXmaskAddrFromCoord()
1367 UINT_64 totalOffset; in HwlComputeXmaskAddrFromCoord()
1380 microNumber = static_cast<UINT_64>(microX + microY * (pitchInTile / 4)) << microShift; in HwlComputeXmaskAddrFromCoord()
[all …]
/external/mesa3d/src/amd/addrlib/inc/
Daddrinterface.h597 UINT_64 surfSize; ///< Surface size in bytes
607 UINT_64 sliceSize; ///< Size of slice specified by input's slice
732 UINT_64 addr; ///< Byte address
765 UINT_64 addr; ///< Address in bytes
908 UINT_64 htileBytes; ///< Size of HTILE buffer, in bytes
913 UINT_64 sliceSize; ///< Slice size, in bytes.
980 UINT_64 addr; ///< Address in bytes
1012 UINT_64 addr; ///< Address
1127 UINT_64 cmaskBytes; ///< Size in bytes of CMask buffer
1132 UINT_64 sliceSize; ///< Slice size, in bytes.
[all …]
Daddrtypes.h676 #define UINT_64 unsigned long long macro
680 #define UINT_64 unsigned __int64 macro
700 #define UINT_64 unsigned long long OR unsigned __int64 macro
/external/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp630 pOut->addr = (static_cast<UINT_64>(output.sliceSize) * pIn->slice) + in HwlComputeHtileAddrFromCoord()
746 pOut->addr = (static_cast<UINT_64>(pIn->dccRamSliceSize) * pIn->slice) + in HwlComputeDccAddrFromCoord()
2134 … ComputeOffsetFromSwizzlePattern(reinterpret_cast<const UINT_64*>(fullSwizzlePattern), in HwlComputeSlicePipeBankXor()
2508 … const UINT_64 sizeAlignInElement = Max(NextPow2(pIn->minSizeAlign) / (fmaskBpp >> 3), 1u); in HwlGetPreferredSurfaceSetting()
2513 UINT_64 padSize[maxFmaskSwizzleModeType] = {0}; in HwlGetPreferredSurfaceSetting()
2807 UINT_64 padSize[AddrBlockMaxTiledType] = {0}; in HwlGetPreferredSurfaceSetting()
2811 … const UINT_64 sizeAlignInElement = Max(NextPow2(pIn->minSizeAlign) / (bpp >> 3), 1u); in HwlGetPreferredSurfaceSetting()
2813 UINT_64 minSize = 0; in HwlGetPreferredSurfaceSetting()
3167 UINT_64 mipSliceSize = 0; in ComputeSurfaceInfoMicroTiled()
3196 pOut->sliceSize = static_cast<UINT_64>(pOut->pitch) * pOut->height * (pIn->bpp >> 3); in ComputeSurfaceInfoMicroTiled()
[all …]
Dgfx10addrlib.h353 const UINT_64* pPattern,
Dgfx10SwizzlePattern.h3743 const UINT_64 GFX10_SW_PATTERN_NIBBLE01[][8] =
3787 const UINT_64 GFX10_SW_PATTERN_NIBBLE2[][4] =
4301 const UINT_64 GFX10_SW_PATTERN_NIBBLE3[][4] =
5147 const UINT_64 GFX10_SW_PATTERN_NIBBLE4[][4] =
5853 const UINT_64 GFX10_DCC_64K_R_X_SW_PATTERN[][17] =
5965 const UINT_64 GFX10_HTILE_SW_PATTERN[][18] =
5999 const UINT_64 GFX10_CMASK_SW_PATTERN[][17] =
/external/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp800 UINT_64 address = pMetaEq->solve(coords); in HwlComputeCmaskAddrFromCoord()
809 UINT_64 pipeXor = static_cast<UINT_64>(pIn->pipeXor & ((1 << numPipeBits) - 1)); in HwlComputeCmaskAddrFromCoord()
877 UINT_64 address = pMetaEq->solve(coords); in HwlComputeHtileAddrFromCoord()
884 UINT_64 pipeXor = static_cast<UINT_64>(pIn->pipeXor & ((1 << numPipeBits) - 1)); in HwlComputeHtileAddrFromCoord()
946 UINT_64 pipeXor = static_cast<UINT_64>(pIn->pipeXor & ((1 << numPipeBits) - 1)); in HwlComputeHtileCoordFromAddr()
948 UINT_64 nibbleAddress = (pIn->addr ^ (pipeXor << m_pipeInterleaveLog2)) << 1; in HwlComputeHtileCoordFromAddr()
1013 UINT_64 address = pMetaEq->solve(coords); in HwlComputeDccAddrFromCoord()
1020 UINT_64 pipeXor = static_cast<UINT_64>(pIn->pipeXor & ((1 << numPipeBits) - 1)); in HwlComputeDccAddrFromCoord()
3071 static_cast<UINT_64>(pipeBankXor); in HwlComputeSubResourceOffsetForSwizzlePattern()
3640 UINT_64 padSize[AddrBlockMaxTiledType] = {0}; in HwlGetPreferredSurfaceSetting()
[all …]