Lines Matching refs:blockSet
3255 ADDR2_BLOCK_SET blockSet; in HwlGetPreferredSurfaceSetting() local
3256 blockSet.value = 0; in HwlGetPreferredSurfaceSetting()
3278 blockSet.value = AddrBlockSetMacro; in HwlGetPreferredSurfaceSetting()
3300 blockSet.value = AddrBlockSetMacro; in HwlGetPreferredSurfaceSetting()
3306 blockSet.value |= AddrBlockSetLinear; in HwlGetPreferredSurfaceSetting()
3317 blockSet.value = AddrBlockSetLinear | AddrBlockSetMacro; in HwlGetPreferredSurfaceSetting()
3324 blockSet.value = AddrBlockSetLinear | AddrBlockSetMacro; in HwlGetPreferredSurfaceSetting()
3365 blockSet.value = AddrBlockSetLinear | AddrBlockSetMacro; in HwlGetPreferredSurfaceSetting()
3370 blockSet.value = AddrBlockSetMacro; in HwlGetPreferredSurfaceSetting()
3375 blockSet.value = AddrBlockSetLinear | AddrBlockSetMicro | AddrBlockSetMacro; in HwlGetPreferredSurfaceSetting()
3385 blockSet.value = 0; in HwlGetPreferredSurfaceSetting()
3391 blockSet.micro = FALSE; in HwlGetPreferredSurfaceSetting()
3413 blockSet.micro = FALSE; in HwlGetPreferredSurfaceSetting()
3472 blockSet.macro4KB = FALSE; in HwlGetPreferredSurfaceSetting()
3477 blockSet.value &= AddrBlockSetMacro64KB; in HwlGetPreferredSurfaceSetting()
3481 blockSet.value &= ~pIn->forbiddenBlock.value; in HwlGetPreferredSurfaceSetting()
3487 blockSet.macro64KB = FALSE; in HwlGetPreferredSurfaceSetting()
3492 blockSet.macro4KB = FALSE; in HwlGetPreferredSurfaceSetting()
3497 blockSet.micro = FALSE; in HwlGetPreferredSurfaceSetting()
3505 if (blockSet.micro) in HwlGetPreferredSurfaceSetting()
3525 blockSet.macro4KB = FALSE; in HwlGetPreferredSurfaceSetting()
3526 blockSet.macro64KB = FALSE; in HwlGetPreferredSurfaceSetting()
3527 blockSet.var = FALSE; in HwlGetPreferredSurfaceSetting()
3535 if ((returnCode == ADDR_OK) && blockSet.macro4KB) in HwlGetPreferredSurfaceSetting()
3559 if ((returnCode == ADDR_OK) && blockSet.macro64KB) in HwlGetPreferredSurfaceSetting()
3598 if (blockSet.macro64KB && in HwlGetPreferredSurfaceSetting()
3599 ((blockSet.micro && (padSize[AddrBlockMicro] < padSize[AddrBlock64KB])) || in HwlGetPreferredSurfaceSetting()
3600 (blockSet.macro4KB && (padSize[AddrBlock4KB] < padSize[AddrBlock64KB])))) in HwlGetPreferredSurfaceSetting()
3602 blockSet.macro64KB = FALSE; in HwlGetPreferredSurfaceSetting()
3607 if (blockSet.macro4KB && in HwlGetPreferredSurfaceSetting()
3608 blockSet.micro && in HwlGetPreferredSurfaceSetting()
3611 blockSet.macro4KB = FALSE; in HwlGetPreferredSurfaceSetting()
3617 UINT_64 threshold = blockSet.micro ? padSize[AddrBlockMicro] : in HwlGetPreferredSurfaceSetting()
3618 … (blockSet.macro4KB ? padSize[AddrBlock4KB] : padSize[AddrBlock64KB]); in HwlGetPreferredSurfaceSetting()
3622 if (blockSet.macro64KB && (padSize[AddrBlock64KB] > threshold)) in HwlGetPreferredSurfaceSetting()
3624 blockSet.macro64KB = FALSE; in HwlGetPreferredSurfaceSetting()
3627 if (blockSet.macro4KB && (padSize[AddrBlock4KB] > threshold)) in HwlGetPreferredSurfaceSetting()
3629 blockSet.macro4KB = FALSE; in HwlGetPreferredSurfaceSetting()
3634 if (blockSet.macro64KB && in HwlGetPreferredSurfaceSetting()
3636 ((blockSet.value & ~AddrBlockSetMacro64KB) != 0)) in HwlGetPreferredSurfaceSetting()
3640 blockSet.macro64KB = FALSE; in HwlGetPreferredSurfaceSetting()
3644 if (blockSet.value == 0) in HwlGetPreferredSurfaceSetting()
3653 pOut->validBlockSet = blockSet; in HwlGetPreferredSurfaceSetting()
3655 (blockSet.macro4KB || blockSet.macro64KB || blockSet.var); in HwlGetPreferredSurfaceSetting()
3657 if (blockSet.macro64KB || blockSet.macro4KB) in HwlGetPreferredSurfaceSetting()
3661 pOut->swizzleMode = blockSet.macro64KB ? ADDR_SW_64KB_Z : ADDR_SW_4KB_Z; in HwlGetPreferredSurfaceSetting()
3665 pOut->swizzleMode = blockSet.macro64KB ? ADDR_SW_64KB_S : ADDR_SW_4KB_S; in HwlGetPreferredSurfaceSetting()
3669 pOut->swizzleMode = blockSet.macro64KB ? ADDR_SW_64KB_D : ADDR_SW_4KB_D; in HwlGetPreferredSurfaceSetting()
3674 pOut->swizzleMode = blockSet.macro64KB ? ADDR_SW_64KB_R : ADDR_SW_4KB_R; in HwlGetPreferredSurfaceSetting()
3677 if (prtXor && blockSet.macro64KB) in HwlGetPreferredSurfaceSetting()
3690 else if (blockSet.micro) in HwlGetPreferredSurfaceSetting()
3706 else if (blockSet.linear) in HwlGetPreferredSurfaceSetting()
3713 ADDR_ASSERT(blockSet.var); in HwlGetPreferredSurfaceSetting()