/third_party/mesa3d/src/amd/addrlib/src/core/ |
D | addrlib2.h | 333 BOOL_32 IsValidSwMode(AddrSwizzleMode swizzleMode) const in IsValidSwMode() argument 335 return (m_swizzleModeTable[swizzleMode].u32All != 0); in IsValidSwMode() 339 BOOL_32 IsBlock256b(AddrSwizzleMode swizzleMode) const in IsBlock256b() argument 341 return m_swizzleModeTable[swizzleMode].is256b; in IsBlock256b() 344 BOOL_32 IsBlock4kb(AddrSwizzleMode swizzleMode) const in IsBlock4kb() argument 346 return m_swizzleModeTable[swizzleMode].is4kb; in IsBlock4kb() 349 BOOL_32 IsBlock64kb(AddrSwizzleMode swizzleMode) const in IsBlock64kb() argument 351 return m_swizzleModeTable[swizzleMode].is64kb; in IsBlock64kb() 354 BOOL_32 IsBlockVariable(AddrSwizzleMode swizzleMode) const in IsBlockVariable() argument 356 return m_swizzleModeTable[swizzleMode].isVar; in IsBlockVariable() [all …]
|
D | addrlib2.cpp | 211 ADDR_ASSERT(IsLinear(localIn.swizzleMode)); in ComputeSurfaceInfo() 248 if (IsLinear(pIn->swizzleMode)) in ComputeSurfaceInfo() 377 if (IsLinear(localIn.swizzleMode)) in ComputeSurfaceAddrFromCoord() 432 if (IsLinear(pIn->swizzleMode)) in ComputeSurfaceCoordFromAddr() 656 BOOL_32 valid = (IsZOrderSwizzle(pIn->swizzleMode) == TRUE) && in ComputeFmaskInfo() 680 localIn.swizzleMode = pIn->swizzleMode; in ComputeFmaskInfo() 897 else if ((IsThin(pIn->resourceType, pIn->swizzleMode) == FALSE) || in ComputeSlicePipeBankXor() 898 (IsNonPrtXor(pIn->swizzleMode) == FALSE) || in ComputeSlicePipeBankXor() 1417 AddrSwizzleMode swizzleMode) const in ComputeBlockDimensionForSurf() 1421 if (IsThick(resourceType, swizzleMode)) in ComputeBlockDimensionForSurf() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/gfx9/ |
D | gfx9addrlib.h | 240 AddrSwizzleMode swizzleMode; member 272 AddrSwizzleMode swizzleMode) const in HwlIsStandardSwizzle() argument 274 return m_swizzleModeTable[swizzleMode].isStd || in HwlIsStandardSwizzle() 275 (IsTex3d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp); in HwlIsStandardSwizzle() 280 AddrSwizzleMode swizzleMode) const in HwlIsDisplaySwizzle() argument 282 return IsTex2d(resourceType) && m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle() 287 AddrSwizzleMode swizzleMode) const in HwlIsThin() argument 291 (m_swizzleModeTable[swizzleMode].isZ == FALSE) && in HwlIsThin() 292 (m_swizzleModeTable[swizzleMode].isStd == FALSE))); in HwlIsThin() 297 AddrSwizzleMode swizzleMode) const in HwlIsThick() argument [all …]
|
D | gfx9addrlib.cpp | 166 pIn->swizzleMode); in HwlComputeHtileInfo() 225 if ((IsXor(pIn->swizzleMode) == FALSE) && (numPipeTotal > 2)) in HwlComputeHtileInfo() 234 align = Max(align, GetBlockSize(pIn->swizzleMode)); in HwlComputeHtileInfo() 281 pIn->swizzleMode); in HwlComputeCmaskInfo() 338 sizeAlign = Max(sizeAlign, GetBlockSize(pIn->swizzleMode)); in HwlComputeCmaskInfo() 359 Gfx9DataFmask, pIn->swizzleMode, pIn->resourceType, in HwlComputeCmaskInfo() 394 pIn->swizzleMode); in HwlComputeCmaskInfo() 589 BOOL_32 dataLinear = IsLinear(pIn->swizzleMode); in HwlComputeDccInfo() 602 UINT_32 numPipeTotal = GetPipeNumForMetaAddressing(pipeAligned, pIn->swizzleMode); in HwlComputeDccInfo() 614 BOOL_32 dataThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/gfx11/ |
D | gfx11addrlib.h | 204 AddrSwizzleMode swizzleMode) const in HwlIsStandardSwizzle() argument 206 return m_swizzleModeTable[swizzleMode].isStd; in HwlIsStandardSwizzle() 211 AddrSwizzleMode swizzleMode) const in HwlIsDisplaySwizzle() argument 213 return m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle() 218 AddrSwizzleMode swizzleMode) const in HwlIsThin() argument 223 (m_swizzleModeTable[swizzleMode].isStd == FALSE) && in HwlIsThin() 224 (m_swizzleModeTable[swizzleMode].isDisp == FALSE))); in HwlIsThin() 229 AddrSwizzleMode swizzleMode) const in HwlIsThick() argument 232 (m_swizzleModeTable[swizzleMode].isStd || m_swizzleModeTable[swizzleMode].isDisp)); in HwlIsThick() 370 AddrSwizzleMode swizzleMode, [all …]
|
D | gfx11addrlib.cpp | 168 if ((pIn->swizzleMode != ADDR_SW_64KB_Z_X) && in HwlComputeHtileInfo() 169 (pIn->swizzleMode != ADDR_SW_256KB_Z_X) && in HwlComputeHtileInfo() 179 pIn->swizzleMode, in HwlComputeHtileInfo() 286 if (IsLinear(pIn->swizzleMode) || IsBlock256b(pIn->swizzleMode)) in HwlComputeDccInfo() 294 const BOOL_32 isThick = IsThick(pIn->resourceType, pIn->swizzleMode); in HwlComputeDccInfo() 306 pIn->swizzleMode, in HwlComputeDccInfo() 391 const UINT_8* patIdxTable = (pIn->swizzleMode == ADDR_SW_64KB_R_X) ? in HwlComputeDccInfo() 449 input.swizzleMode = pIn->swizzleMode; in HwlComputeHtileAddrFromCoord() 526 ((pIn->swizzleMode != ADDR_SW_64KB_R_X) && in HwlSupportComputeDccAddrFromCoord() 527 (pIn->swizzleMode != ADDR_SW_256KB_R_X)) || in HwlSupportComputeDccAddrFromCoord() [all …]
|
/third_party/mesa3d/src/amd/addrlib/src/gfx10/ |
D | gfx10addrlib.h | 221 AddrSwizzleMode swizzleMode) const in HwlIsStandardSwizzle() argument 223 return m_swizzleModeTable[swizzleMode].isStd; in HwlIsStandardSwizzle() 228 AddrSwizzleMode swizzleMode) const in HwlIsDisplaySwizzle() argument 230 return m_swizzleModeTable[swizzleMode].isDisp; in HwlIsDisplaySwizzle() 235 AddrSwizzleMode swizzleMode) const in HwlIsThin() argument 240 (m_swizzleModeTable[swizzleMode].isStd == FALSE) && in HwlIsThin() 241 (m_swizzleModeTable[swizzleMode].isDisp == FALSE))); in HwlIsThin() 246 AddrSwizzleMode swizzleMode) const in HwlIsThick() argument 249 (m_swizzleModeTable[swizzleMode].isStd || m_swizzleModeTable[swizzleMode].isDisp)); in HwlIsThick() 395 AddrSwizzleMode swizzleMode, [all …]
|
D | gfx10addrlib.cpp | 167 if (((pIn->swizzleMode != ADDR_SW_64KB_Z_X) && in HwlComputeHtileInfo() 168 ((pIn->swizzleMode != ADDR_SW_VAR_Z_X) || (m_blockVarSizeLog2 == 0))) || in HwlComputeHtileInfo() 178 pIn->swizzleMode, in HwlComputeHtileInfo() 287 ((pIn->swizzleMode != ADDR_SW_64KB_Z_X) && in HwlComputeCmaskInfo() 288 ((pIn->swizzleMode != ADDR_SW_VAR_Z_X) || (m_blockVarSizeLog2 == 0)))) in HwlComputeCmaskInfo() 297 pIn->swizzleMode, in HwlComputeCmaskInfo() 377 (pIn->swizzleMode == ADDR_SW_VAR_Z_X) ? GFX10_CMASK_VAR_RBPLUS_PATIDX : in HwlComputeCmaskInfo() 405 if (IsLinear(pIn->swizzleMode) || IsBlock256b(pIn->swizzleMode)) in HwlComputeDccInfo() 411 …if (m_settings.dccUnsup3DSwDis && IsTex3d(pIn->resourceType) && IsDisplaySwizzle(pIn->swizzleMode)) in HwlComputeDccInfo() 422 ADDR_ASSERT(IsRtOptSwizzle(pIn->swizzleMode)); in HwlComputeDccInfo() [all …]
|
/third_party/mesa3d/src/amd/addrlib/inc/ |
D | addrinterface.h | 2433 AddrSwizzleMode swizzleMode; ///< Swizzle Mode for Gfx9 member 2562 AddrSwizzleMode swizzleMode; ///< Swizzle mode for Gfx9 member 2628 AddrSwizzleMode swizzleMode; ///< Swizzle mode for Gfx9 member 2752 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member 2827 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member 2883 AddrSwizzleMode swizzleMode; ///< Depth surface swizzle mode member 2946 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member 3049 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member 3110 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member 3188 AddrSwizzleMode swizzleMode; ///< FMask surface swizzle mode member [all …]
|
/third_party/mesa3d/src/amd/common/ |
D | ac_surface_meta_address_test.c | 217 xin.swizzleMode = in.swizzleMode = din.swizzleMode = swizzle_mode; in one_dcc_address_test() 442 hin.swizzleMode = in.swizzleMode = xin.swizzleMode = swizzle_mode; in one_htile_address_test() 592 cin.swizzleMode = xin.swizzleMode = in.swizzleMode = swizzle_mode; in one_cmask_address_test()
|
D | ac_surface.c | 1506 *swizzle_mode = sout.swizzleMode; in gfx9_get_preferred_swizzle_mode() 1741 surf->u.gfx9.zs.stencil_swizzle_mode = in->swizzleMode; in gfx9_compute_miptree() 1750 surf->u.gfx9.swizzle_mode = in->swizzleMode; in gfx9_compute_miptree() 1784 if (in->swizzleMode == ADDR_SW_LINEAR) { in gfx9_compute_miptree() 1797 assert(in->swizzleMode != ADDR_SW_LINEAR); in gfx9_compute_miptree() 1817 hin.swizzleMode = in->swizzleMode; in gfx9_compute_miptree() 1859 if (config->info.surf_index && in->swizzleMode >= ADDR_SW_64KB_Z_T && !out.mipChainInTail && in gfx9_compute_miptree() 1869 xin.swizzleMode = in->swizzleMode; in gfx9_compute_miptree() 1888 is_dcc_supported_by_CB(info, in->swizzleMode) && in gfx9_compute_miptree() 1907 din.swizzleMode = in->swizzleMode; in gfx9_compute_miptree() [all …]
|
D | ac_surface_modifier_test.c | 78 din.swizzleMode = surf->u.gfx9.swizzle_mode; in get_addr_from_coord_base() 95 dcc_input.swizzleMode = surf->u.gfx9.swizzle_mode; in get_addr_from_coord_base() 133 input.swizzleMode = surf->u.gfx9.swizzle_mode; in generate_hash()
|
/third_party/mesa3d/src/amd/addrlib/src/ |
D | addrinterface.cpp | 1775 AddrSwizzleMode swizzleMode, in Addr2IsValidDisplaySwizzleMode() argument 1787 in.swizzleMode = swizzleMode; in Addr2IsValidDisplaySwizzleMode()
|