Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_wopcm.c72 static inline struct xe_gt *wopcm_to_gt(struct xe_wopcm *wopcm) in wopcm_to_gt() argument
74 return container_of(wopcm, struct xe_gt, uc.wopcm); in wopcm_to_gt()
77 static inline struct xe_device *wopcm_to_xe(struct xe_wopcm *wopcm) in wopcm_to_xe() argument
79 return gt_to_xe(wopcm_to_gt(wopcm)); in wopcm_to_xe()
139 struct xe_wopcm *wopcm) in __wopcm_init_regs() argument
141 u32 base = wopcm->guc.base; in __wopcm_init_regs()
142 u32 size = wopcm->guc.size; in __wopcm_init_regs()
197 int xe_wopcm_init(struct xe_wopcm *wopcm) in xe_wopcm_init() argument
199 struct xe_device *xe = wopcm_to_xe(wopcm); in xe_wopcm_init()
200 struct xe_gt *gt = wopcm_to_gt(wopcm); in xe_wopcm_init()
[all …]
Dxe_wopcm.h13 int xe_wopcm_init(struct xe_wopcm *wopcm);
Dxe_uc_types.h25 struct xe_wopcm wopcm; member
Dxe_uc.c61 ret = xe_wopcm_init(&uc->wopcm); in xe_uc_init()
Dxe_gt.c698 err = xe_wopcm_init(&gt->uc.wopcm); in do_gt_restart()
/linux-6.12.1/drivers/gpu/drm/i915/gt/
Dintel_wopcm.c67 static inline struct intel_gt *wopcm_to_gt(struct intel_wopcm *wopcm) in wopcm_to_gt() argument
69 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() argument
80 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() argument
235 struct intel_gt *gt = wopcm_to_gt(wopcm); in intel_wopcm_init()
240 u32 wopcm_size = 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);
Dintel_gt_types.h107 struct intel_wopcm wopcm; member
Dintel_gt.c57 intel_wopcm_init_early(&gt->wopcm); in intel_gt_common_init_early()
Dintel_ggtt.c838 intel_wopcm_guc_size(&ggtt->vm.gt->wopcm)); in init_ggtt()
/linux-6.12.1/drivers/gpu/drm/i915/gt/uc/
Dintel_uc.c366 u32 base = intel_wopcm_guc_base(&gt->wopcm); in uc_init_wopcm()
367 u32 size = intel_wopcm_guc_size(&gt->wopcm); in uc_init_wopcm()
Dintel_uc_fw.c682 if (unlikely(size >= gt->wopcm.size)) { in __check_ccs_header()
685 size, (size_t)gt->wopcm.size); in __check_ccs_header()
905 GEM_BUG_ON(!gt->wopcm.size); in intel_uc_fw_fetch()
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_gem.c1167 intel_wopcm_init(&gt->wopcm); in i915_gem_init()