Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Dintel_wopcm.c66 static inline struct drm_i915_private *wopcm_to_i915(struct intel_wopcm *wopcm) in wopcm_to_i915() argument
68 return container_of(wopcm, struct drm_i915_private, wopcm); in wopcm_to_i915()
77 void intel_wopcm_init_early(struct intel_wopcm *wopcm) in intel_wopcm_init_early() argument
79 struct drm_i915_private *i915 = wopcm_to_i915(wopcm); in intel_wopcm_init_early()
85 wopcm->size = GEN11_WOPCM_SIZE; in intel_wopcm_init_early()
87 wopcm->size = GEN9_WOPCM_SIZE; in intel_wopcm_init_early()
89 drm_dbg(&i915->drm, "WOPCM: %uK\n", wopcm->size / 1024); in intel_wopcm_init_early()
220 void intel_wopcm_init(struct intel_wopcm *wopcm) in intel_wopcm_init() argument
222 struct drm_i915_private *i915 = wopcm_to_i915(wopcm); in intel_wopcm_init()
233 GEM_BUG_ON(!wopcm->size); in intel_wopcm_init()
[all …]
Dintel_wopcm.h37 static inline u32 intel_wopcm_guc_base(struct intel_wopcm *wopcm) in intel_wopcm_guc_base() argument
39 return wopcm->guc.base; in intel_wopcm_guc_base()
52 static inline u32 intel_wopcm_guc_size(struct intel_wopcm *wopcm) in intel_wopcm_guc_size() argument
54 return wopcm->guc.size; in intel_wopcm_guc_size()
57 void intel_wopcm_init_early(struct intel_wopcm *wopcm);
58 void intel_wopcm_init(struct intel_wopcm *wopcm);
Di915_gem.c1121 intel_wopcm_init(&dev_priv->wopcm); in i915_gem_init()
Di915_drv.c336 intel_wopcm_init_early(&dev_priv->wopcm); in i915_driver_early_probe()
Di915_drv.h859 struct intel_wopcm wopcm; member
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/uc/
Dintel_uc_fw.c282 GEM_BUG_ON(!i915->wopcm.size); in intel_uc_fw_fetch()
344 if (unlikely(size >= i915->wopcm.size)) { in intel_uc_fw_fetch()
347 size, (size_t)i915->wopcm.size); in intel_uc_fw_fetch()
Dintel_uc.c350 u32 base = intel_wopcm_guc_base(&gt->i915->wopcm); in uc_init_wopcm()
351 u32 size = intel_wopcm_guc_size(&gt->i915->wopcm); in uc_init_wopcm()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c521 intel_wopcm_guc_size(&ggtt->vm.i915->wopcm)); in init_ggtt()