Searched refs:wopcm (Results 1 – 8 of 8) sorted by relevance
67 static inline struct intel_gt *wopcm_to_gt(struct intel_wopcm *wopcm) in wopcm_to_gt() argument69 return container_of(wopcm, struct intel_gt, wopcm); in wopcm_to_gt()78 void intel_wopcm_init_early(struct intel_wopcm *wopcm) in intel_wopcm_init_early() argument80 struct intel_gt *gt = wopcm_to_gt(wopcm); in intel_wopcm_init_early()87 wopcm->size = GEN11_WOPCM_SIZE; in intel_wopcm_init_early()89 wopcm->size = GEN9_WOPCM_SIZE; in intel_wopcm_init_early()91 drm_dbg(&i915->drm, "WOPCM: %uK\n", wopcm->size / 1024); in intel_wopcm_init_early()233 void intel_wopcm_init(struct intel_wopcm *wopcm) in intel_wopcm_init() argument235 struct intel_gt *gt = wopcm_to_gt(wopcm); in intel_wopcm_init()240 u32 wopcm_size = 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);
107 struct intel_wopcm wopcm; member
57 intel_wopcm_init_early(>->wopcm); in intel_gt_common_init_early()
602 intel_wopcm_guc_size(&ggtt->vm.gt->wopcm)); in init_ggtt()
375 u32 base = intel_wopcm_guc_base(>->wopcm); in uc_init_wopcm()376 u32 size = intel_wopcm_guc_size(>->wopcm); in uc_init_wopcm()
666 if (unlikely(size >= gt->wopcm.size)) { in __check_ccs_header()669 size, (size_t)gt->wopcm.size); in __check_ccs_header()883 GEM_BUG_ON(!gt->wopcm.size); in intel_uc_fw_fetch()
1174 intel_wopcm_init(>->wopcm); in i915_gem_init()