Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.18-rc2 22 lines 695 B view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright © 2023 Intel Corporation 4 */ 5 6#ifndef _XE_GUC_DB_MGR_H_ 7#define _XE_GUC_DB_MGR_H_ 8 9struct drm_printer; 10struct xe_guc_db_mgr; 11 12int xe_guc_db_mgr_init(struct xe_guc_db_mgr *dbm, unsigned int count); 13 14int xe_guc_db_mgr_reserve_id_locked(struct xe_guc_db_mgr *dbm); 15void xe_guc_db_mgr_release_id_locked(struct xe_guc_db_mgr *dbm, unsigned int id); 16 17int xe_guc_db_mgr_reserve_range(struct xe_guc_db_mgr *dbm, unsigned int count, unsigned int spare); 18void xe_guc_db_mgr_release_range(struct xe_guc_db_mgr *dbm, unsigned int start, unsigned int count); 19 20void xe_guc_db_mgr_print(struct xe_guc_db_mgr *dbm, struct drm_printer *p, int indent); 21 22#endif