Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_lmtt_2l.c67 #define LMTT_2L_PTE_MAX_NUM BIT(LMTT_2L_HAW - ilog2(SZ_2M)) macro
82 BUILD_BUG_ON(LMTT_2L_HAW == 37 && LMTT_2L_PTE_MAX_NUM != SZ_64K); in lmtt_2l_pte_num()
83 BUILD_BUG_ON(LMTT_2L_HAW == 35 && LMTT_2L_PTE_MAX_NUM != SZ_16K); in lmtt_2l_pte_num()
84 return LMTT_2L_PTE_MAX_NUM; in lmtt_2l_pte_num()
119 BUILD_BUG_ON_NOT_POWER_OF_2(LMTT_2L_PTE_MAX_NUM); in lmtt_2l_pte_index()
120 return addr & (LMTT_2L_PTE_MAX_NUM - 1); in lmtt_2l_pte_index()