Home
last modified time | relevance | path

Searched refs:xe_guc_buf (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/drivers/gpu/drm/xe/
H A Dxe_guc_buf.h16 struct xe_guc_buf xe_guc_buf_reserve(struct xe_guc_buf_cache *cache, u32 dwords);
17 struct xe_guc_buf xe_guc_buf_from_data(struct xe_guc_buf_cache *cache,
19 void xe_guc_buf_release(const struct xe_guc_buf buf);
27 static inline bool xe_guc_buf_is_valid(const struct xe_guc_buf buf) in xe_guc_buf_is_valid()
32 void *xe_guc_buf_cpu_ptr(const struct xe_guc_buf buf);
33 u64 xe_guc_buf_flush(const struct xe_guc_buf buf);
34 u64 xe_guc_buf_gpu_addr(const struct xe_guc_buf buf);
37 DEFINE_CLASS(xe_guc_buf, struct xe_guc_buf,
42 DEFINE_CLASS(xe_guc_buf_from_data, struct xe_guc_buf,
H A Dxe_guc_buf.c76 struct xe_guc_buf xe_guc_buf_reserve(struct xe_guc_buf_cache *cache, u32 dwords) in xe_guc_buf_reserve()
85 return (struct xe_guc_buf){ .sa = sa }; in xe_guc_buf_reserve()
98 struct xe_guc_buf xe_guc_buf_from_data(struct xe_guc_buf_cache *cache, in xe_guc_buf_from_data()
107 return (struct xe_guc_buf){ .sa = sa }; in xe_guc_buf_from_data()
116 void xe_guc_buf_release(const struct xe_guc_buf buf) in xe_guc_buf_release()
128 u64 xe_guc_buf_flush(const struct xe_guc_buf buf) in xe_guc_buf_flush()
140 void *xe_guc_buf_cpu_ptr(const struct xe_guc_buf buf) in xe_guc_buf_cpu_ptr()
151 u64 xe_guc_buf_gpu_addr(const struct xe_guc_buf buf) in xe_guc_buf_gpu_addr()
H A Dxe_guc_buf_types.h23 struct xe_guc_buf { struct
H A Dxe_gt_sriov_pf_policy.c38 static int pf_send_policy_klvs(struct xe_gt *gt, struct xe_guc_buf buf, u32 num_dwords) in pf_send_policy_klvs()
50 struct xe_guc_buf buf, u32 num_dwords) in pf_push_policy_buf_klvs()
H A DMakefile60 xe_guc_buf.o \
H A Dxe_gt_sriov_pf_config.c75 static int pf_send_vf_buf_klvs(struct xe_gt *gt, u32 vfid, struct xe_guc_buf buf, u32 num_dwords) in pf_send_vf_buf_klvs()
87 struct xe_guc_buf buf, u32 num_dwords) in pf_push_vf_buf_klvs()
310 CLASS(xe_guc_buf, buf)(&gt->uc.guc.buf, max_cfg_dwords); in pf_push_full_vf_config()
/linux-6.15/drivers/gpu/drm/xe/tests/
H A Dxe_guc_buf_kunit.c85 struct xe_guc_buf buf; in test_smallest()
99 struct xe_guc_buf buf; in test_largest()
113 struct xe_guc_buf *bufs; in test_granular()
133 struct xe_guc_buf *bufs; in test_unique()
159 struct xe_guc_buf b1, b2; in test_overlap()
193 struct xe_guc_buf b1, b2; in test_reusable()
212 struct xe_guc_buf buf; in test_too_big()
222 struct xe_guc_buf buf; in test_flush()
252 struct xe_guc_buf buf; in test_lookup()
278 struct xe_guc_buf buf; in test_data()
[all …]