Searched refs:wopcm_size (Results 1 – 3 of 3) sorted by relevance
161 static bool __check_layout(struct intel_gt *gt, u32 wopcm_size, in __check_layout() argument169 size = wopcm_size - ctx_rsvd; in __check_layout()240 u32 wopcm_size = wopcm->size; in intel_wopcm_init() local247 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 …]
94 u32 wopcm_size; in get_wopcm_size() local105 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() local155 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()
87 static bool __check_layout(struct xe_device *xe, u32 wopcm_size, in __check_layout() argument94 size = wopcm_size - ctx_rsvd; in __check_layout()