Home
last modified time | relevance | path

Searched refs:lmtt (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_lmtt.c43 return container_of(lmtt, struct xe_tile, sriov.pf.lmtt); in lmtt_to_tile()
102 lmtt_assert(lmtt, !lmtt->pd); in lmtt_init_pd()
103 lmtt_assert(lmtt, lmtt->ops->lmtt_root_pd_level()); in lmtt_init_pd()
131 lmtt_assert(lmtt, !(!!lmtt->ops ^ !!lmtt->pd)); in fini_lmtt()
165 lmtt_assert(lmtt, !lmtt->ops); in xe_lmtt_init()
193 lmtt_assert(lmtt, xe_bo_is_vram(lmtt->pd->bo)); in lmtt_setup_dir_ptr()
426 lmtt_assert(lmtt, lmtt->pd); in xe_lmtt_prepare_pages()
449 lmtt_assert(lmtt, lmtt->pd); in xe_lmtt_populate_pages()
468 lmtt_assert(lmtt, lmtt->pd); in xe_lmtt_drop_pages()
489 lmtt_assert(lmtt, IS_DGFX(lmtt_to_xe(lmtt))); in xe_lmtt_estimate_pt_size()
[all …]
H A Dxe_lmtt.h16 int xe_lmtt_init(struct xe_lmtt *lmtt);
17 void xe_lmtt_init_hw(struct xe_lmtt *lmtt);
18 int xe_lmtt_prepare_pages(struct xe_lmtt *lmtt, unsigned int vfid, u64 range);
19 int xe_lmtt_populate_pages(struct xe_lmtt *lmtt, unsigned int vfid, struct xe_bo *bo, u64 offset);
20 void xe_lmtt_drop_pages(struct xe_lmtt *lmtt, unsigned int vfid);
21 u64 xe_lmtt_estimate_pt_size(struct xe_lmtt *lmtt, u64 size);
23 static inline int xe_lmtt_init(struct xe_lmtt *lmtt) { return 0; } in xe_lmtt_init() argument
24 static inline void xe_lmtt_init_hw(struct xe_lmtt *lmtt) { } in xe_lmtt_init_hw() argument
H A Dxe_gt_sriov_pf_config.c1288 struct xe_lmtt *lmtt; in pf_reset_vf_lmtt() local
1296 lmtt = &tile->sriov.pf.lmtt; in pf_reset_vf_lmtt()
1297 xe_lmtt_drop_pages(lmtt, vfid); in pf_reset_vf_lmtt()
1305 struct xe_lmtt *lmtt; in pf_update_vf_lmtt() local
1321 lmtt = &tile->sriov.pf.lmtt; in pf_update_vf_lmtt()
1323 xe_lmtt_drop_pages(lmtt, vfid); in pf_update_vf_lmtt()
1327 err = xe_lmtt_prepare_pages(lmtt, vfid, total); in pf_update_vf_lmtt()
1341 err = xe_lmtt_populate_pages(lmtt, vfid, bo, offset); in pf_update_vf_lmtt()
1353 lmtt = &tile->sriov.pf.lmtt; in pf_update_vf_lmtt()
1354 xe_lmtt_drop_pages(lmtt, vfid); in pf_update_vf_lmtt()
H A Dxe_gt.c416 xe_lmtt_init(&gt_to_tile(gt)->sriov.pf.lmtt); in gt_fw_domain_init()
524 xe_lmtt_init_hw(&gt_to_tile(gt)->sriov.pf.lmtt); in all_fw_domain_init()
714 xe_lmtt_init_hw(&gt_to_tile(gt)->sriov.pf.lmtt); in do_gt_restart()
H A Dxe_device_types.h200 struct xe_lmtt lmtt; member