drivers/gpu/drm/xe/xe_preempt_fence_types.h

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_preempt_fence_types.h
Extension
.h
Size
810 bytes
Lines
35
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_preempt_fence {
	/** @base: dma fence base */
	struct dma_fence base;
	/** @link: link into list of pending preempt fences */
	struct list_head link;
	/** @q: exec queue for this preempt fence */
	struct xe_exec_queue *q;
	/** @preempt_work: work struct which issues preemption */
	struct work_struct preempt_work;
	/** @lock: dma-fence fence lock */
	spinlock_t lock;
	/** @error: preempt fence is in error state */
	int error;
};

#endif

Annotation

Implementation Notes