Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_wopcm.c105 u32 guc_wopcm_base, u32 guc_wopcm_size) in gen9_check_dword_gap() argument
114 offset = guc_wopcm_base + GEN9_GUC_WOPCM_OFFSET; in gen9_check_dword_gap()
147 u32 guc_wopcm_base, u32 guc_wopcm_size, in check_hw_restrictions() argument
150 if (GRAPHICS_VER(i915) == 9 && !gen9_check_dword_gap(i915, guc_wopcm_base, in check_hw_restrictions()
162 u32 guc_wopcm_base, u32 guc_wopcm_size, in __check_layout() argument
170 if (unlikely(range_overflows(guc_wopcm_base, guc_wopcm_size, size))) { in __check_layout()
173 guc_wopcm_base / SZ_1K, guc_wopcm_size / SZ_1K, in __check_layout()
188 if (unlikely(guc_wopcm_base < size)) { in __check_layout()
191 guc_wopcm_base / SZ_1K, size / SZ_1K); in __check_layout()
196 return check_hw_restrictions(i915, guc_wopcm_base, guc_wopcm_size, in __check_layout()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_wopcm.c88 u32 guc_wopcm_base, u32 guc_wopcm_size, in __check_layout() argument
95 if (unlikely(guc_wopcm_base >= size || in __check_layout()
96 guc_wopcm_size > size - guc_wopcm_base)) { in __check_layout()
99 guc_wopcm_base / SZ_1K, guc_wopcm_size / SZ_1K, in __check_layout()
113 if (unlikely(guc_wopcm_base < size)) { in __check_layout()
116 guc_wopcm_base / SZ_1K, size / SZ_1K); in __check_layout()
124 u32 *guc_wopcm_base, u32 *guc_wopcm_size) in __wopcm_regs_locked() argument
133 *guc_wopcm_base = reg_base & GUC_WOPCM_OFFSET_MASK; in __wopcm_regs_locked()
204 u32 guc_wopcm_base; in xe_wopcm_init() local
220 locked = __wopcm_regs_locked(gt, &guc_wopcm_base, &guc_wopcm_size); in xe_wopcm_init()
[all …]