drivers/gpu/drm/xe/xe_mert.h

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_mert.h
Extension
.h
Size
856 bytes
Lines
36
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

struct xe_mert {
	/** @lock: protects the TLB invalidation status */
	spinlock_t lock;
	/** @tlb_inv_triggered: indicates if TLB invalidation was triggered */
	bool tlb_inv_triggered;
	/** @tlb_inv_done: completion of TLB invalidation */
	struct completion tlb_inv_done;
};

#ifdef CONFIG_PCI_IOV
void xe_mert_init_early(struct xe_device *xe);
int xe_mert_invalidate_lmtt(struct xe_device *xe);
void xe_mert_irq_handler(struct xe_device *xe, u32 master_ctl);
#else
static inline void xe_mert_irq_handler(struct xe_device *xe, u32 master_ctl) { }
#endif

#endif

Annotation

Implementation Notes