Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/xe/
Dxe_guc_db_mgr.h10 struct xe_guc_db_mgr;
12 int xe_guc_db_mgr_init(struct xe_guc_db_mgr *dbm, unsigned int count);
14 int xe_guc_db_mgr_reserve_id_locked(struct xe_guc_db_mgr *dbm);
15 void xe_guc_db_mgr_release_id_locked(struct xe_guc_db_mgr *dbm, unsigned int id);
17 int xe_guc_db_mgr_reserve_range(struct xe_guc_db_mgr *dbm, unsigned int count, unsigned int spare);
18 void xe_guc_db_mgr_release_range(struct xe_guc_db_mgr *dbm, unsigned int start, unsigned int count);
20 void xe_guc_db_mgr_print(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent);
Dxe_guc_db_mgr.c31 static struct xe_guc *dbm_to_guc(struct xe_guc_db_mgr *dbm) in dbm_to_guc()
36 static struct xe_gt *dbm_to_gt(struct xe_guc_db_mgr *dbm) in dbm_to_gt()
41 static struct xe_device *dbm_to_xe(struct xe_guc_db_mgr *dbm) in dbm_to_xe()
49 static void dbm_print_locked(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent);
53 struct xe_guc_db_mgr *dbm = arg; in __fini_dbm()
87 int xe_guc_db_mgr_init(struct xe_guc_db_mgr *dbm, unsigned int count) in xe_guc_db_mgr_init()
114 static int dbm_reserve_chunk_locked(struct xe_guc_db_mgr *dbm, in dbm_reserve_chunk_locked()
143 static void dbm_release_chunk_locked(struct xe_guc_db_mgr *dbm, in dbm_release_chunk_locked()
169 int xe_guc_db_mgr_reserve_id_locked(struct xe_guc_db_mgr *dbm) in xe_guc_db_mgr_reserve_id_locked()
181 void xe_guc_db_mgr_release_id_locked(struct xe_guc_db_mgr *dbm, unsigned int id) in xe_guc_db_mgr_release_id_locked()
[all …]
Dxe_guc_types.h27 struct xe_guc_db_mgr { struct
64 struct xe_guc_db_mgr dbm;
DMakefile60 xe_guc_db_mgr.o \
Dxe_gt_sriov_pf_config.c1005 struct xe_guc_db_mgr *dbm = &gt->uc.guc.dbm; in pf_reserve_dbs()
1013 struct xe_guc_db_mgr *dbm = &gt->uc.guc.dbm; in pf_release_dbs()
1167 struct xe_guc_db_mgr *dbm = &gt->uc.guc.dbm; in pf_estimate_fair_dbs()
/linux-6.12.1/drivers/gpu/drm/xe/tests/
Dxe_guc_db_mgr_test.c13 struct xe_guc_db_mgr *dbm; in guc_dbm_test_init()
25 struct xe_guc_db_mgr *dbm = test->priv; in test_empty()
39 struct xe_guc_db_mgr *dbm = test->priv; in test_default()
62 struct xe_guc_db_mgr *dbm = test->priv; in test_size()
86 struct xe_guc_db_mgr *dbm = test->priv; in test_reuse()
114 struct xe_guc_db_mgr *dbm = test->priv; in test_range_overlap()
152 struct xe_guc_db_mgr *dbm = test->priv; in test_range_compact()
171 struct xe_guc_db_mgr *dbm = test->priv; in test_range_spare()