Home
last modified time | relevance | path

Searched refs:m_pipeInterleaveLog2 (Results 1 – 10 of 10) sorted by relevance

/third_party/mesa3d/src/amd/addrlib/src/gfx9/
Dgfx9addrlib.cpp180 … numCompressBlkPerMetaBlkLog2 = m_seLog2 + m_rbPerSeLog2 + Max(10u, m_pipeInterleaveLog2); in HwlComputeHtileInfo()
295 … numCompressBlkPerMetaBlkLog2 = m_seLog2 + m_rbPerSeLog2 + Max(10u, m_pipeInterleaveLog2); in HwlComputeCmaskInfo()
629 … const UINT_32 thinBlkSize = 1 << (m_settings.applyAliasFix ? Max(10u, m_pipeInterleaveLog2) : 10); in HwlComputeDccInfo()
798 ADDR_ASSERT((m_settings.applyAliasFix == FALSE) || (m_pipeInterleaveLog2 <= 10u)); in HwlComputeMaxMetaBaseAlignments()
904 pOut->addr ^= (pipeXor << m_pipeInterleaveLog2); in HwlComputeCmaskAddrFromCoord()
979 pOut->addr ^= (pipeXor << m_pipeInterleaveLog2); in HwlComputeHtileAddrFromCoord()
1041 UINT_64 nibbleAddress = (pIn->addr ^ (pipeXor << m_pipeInterleaveLog2)) << 1; in HwlComputeHtileCoordFromAddr()
1143 pOut->addr ^= (pipeXor << m_pipeInterleaveLog2); in HwlComputeDccAddrFromCoord()
1205 m_pipeInterleaveLog2 = 8; in HwlInitGlobalParams()
1209 m_pipeInterleaveLog2 = 9; in HwlInitGlobalParams()
[all …]
Dgfx9addrlib.h510 UINT_32 bankBits = Min(macroBlockBits - pipeBits - m_pipeInterleaveLog2, m_banksLog2); in GetBankXorBits()
/third_party/mesa3d/src/amd/addrlib/src/gfx11/
Dgfx11addrlib.cpp478 const UINT_32 pipeXor = ((pIn->pipeXor & pipeMask) << m_pipeInterleaveLog2) & blkMask; in HwlComputeHtileAddrFromCoord()
600 const UINT_32 pipeXor = ((pIn->pipeXor & pipeMask) << m_pipeInterleaveLog2) & blkMask; in HwlComputeDccAddrFromCoord()
667 m_pipeInterleaveLog2 = 8; in HwlInitGlobalParams()
671 m_pipeInterleaveLog2 = 9; in HwlInitGlobalParams()
675 m_pipeInterleaveLog2 = 10; in HwlInitGlobalParams()
679 m_pipeInterleaveLog2 = 11; in HwlInitGlobalParams()
989 metablkSizeLog2 = Max(static_cast<INT_32>(m_pipeInterleaveLog2) + numPipesLog2, 12); in GetMetaBlkSize()
1020 … metablkSizeLog2 = Max(metablkSizeLog2, static_cast<INT_32>(m_pipeInterleaveLog2) + numPipesLog2); in GetMetaBlkSize()
1024 metablkSizeLog2 = Max(static_cast<INT_32>(m_pipeInterleaveLog2) + numPipesLog2, 12); in GetMetaBlkSize()
1065 … metablkSizeLog2 = Max(metablkSizeLog2, static_cast<INT_32>(m_pipeInterleaveLog2) + numPipesLog2); in GetMetaBlkSize()
[all …]
Dgfx11addrlib.h524 return (blockBits > m_pipeInterleaveLog2 + m_pipesLog2 + ColumnBits) ? in GetBankXorBits()
525 Min(blockBits - m_pipeInterleaveLog2 - m_pipesLog2 - ColumnBits, BankBits) : 0; in GetBankXorBits()
/third_party/mesa3d/src/amd/addrlib/src/gfx10/
Dgfx10addrlib.cpp625 const UINT_32 pipeXor = ((pIn->pipeXor & pipeMask) << m_pipeInterleaveLog2) & blkMask; in HwlComputeCmaskAddrFromCoord()
693 const UINT_32 pipeXor = ((pIn->pipeXor & pipeMask) << m_pipeInterleaveLog2) & blkMask; in HwlComputeHtileAddrFromCoord()
832 const UINT_32 pipeXor = ((pIn->pipeXor & pipeMask) << m_pipeInterleaveLog2) & blkMask; in HwlComputeDccAddrFromCoord()
900 m_pipeInterleaveLog2 = 8; in HwlInitGlobalParams()
904 m_pipeInterleaveLog2 = 9; in HwlInitGlobalParams()
908 m_pipeInterleaveLog2 = 10; in HwlInitGlobalParams()
912 m_pipeInterleaveLog2 = 11; in HwlInitGlobalParams()
1338 … metablkSizeLog2 = Max(static_cast<INT_32>(m_pipeInterleaveLog2) + numPipesLog2, 12); in GetMetaBlkSize()
1369 … metablkSizeLog2 = Max(metablkSizeLog2, static_cast<INT_32>(m_pipeInterleaveLog2) + numPipesLog2); in GetMetaBlkSize()
1383 … metablkSizeLog2 = Max(static_cast<INT_32>(m_pipeInterleaveLog2) + numPipesLog2, 12); in GetMetaBlkSize()
[all …]
Dgfx10addrlib.h554 return (blockBits > m_pipeInterleaveLog2 + m_pipesLog2 + ColumnBits) ? in GetBankXorBits()
555 Min(blockBits - m_pipeInterleaveLog2 - m_pipesLog2 - ColumnBits, BankBits) : 0; in GetBankXorBits()
/third_party/mesa3d/src/amd/addrlib/src/core/
Daddrlib2.h850 UINT_32 maxPipeLog2 = GetBlockSizeLog2(swizzleMode) - m_pipeInterleaveLog2; in GetPipeLog2ForMetaAddressing()
907 *pBlockOffset ^= (pipeX << m_pipeInterleaveLog2); in ApplyCustomerPipeBankXor()
908 *pBlockOffset ^= (bankX << (m_pipeInterleaveLog2 + pipeBits)); in ApplyCustomerPipeBankXor()
956 UINT_32 m_pipeInterleaveLog2; ///< Log2 of pipe interleave bytes variable
Daddrlib2.cpp75 m_pipeInterleaveLog2(0), in Lib()
101 m_pipeInterleaveLog2(0), in Lib()
1814 ADDR_ASSERT(macroBlockBits >= m_pipeInterleaveLog2); in GetPipeXorBits()
1817 UINT_32 xorBits = macroBlockBits - m_pipeInterleaveLog2; in GetPipeXorBits()
/third_party/mesa3d/src/amd/common/
Dac_surface_meta_address_test.c76 unsigned m_pipeInterleaveLog2 = 8 + G_0098F8_PIPE_INTERLEAVE_SIZE_GFX9(info->gb_addr_config); in gfx9_meta_addr_from_coord() local
116 return (address >> 1) ^ (pipeXor << m_pipeInterleaveLog2); in gfx9_meta_addr_from_coord()
157 unsigned m_pipeInterleaveLog2 = 8 + G_0098F8_PIPE_INTERLEAVE_SIZE_GFX9(info->gb_addr_config); in gfx10_meta_addr_from_coord() local
162 unsigned pipeXor = ((pipe_xor & pipeMask) << m_pipeInterleaveLog2) & blkMask; in gfx10_meta_addr_from_coord()
Dac_surface.c3162 unsigned m_pipeInterleaveLog2 = 8 + G_0098F8_PIPE_INTERLEAVE_SIZE_GFX9(info->gb_addr_config); in gfx10_nir_meta_addr_from_coord() local
3168 nir_imm_int(b, m_pipeInterleaveLog2)), blkMask); in gfx10_nir_meta_addr_from_coord()
3195 unsigned m_pipeInterleaveLog2 = 8 + G_0098F8_PIPE_INTERLEAVE_SIZE_GFX9(info->gb_addr_config); in gfx9_nir_meta_addr_from_coord() local
3244 nir_ishl(b, pipeXor, nir_imm_int(b, m_pipeInterleaveLog2))); in gfx9_nir_meta_addr_from_coord()