/external/mesa3d/src/amd/addrlib/r800/ |
D | ciaddrlib.cpp | 61 static UINT_64 AddrMask( in AddrMask() 64 UINT_64 ret; in AddrMask() 66 if (width >= sizeof(UINT_64)*8) in AddrMask() 68 ret = ~((UINT_64) 0); in AddrMask() 72 return (((UINT_64) 1) << width) - 1; in AddrMask() 87 static UINT_64 AddrGetBits( in AddrGetBits() 88 UINT_64 bits, ///< Source bits in AddrGetBits() 92 UINT_64 ret = 0; in AddrGetBits() 111 static UINT_64 AddrRemoveBits( in AddrRemoveBits() 112 UINT_64 bits, ///< Source bits in AddrRemoveBits() [all …]
|
D | egbaddrlib.h | 109 UINT_64 baseAddr, UINT_32* pTileSwizzle) const; 167 virtual UINT_64 HwlGetSizeAdjustmentLinear( 175 virtual UINT_64 HwlGetSizeAdjustmentMicroTiled( 255 UINT_64 baseAddr, ADDR_TILEINFO* pTileInfo) const; 258 AddrTileMode tileMode, UINT_32 baseSwizzle, UINT_32 slice, UINT_64 baseAddr, 268 UINT_64 addr, UINT_32 numBanks, UINT_32 numPipes) const; 285 UINT_64 ComputeHtileBytes( 287 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* sliceBytes, UINT_32 baseAlign) const; 329 UINT_64 DispatchComputeSurfaceAddrFromCoord( 337 UINT_64 ComputeSurfaceAddrFromCoordMicroTiled( [all …]
|
D | egbaddrlib.cpp | 271 UINT_64 logicalSliceSize; in ComputeSurfaceInfoLinear() 382 UINT_64 logicalSliceSize = HwlGetSizeAdjustmentMicroTiled(microTileThickness, in ComputeSurfaceInfoMicroTiled() 431 UINT_64 bytesPerSlice; in ComputeSurfaceInfoMacroTiled() 551 bytesPerSlice = BITS_TO_BYTES(static_cast<UINT_64>(paddedPitch) * in ComputeSurfaceInfoMacroTiled() 1254 UINT_64 EgBasedAddrLib::DispatchComputeSurfaceAddrFromCoord( in DispatchComputeSurfaceAddrFromCoord() 1276 UINT_64 addr; in DispatchComputeSurfaceAddrFromCoord() 1400 addr = addr | static_cast<UINT_64>(addr5Bit << 5); in DispatchComputeSurfaceAddrFromCoord() 1419 UINT_64 EgBasedAddrLib::ComputeSurfaceAddrFromCoordMacroTiled( in ComputeSurfaceAddrFromCoordMacroTiled() 1439 UINT_64 addr; in ComputeSurfaceAddrFromCoordMacroTiled() 1450 UINT_64 sliceBytes; in ComputeSurfaceAddrFromCoordMacroTiled() [all …]
|
D | siaddrlib.cpp | 770 UINT_64 SIAddrLib::HwlComputeHtileBytes( in HwlComputeHtileBytes() 776 UINT_64* pSliceBytes, ///< [out] bytes per slice in HwlComputeHtileBytes() 793 UINT_64 SIAddrLib::HwlComputeXmaskAddrFromCoord( in HwlComputeXmaskAddrFromCoord() 812 UINT_64 totalBytes; in HwlComputeXmaskAddrFromCoord() 815 UINT_64 pSliceBytes; in HwlComputeXmaskAddrFromCoord() 865 UINT_64 macroOffset; // Per pipe starting offset of the macro tile in which this tile lies. in HwlComputeXmaskAddrFromCoord() 866 UINT_64 microNumber; // Per pipe starting offset of the macro tile in which this tile lies. in HwlComputeXmaskAddrFromCoord() 869 UINT_64 microOffset; in HwlComputeXmaskAddrFromCoord() 871 UINT_64 totalOffset; in HwlComputeXmaskAddrFromCoord() 884 microNumber = static_cast<UINT_64>(microX + microY * (pitchInTile / 4)) << microShift; in HwlComputeXmaskAddrFromCoord() [all …]
|
D | siaddrlib.h | 99 virtual UINT_64 HwlComputeXmaskAddrFromCoord( 105 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices, 130 virtual UINT_64 HwlComputeHtileBytes( 132 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const; 162 virtual UINT_64 HwlGetSizeAdjustmentMicroTiled( 189 virtual UINT_64 HwlGetSizeAdjustmentLinear(
|
D | ciaddrlib.h | 181 UINT_64 HwlComputeMetadataNibbleAddress( 182 UINT_64 uncompressedDataByteAddress, 183 UINT_64 dataBaseByteAddress, 184 UINT_64 metadataBaseByteAddress,
|
/external/mesa3d/src/amd/addrlib/ |
D | addrinterface.h | 529 UINT_64 surfSize; ///< Surface size in bytes 539 UINT_64 sliceSize; ///< Size of slice specified by input's slice 651 UINT_64 addr; ///< Byte address 684 UINT_64 addr; ///< Address in bytes 824 UINT_64 htileBytes; ///< Size of HTILE buffer, in bytes 829 UINT_64 sliceSize; ///< Slice size, in bytes. 888 UINT_64 addr; ///< Address in bytes 920 UINT_64 addr; ///< Address 1035 UINT_64 cmaskBytes; ///< Size in bytes of CMask buffer 1040 UINT_64 sliceSize; ///< Slice size, in bytes. [all …]
|
D | addrtypes.h | 507 #define UINT_64 unsigned long long macro 511 #define UINT_64 unsigned __int64 macro 531 #define UINT_64 unsigned long long OR unsigned __int64 macro
|
/external/mesa3d/src/amd/addrlib/core/ |
D | addrcommon.h | 300 static inline UINT_64 IsPow2( in IsPow2() 301 UINT_64 dim) ///< [in] dimension of miplevel in IsPow2() 334 static inline UINT_64 PowTwoAlign( in PowTwoAlign() 335 UINT_64 x, in PowTwoAlign() 336 UINT_64 align) in PowTwoAlign() 530 UINT_64* pLVal, ///< [in] Pointer to left val in SafeAssign() 531 UINT_64 rVal) ///< [in] Right value in SafeAssign()
|
D | addrlib.cpp | 40 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() 1965 UINT_64* pHtileBytes, ///< [out] bytes per 2D slice in ComputeHtileInfo() 1968 UINT_64* pSliceSize, ///< [out] slice size in bytes in ComputeHtileInfo() 1976 UINT_64 surfBytes; in ComputeHtileInfo() [all …]
|
D | addrlib.h | 347 UINT_64 baseAddr, UINT_32* pTileSwizzle) const = 0; 363 virtual UINT_64 HwlComputeHtileBytes( 365 BOOL_32 isLinear, UINT_32 numSlices, UINT_64* pSliceBytes, UINT_32 baseAlign) const = 0; 430 UINT_32* pPitchOut, UINT_32* pHeightOut, UINT_64* pHtileBytes, 432 UINT_64* pSliceSize = NULL, UINT_32* pBaseAlign = NULL) const; 438 ADDR_TILEINFO* pTileInfo, UINT_32* pPitchOut, UINT_32* pHeightOut, UINT_64* pCmaskBytes, 439 UINT_32* pMacroWidth, UINT_32* pMacroHeight, UINT_64* pSliceSize = NULL, 447 virtual UINT_64 HwlComputeXmaskAddrFromCoord( 454 UINT_64 addr, UINT_32 bitPosition, UINT_32 pitch, UINT_32 height, UINT_32 numSlices, 494 UINT_64 ComputeSurfaceAddrFromCoordLinear( [all …]
|
D | addrelemlib.cpp | 201 UINT_64 truncated, rounded; in Flt32sToInt32s() 206 UINT_64 temp = mant24 - (mant24>>bits) - in Flt32sToInt32s() 210 UINT_64 final; in Flt32sToInt32s() 218 final = ((temp<<8) + (static_cast<UINT_64>(round)<<shift)) >> (shift+8); in Flt32sToInt32s()
|