Searched refs:wopcm (Results 1 – 8 of 8) sorted by relevance
66 static inline struct drm_i915_private *wopcm_to_i915(struct intel_wopcm *wopcm) in wopcm_to_i915() argument68 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() argument79 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() argument222 struct drm_i915_private *i915 = wopcm_to_i915(wopcm); in intel_wopcm_init()233 GEM_BUG_ON(!wopcm->size); in intel_wopcm_init()[all …]
37 static inline u32 intel_wopcm_guc_base(struct intel_wopcm *wopcm) in intel_wopcm_guc_base() argument39 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() argument54 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);
1121 intel_wopcm_init(&dev_priv->wopcm); in i915_gem_init()
336 intel_wopcm_init_early(&dev_priv->wopcm); in i915_driver_early_probe()
859 struct intel_wopcm wopcm; member
282 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()
350 u32 base = intel_wopcm_guc_base(>->i915->wopcm); in uc_init_wopcm()351 u32 size = intel_wopcm_guc_size(>->i915->wopcm); in uc_init_wopcm()
521 intel_wopcm_guc_size(&ggtt->vm.i915->wopcm)); in init_ggtt()