Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_wopcm.c161 static bool __check_layout(struct intel_gt *gt, u32 wopcm_size, in __check_layout() argument
169 size = wopcm_size - ctx_rsvd; in __check_layout()
240 u32 wopcm_size = wopcm->size; in intel_wopcm_init() local
247 GEM_BUG_ON(!wopcm_size); in intel_wopcm_init()
250 GEM_BUG_ON(guc_fw_size >= wopcm_size); in intel_wopcm_init()
251 GEM_BUG_ON(huc_fw_size >= wopcm_size); in intel_wopcm_init()
252 GEM_BUG_ON(ctx_rsvd + WOPCM_RESERVED_SIZE >= wopcm_size); in intel_wopcm_init()
276 wopcm_size = MAX_WOPCM_SIZE; in intel_wopcm_init()
305 guc_wopcm_base = min(guc_wopcm_base, wopcm_size - ctx_rsvd); in intel_wopcm_init()
308 guc_wopcm_size = wopcm_size - ctx_rsvd - guc_wopcm_base; in intel_wopcm_init()
[all …]
/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_ttm_stolen_mgr.c94 u32 wopcm_size; in get_wopcm_size() local
105 wopcm_size = (1U << val) * SZ_1M; in get_wopcm_size()
109 wopcm_size = 0; in get_wopcm_size()
112 return wopcm_size; in get_wopcm_size()
119 u32 stolen_size, wopcm_size; in detect_bar2_integrated() local
155 wopcm_size = get_wopcm_size(xe); in detect_bar2_integrated()
156 if (drm_WARN_ON(&xe->drm, !wopcm_size)) in detect_bar2_integrated()
159 stolen_size -= wopcm_size; in detect_bar2_integrated()
Dxe_wopcm.c87 static bool __check_layout(struct xe_device *xe, u32 wopcm_size, in __check_layout() argument
94 size = wopcm_size - ctx_rsvd; in __check_layout()