brintos

brintos / linux-shallow public Read only

0
0
Text · 718 B · 368f8c8 Raw
23 lines · c
1/* SPDX-License-Identifier: MIT */2/*3 * Copyright © 2024 Intel Corporation4 */5 6#ifndef _XE_GUC_ID_MGR_H_7#define _XE_GUC_ID_MGR_H_8 9struct drm_printer;10struct xe_guc_id_mgr;11 12int xe_guc_id_mgr_init(struct xe_guc_id_mgr *idm, unsigned int count);13 14int xe_guc_id_mgr_reserve_locked(struct xe_guc_id_mgr *idm, unsigned int count);15void xe_guc_id_mgr_release_locked(struct xe_guc_id_mgr *idm, unsigned int id, unsigned int count);16 17int xe_guc_id_mgr_reserve(struct xe_guc_id_mgr *idm, unsigned int count, unsigned int retain);18void xe_guc_id_mgr_release(struct xe_guc_id_mgr *idm, unsigned int start, unsigned int count);19 20void xe_guc_id_mgr_print(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent);21 22#endif23