Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_lmtt.c33 #define lmtt_assert(lmtt, condition) xe_tile_assert(lmtt_to_tile(lmtt), condition) argument
34 #define lmtt_debug(lmtt, msg...) xe_sriov_dbg_verbose(lmtt_to_xe(lmtt), "LMTT: " msg) argument
41 static struct xe_tile *lmtt_to_tile(struct xe_lmtt *lmtt) in lmtt_to_tile() argument
43 return container_of(lmtt, struct xe_tile, sriov.pf.lmtt); in lmtt_to_tile()
46 static struct xe_device *lmtt_to_xe(struct xe_lmtt *lmtt) in lmtt_to_xe() argument
48 return tile_to_xe(lmtt_to_tile(lmtt)); in lmtt_to_xe()
51 static u64 lmtt_page_size(struct xe_lmtt *lmtt) in lmtt_page_size() argument
53 return BIT_ULL(lmtt->ops->lmtt_pte_shift(0)); in lmtt_page_size()
56 static struct xe_lmtt_pt *lmtt_pt_alloc(struct xe_lmtt *lmtt, unsigned int level) in lmtt_pt_alloc() argument
58 unsigned int num_entries = level ? lmtt->ops->lmtt_pte_num(level) : 0; in lmtt_pt_alloc()
[all …]
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
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()
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()
Dxe_device_types.h200 struct xe_lmtt lmtt; member