Searched refs:ADDR_ASSERT (Results 1 – 7 of 7) sorted by relevance
163 #define ADDR_ASSERT(__e) if ( !((__e) ? TRUE : FALSE)) { ADDR_DBG_BREAK(); } macro165 #define ADDR_UNHANDLED_CASE() ADDR_ASSERT(!"Unhandled case")166 #define ADDR_NOT_IMPLEMENTED() ADDR_ASSERT(!"Not implemented");168 #define ADDR_ASSERT(__e) macro288 ADDR_ASSERT(dim > 0); in IsPow2()303 ADDR_ASSERT(dim > 0); in IsPow2()322 ADDR_ASSERT(IsPow2(align)); in PowTwoAlign()341 ADDR_ASSERT(IsPow2(align)); in PowTwoAlign()452 ADDR_ASSERT(IsPow2(x)); in Log2()475 ADDR_ASSERT(x <= 16); in QLog2()
329 ADDR_ASSERT(family != ADDR_CHIP_FAMILY_IVLD); in SetAddrChipFamily()456 ADDR_ASSERT(localIn.mipLevel == 0); in ComputeSurfaceInfo()479 ADDR_ASSERT(localIn.tileMode == ADDR_TM_LINEAR_ALIGNED || localIn.height == 1); in ComputeSurfaceInfo()515 ADDR_ASSERT(localIn.pTileInfo); in ComputeSurfaceInfo()543 ADDR_ASSERT(!IsMacroTiled(localIn.tileMode)); in ComputeSurfaceInfo()584 ADDR_ASSERT((pOut->pitchAlign % 32) == 0); in ComputeSurfaceInfo()708 ADDR_ASSERT(!IsMacroTiled(input.tileMode)); in ComputeSurfaceAddrFromCoord()788 ADDR_ASSERT(!IsMacroTiled(input.tileMode)); in ComputeSurfaceCoordFromAddr()1092 ADDR_ASSERT(macroModeIndex != TileIndexInvalid); in ComputeFmaskInfo()1145 ADDR_ASSERT(pIn->numSamples > 1); in ComputeFmaskAddrFromCoord()[all …]
698 ADDR_ASSERT(!"Invalid number type"); in GetCompType()948 ADDR_ASSERT(0); in PixGetColorCompInfo()1015 ADDR_ASSERT(0); in PixGetDepthCompInfo()1139 ADDR_ASSERT(pBpp != NULL); in AdjustSurfaceInfo()1140 ADDR_ASSERT(pWidth != NULL && pHeight != NULL && pBasePitch != NULL); in AdjustSurfaceInfo()1261 ADDR_ASSERT(pBpp != NULL); in RestoreSurfaceInfo()1262 ADDR_ASSERT(pWidth != NULL && pHeight != NULL); in RestoreSurfaceInfo()
220 ADDR_ASSERT(0 == (pIn->colorSurfSize & 0xff)); in HwlComputeDccInfo()232 ADDR_ASSERT(IsPow2(fastClearBaseAlign)); in HwlComputeDccInfo()251 ADDR_ASSERT(IsPow2(pOut->dccRamBaseAlign)); in HwlComputeDccInfo()363 ADDR_ASSERT(!"This should be a unexpected Fusion"); in HwlConvertChipFamily()518 ADDR_ASSERT(index < static_cast<INT_32>(m_noOfEntries)); in HwlPostCheckTileIndex()563 ADDR_ASSERT(((macroModeIndex != TileIndexInvalid) in HwlSetupTileCfg()662 ADDR_ASSERT(tileMode == ADDR_TM_2D_TILED_THIN1 || in HwlComputeFmaskInfo()668 ADDR_ASSERT(m_tileTable[14].mode == ADDR_TM_2D_TILED_THIN1); in HwlComputeFmaskInfo()669 ADDR_ASSERT(m_tileTable[15].mode == ADDR_TM_3D_TILED_THIN1); in HwlComputeFmaskInfo()1169 ADDR_ASSERT((index + 1) < static_cast<INT_32>(m_noOfEntries)); in HwlSetupTileInfo()[all …]
163 ADDR_ASSERT(!"Invalid pipe config"); in GetPipePerSurf()734 ADDR_ASSERT(pTileInfo != NULL); in HwlComputeTileDataWidthAndHeightLinear()1251 ADDR_ASSERT(pIn->width == expPitch); in HwlPreHandleBaseLvl3xPitch()1261 ADDR_ASSERT(IsPow2(expPitch)); in HwlPreHandleBaseLvl3xPitch()1383 ADDR_ASSERT(numSamples == 1); in HwlGetSizeAdjustmentMicroTiled()1435 ADDR_ASSERT(!"This should be a Fusion"); in HwlConvertChipFamily()1533 ADDR_ASSERT(bpp != 128); in HwlSetupTileInfo()1540 ADDR_ASSERT(numSamples == 4); in HwlSetupTileInfo()1849 ADDR_ASSERT(m_logicalBanks <= 16); in DecodeGbRegs()2020 ADDR_ASSERT(pTileInfo->bankWidth == 1 && pTileInfo->macroAspectRatio > 1); in HwlComputeSurfaceCoord2DFromBankPipe()[all …]
117 ADDR_ASSERT(pOut->pTileInfo); in DispatchComputeSurfaceInfo()243 ADDR_ASSERT((pIn->width % 8) == 0); in ComputeSurfaceInfoLinear()738 ADDR_ASSERT((pTileInfo->bankHeight % bankHeightAlign) == 0); in HwlReduceBankWidthHeight()898 ADDR_ASSERT((PrtTileSize % macroTileSize) == 0); in ComputeSurfaceAlignmentsMacroTiled()1006 ADDR_ASSERT(valid == TRUE); in SanityCheckMacroTiled()1009 ADDR_ASSERT(numPipes * pTileInfo->banks >= 4); in SanityCheckMacroTiled()1121 ADDR_ASSERT(IsMacroTiled(pIn->tileMode)); in HwlDegradeBaseLevel()1127 ADDR_ASSERT(pIn->pTileInfo); in HwlDegradeBaseLevel()1187 ADDR_ASSERT(numSlices < ComputeSurfaceThickness(baseTileMode)); in HwlDegradeThickTileMode()1295 ADDR_ASSERT(sample < numSamples); in DispatchComputeSurfaceAddrFromCoord()[all …]
565 ADDR_ASSERT(pLib != NULL); in AddrGetVersion()589 ADDR_ASSERT(pLib != NULL); in AddrUseTileIndex()613 ADDR_ASSERT(pLib != NULL); in AddrUseCombinedSwizzle()843 ADDR_ASSERT(returnCode == ADDR_OK); in ElemGetExportNorm()