Home
last modified time | relevance | path

Searched refs:xe_guc_id_mgr (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/gpu/drm/xe/
H A Dxe_guc_id_mgr.c17 static struct xe_guc *idm_to_guc(struct xe_guc_id_mgr *idm) in idm_to_guc()
22 static struct xe_gt *idm_to_gt(struct xe_guc_id_mgr *idm) in idm_to_gt()
27 static struct xe_device *idm_to_xe(struct xe_guc_id_mgr *idm) in idm_to_xe()
35 static void idm_print_locked(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent);
39 struct xe_guc_id_mgr *idm = arg; in __fini_idm()
76 int xe_guc_id_mgr_init(struct xe_guc_id_mgr *idm, unsigned int limit) in xe_guc_id_mgr_init()
121 static int idm_reserve_chunk_locked(struct xe_guc_id_mgr *idm, in idm_reserve_chunk_locked()
159 static void idm_release_chunk_locked(struct xe_guc_id_mgr *idm, in idm_release_chunk_locked()
188 int xe_guc_id_mgr_reserve_locked(struct xe_guc_id_mgr *idm, unsigned int count) in xe_guc_id_mgr_reserve_locked()
202 void xe_guc_id_mgr_release_locked(struct xe_guc_id_mgr *idm, unsigned int id, in xe_guc_id_mgr_release_locked()
[all …]
H A Dxe_guc_id_mgr.h10 struct xe_guc_id_mgr;
12 int xe_guc_id_mgr_init(struct xe_guc_id_mgr *idm, unsigned int count);
14 int xe_guc_id_mgr_reserve_locked(struct xe_guc_id_mgr *idm, unsigned int count);
15 void xe_guc_id_mgr_release_locked(struct xe_guc_id_mgr *idm, unsigned int id, unsigned int count);
17 int xe_guc_id_mgr_reserve(struct xe_guc_id_mgr *idm, unsigned int count, unsigned int retain);
18 void xe_guc_id_mgr_release(struct xe_guc_id_mgr *idm, unsigned int start, unsigned int count);
20 void xe_guc_id_mgr_print(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent);
H A Dxe_guc_types.h40 struct xe_guc_id_mgr { struct
68 struct xe_guc_id_mgr idm; argument
H A DMakefile62 xe_guc_id_mgr.o \
H A Dxe_gt_sriov_pf_config.c706 struct xe_guc_id_mgr *idm = &gt->uc.guc.submission_state.idm; in pf_reserve_ctxs()
714 struct xe_guc_id_mgr *idm = &gt->uc.guc.submission_state.idm; in pf_release_ctxs()
921 struct xe_guc_id_mgr *idm = &gt->uc.guc.submission_state.idm; in pf_estimate_fair_ctxs()
/linux/drivers/gpu/drm/xe/tests/
H A Dxe_guc_id_mgr_test.c13 struct xe_guc_id_mgr *idm; in guc_id_mgr_test_init()
25 struct xe_guc_id_mgr *idm = test->priv; in bad_init()
33 struct xe_guc_id_mgr *idm = test->priv; in no_init()
44 struct xe_guc_id_mgr *idm = test->priv; in init_fini()
56 struct xe_guc_id_mgr *idm = test->priv; in check_used()
78 struct xe_guc_id_mgr *idm = test->priv; in check_quota()
102 struct xe_guc_id_mgr *idm = test->priv; in check_all()