drivers/gpu/drm/xe/xe_guc_id_mgr.h

Source file repositories/reference/linux-study-clean/drivers/gpu/drm/xe/xe_guc_id_mgr.h

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_guc_id_mgr.h
Extension
.h
Size
718 bytes
Lines
23
Domain
Driver Families
Bucket
drivers/gpu
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _XE_GUC_ID_MGR_H_
#define _XE_GUC_ID_MGR_H_

struct drm_printer;
struct xe_guc_id_mgr;

int xe_guc_id_mgr_init(struct xe_guc_id_mgr *idm, unsigned int count);

int xe_guc_id_mgr_reserve_locked(struct xe_guc_id_mgr *idm, unsigned int count);
void xe_guc_id_mgr_release_locked(struct xe_guc_id_mgr *idm, unsigned int id, unsigned int count);

int xe_guc_id_mgr_reserve(struct xe_guc_id_mgr *idm, unsigned int count, unsigned int retain);
void xe_guc_id_mgr_release(struct xe_guc_id_mgr *idm, unsigned int start, unsigned int count);

void xe_guc_id_mgr_print(struct xe_guc_id_mgr *idm, struct drm_printer *p, int indent);

#endif

Annotation

Implementation Notes