Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/xe/ !
H A 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 …]
H A 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);
H A Dxe_guc_types.h29 struct xe_guc_db_mgr { struct
70 struct xe_guc_db_mgr dbm;
/linux/drivers/gpu/drm/xe/tests/ !
H A 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()