drivers/gpu/drm/xe/xe_defaults.h

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

File Facts

System
Linux kernel
Corpus path
drivers/gpu/drm/xe/xe_defaults.h
Extension
.h
Size
738 bytes
Lines
27
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_DEFAULTS_H_
#define _XE_DEFAULTS_H_

#include "xe_device_types.h"

#if IS_ENABLED(CONFIG_DRM_XE_DEBUG)
#define XE_DEFAULT_GUC_LOG_LEVEL		3
#else
#define XE_DEFAULT_GUC_LOG_LEVEL		1
#endif

#define XE_DEFAULT_PROBE_DISPLAY		IS_ENABLED(CONFIG_DRM_XE_DISPLAY)
#define XE_DEFAULT_VRAM_BAR_SIZE		0
#define XE_DEFAULT_FORCE_PROBE			CONFIG_DRM_XE_FORCE_PROBE
#define XE_DEFAULT_MAX_VFS			~0
#define XE_DEFAULT_MAX_VFS_STR			"unlimited"
#define XE_DEFAULT_ADMIN_ONLY_PF		false
#define XE_DEFAULT_WEDGED_MODE			XE_WEDGED_MODE_UPON_CRITICAL_ERROR
#define XE_DEFAULT_WEDGED_MODE_STR		"upon-critical-error"
#define XE_DEFAULT_SVM_NOTIFIER_SIZE		512

#endif

Annotation

Implementation Notes