Home
last modified time | relevance | path

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

/external/mesa3d/src/amd/addrlib/r800/
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.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 …]
Degbaddrlib.cpp277 UINT_64 logicalSliceSize; in ComputeSurfaceInfoLinear()
426 UINT_64 logicalSliceSize = HwlGetSizeAdjustmentMicroTiled(microTileThickness, in ComputeSurfaceInfoMicroTiled()
475 UINT_64 bytesPerSlice; in ComputeSurfaceInfoMacroTiled()
636 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(paddedPitch) * in ComputeSurfaceInfoMacroTiled()
1093 UINT_64 bytesPerSlice; in ComputeSurfaceMipLevelTileMode()
1104 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * bpp * numSamples); in ComputeSurfaceMipLevelTileMode()
1310 UINT_64 EgBasedLib::DispatchComputeSurfaceAddrFromCoord( in DispatchComputeSurfaceAddrFromCoord()
1332 UINT_64 addr; in DispatchComputeSurfaceAddrFromCoord()
1583 UINT_64 EgBasedLib::ComputeSurfaceAddrFromCoordMacroTiled( in ComputeSurfaceAddrFromCoordMacroTiled()
1603 UINT_64 addr; in ComputeSurfaceAddrFromCoordMacroTiled()
[all …]
Dsiaddrlib.h123 virtual UINT_64 HwlComputeXmaskAddrFromCoord(
129 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices,
154 virtual UINT_64 HwlComputeHtileBytes(
156 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const;
194 virtual UINT_64 HwlGetSizeAdjustmentMicroTiled(
225 virtual UINT_64 HwlGetSizeAdjustmentLinear(
Dciaddrlib.h164 UINT_64 HwlComputeMetadataNibbleAddress(
165 UINT_64 uncompressedDataByteAddress,
166 UINT_64 dataBaseByteAddress,
167 UINT_64 metadataBaseByteAddress,
Dsiaddrlib.cpp1234 UINT_64 SiLib::HwlComputeHtileBytes( in HwlComputeHtileBytes()
1240 UINT_64* pSliceBytes, ///< [out] bytes per slice in HwlComputeHtileBytes()
1257 UINT_64 SiLib::HwlComputeXmaskAddrFromCoord( in HwlComputeXmaskAddrFromCoord()
1276 UINT_64 totalBytes; in HwlComputeXmaskAddrFromCoord()
1279 UINT_64 pSliceBytes; in HwlComputeXmaskAddrFromCoord()
1329 UINT_64 macroOffset; // Per pipe starting offset of the macro tile in which this tile lies. in HwlComputeXmaskAddrFromCoord()
1330 UINT_64 microNumber; // Per pipe starting offset of the macro tile in which this tile lies. in HwlComputeXmaskAddrFromCoord()
1333 UINT_64 microOffset; in HwlComputeXmaskAddrFromCoord()
1335 UINT_64 totalOffset; in HwlComputeXmaskAddrFromCoord()
1348 microNumber = static_cast<UINT_64>(microX + microY * (pitchInTile / 4)) << microShift; in HwlComputeXmaskAddrFromCoord()
[all …]
/external/mesa3d/src/amd/addrlib/
Daddrinterface.h596 UINT_64 surfSize; ///< Surface size in bytes
606 UINT_64 sliceSize; ///< Size of slice specified by input's slice
731 UINT_64 addr; ///< Byte address
764 UINT_64 addr; ///< Address in bytes
907 UINT_64 htileBytes; ///< Size of HTILE buffer, in bytes
912 UINT_64 sliceSize; ///< Slice size, in bytes.
979 UINT_64 addr; ///< Address in bytes
1011 UINT_64 addr; ///< Address
1126 UINT_64 cmaskBytes; ///< Size in bytes of CMask buffer
1131 UINT_64 sliceSize; ///< Slice size, in bytes.
[all …]
Daddrtypes.h660 #define UINT_64 unsigned long long macro
664 #define UINT_64 unsigned __int64 macro
684 #define UINT_64 unsigned long long OR unsigned __int64 macro
/external/mesa3d/src/amd/addrlib/core/
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.cpp1829 UINT_64* pHtileBytes, ///< [out] bytes per 2D slice in ComputeHtileInfo()
1832 UINT_64* pSliceSize, ///< [out] slice size in bytes in ComputeHtileInfo()
1840 UINT_64 surfBytes; in ComputeHtileInfo()
1841 UINT_64 sliceBytes; in ComputeHtileInfo()
1934 UINT_64 Lib::ComputeCmaskBytes( in ComputeCmaskBytes()
1940 return BITS_TO_BYTES(static_cast<UINT_64>(pitch) * height * numSlices * CmaskElemBits) / in ComputeCmaskBytes()
1965 UINT_64* pCmaskBytes, ///< [out] bytes per 2D slice in ComputeCmaskInfo()
1968 UINT_64* pSliceSize, ///< [out] slice size in bytes in ComputeCmaskInfo()
1976 UINT_64 surfBytes; in ComputeCmaskInfo()
1977 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.h320 static inline UINT_64 IsPow2( in IsPow2()
321 UINT_64 dim) ///< [in] dimension of miplevel in IsPow2()
354 static inline UINT_64 PowTwoAlign( in PowTwoAlign()
355 UINT_64 x, in PowTwoAlign()
356 UINT_64 align) in PowTwoAlign()
560 UINT_64* pLVal, ///< [in] Pointer to left val in SafeAssign()
561 UINT_64 rVal) ///< [in] Right value in SafeAssign()
Daddrelemlib.cpp208 UINT_64 truncated, rounded; in Flt32sToInt32s()
213 UINT_64 temp = mant24 - (mant24>>bits) - in Flt32sToInt32s()
217 UINT_64 final; in Flt32sToInt32s()
225 final = ((temp<<8) + (static_cast<UINT_64>(round)<<shift)) >> (shift+8); in Flt32sToInt32s()
Daddrlib2.h622 static UINT_64 ComputePadSize( in ComputePadSize()
632 return static_cast<UINT_64>(pPadDim->w) * pPadDim->h * pPadDim->d; in ComputePadSize()
/external/mesa3d/src/amd/addrlib/gfx9/
Dcoord.cpp389 UINT_64 CoordEq::solve(UINT_32 x, UINT_32 y, UINT_32 z, UINT_32 s, UINT_32 m) const in solve()
391 UINT_64 out = 0; in solve()
403 UINT_64 addr, UINT_32 sliceInM, in solveAddr()
529 addr ^= static_cast<UINT_64>(v); in solveAddr()
537 addr ^= static_cast<UINT_64>(v); in solveAddr()
545 addr ^= static_cast<UINT_64>(v); in solveAddr()
Dcoord.h90 virtual UINT_64 solve(UINT_32 x, UINT_32 y, UINT_32 z = 0, UINT_32 s = 0, UINT_32 m = 0) const;
91 virtual VOID solveAddr(UINT_64 addr, UINT_32 sliceInM,
Dgfx9addrlib.cpp739 UINT_64 address = pMetaEq->solve(pIn->x, pIn->y, pIn->slice, 0, blockIndex); in HwlComputeCmaskAddrFromCoord()
748 UINT_64 pipeXor = static_cast<UINT_64>(pIn->pipeXor & ((1 << numPipeBits) - 1)); in HwlComputeCmaskAddrFromCoord()
813 UINT_64 address = pMetaEq->solve(pIn->x, pIn->y, pIn->slice, 0, blockIndex); in HwlComputeHtileAddrFromCoord()
820 UINT_64 pipeXor = static_cast<UINT_64>(pIn->pipeXor & ((1 << numPipeBits) - 1)); in HwlComputeHtileAddrFromCoord()
880 UINT_64 pipeXor = static_cast<UINT_64>(pIn->pipeXor & ((1 << numPipeBits) - 1)); in HwlComputeHtileCoordFromAddr()
882 UINT_64 nibbleAddress = (pIn->addr ^ (pipeXor << m_pipeInterleaveLog2)) << 1; in HwlComputeHtileCoordFromAddr()
964 UINT_64 address = pMetaEq->solve(pIn->x, pIn->y, pIn->slice, pIn->sample, blockIndex); in HwlComputeDccAddrFromCoord()
971 UINT_64 pipeXor = static_cast<UINT_64>(pIn->pipeXor & ((1 << numPipeBits) - 1)); in HwlComputeDccAddrFromCoord()
3008 static_cast<UINT_64>(pipeBankXor); in HwlComputeSubResourceOffsetForSwizzlePattern()
3503 UINT_64 padSize[AddrBlockMaxTiledType] = {0}; in HwlGetPreferredSurfaceSetting()
[all …]