drivers/gpu/drm/xe/xe_gt_sysfs.h

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_gt_sysfs.h
Extension
.h
Size
354 bytes
Lines
20
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_GT_SYSFS_H_
#define _XE_GT_SYSFS_H_

#include "xe_gt_sysfs_types.h"

int xe_gt_sysfs_init(struct xe_gt *gt);

static inline struct xe_gt *
kobj_to_gt(struct kobject *kobj)
{
	return container_of(kobj, struct kobj_gt, base)->gt;
}

#endif /* _XE_GT_SYSFS_H_ */

Annotation

Implementation Notes