drivers/gpu/drm/xe/xe_platform_types.h

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_platform_types.h
Extension
.h
Size
784 bytes
Lines
44
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_PLATFORM_TYPES_H_
#define _XE_PLATFORM_TYPES_H_

/*
 * Keep this in graphics version based order and chronological order within a
 * version
 */
enum xe_platform {
	XE_PLATFORM_UNINITIALIZED = 0,
	XE_TIGERLAKE,
	XE_ROCKETLAKE,
	XE_ALDERLAKE_S,
	XE_ALDERLAKE_P,
	XE_ALDERLAKE_N,
	XE_DG1,
	XE_DG2,
	XE_PVC,
	XE_METEORLAKE,
	XE_LUNARLAKE,
	XE_BATTLEMAGE,
	XE_PANTHERLAKE,
	XE_NOVALAKE_S,
	XE_CRESCENTISLAND,
	XE_NOVALAKE_P,
};

enum xe_subplatform {
	XE_SUBPLATFORM_UNINITIALIZED = 0,
	XE_SUBPLATFORM_NONE,
	XE_SUBPLATFORM_ALDERLAKE_P_RPLU,
	XE_SUBPLATFORM_ALDERLAKE_S_RPLS,
	XE_SUBPLATFORM_DG2_G10,
	XE_SUBPLATFORM_DG2_G11,
	XE_SUBPLATFORM_DG2_G12,
	XE_SUBPLATFORM_BATTLEMAGE_G21,
};

#endif

Annotation

Implementation Notes