Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/i915/gt/
H A Dintel_wopcm.c166 const u32 ctx_rsvd = context_reserved_size(i915); in __check_layout() local
169 size = wopcm_size - ctx_rsvd; in __check_layout()
239 u32 ctx_rsvd = context_reserved_size(i915); in intel_wopcm_init() local
252 GEM_BUG_ON(ctx_rsvd + WOPCM_RESERVED_SIZE >= 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()
/linux/drivers/gpu/drm/xe/
H A Dxe_wopcm.c91 const u32 ctx_rsvd = context_reserved_size(); in __check_layout() local
94 size = wopcm_size - ctx_rsvd; in __check_layout()
203 u32 ctx_rsvd = context_reserved_size(); in xe_wopcm_init() local
218 XE_WARN_ON(ctx_rsvd + WOPCM_RESERVED_SIZE >= wopcm->size); in xe_wopcm_init()
245 guc_wopcm_base = min(guc_wopcm_base, wopcm->size - ctx_rsvd); in xe_wopcm_init()
248 guc_wopcm_size = wopcm->size - ctx_rsvd - guc_wopcm_base; in xe_wopcm_init()