Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpu/drm/i915/gt/
H A 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 …]