-
Notifications
You must be signed in to change notification settings - Fork 67
/
kconfig.mk
86 lines (74 loc) · 1.51 KB
/
kconfig.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
# CONFIG_DRM*
KCONFIG= DRM_AMDGPU_CIK \
DRM_AMDGPU_SI \
DRM_AMD_DC \
DRM_AMD_DC_SI \
AMD_PMC \
DRM_EXEC \
DRM_I915_FORCE_PROBE='"*"' \
DRM_I915_REQUEST_TIMEOUT=20000 \
DRM_I915_CAPTURE_ERROR \
DRM_I915_USERFAULT_AUTOSUSPEND=250 \
DRM_I915_STOP_TIMEOUT=100 \
DRM_I915_PREEMPT_TIMEOUT=640 \
DRM_I915_PREEMPT_TIMEOUT_COMPUTE=7500 \
DRM_I915_HEARTBEAT_INTERVAL=2500 \
DRM_I915_TIMESLICE_DURATION=1 \
DRM_I915_MAX_REQUEST_BUSYWAIT=8000 \
DRM_I915_FENCE_TIMEOUT=10000 \
DRM_MIPI_DSI \
DRM_PANEL_ORIENTATION_QUIRKS
# to be moved to base system
KCONFIG+= APERTURE_HELPERS
.if empty(NO_FBDEV)
KCONFIG+= DRM_FBDEV_EMULATION \
DRM_FBDEV_OVERALLOC=100
.endif
# non arch specific kconfig
KCONFIG+= ARCH_HAVE_NMI_SAFE_CMPXCHG \
BACKLIGHT_CLASS_DEVICE \
DEBUG_FS \
DMI \
FB \
MTRR \
PCI \
PM \
PM_SLEEP \
SMP \
SUSPEND \
VIDEO_CMDLINE
.if ${MACHINE_CPUARCH} == "aarch64"
KCONFIG+= 64BIT \
ACPI \
ARM64
.endif
.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64"
KCONFIG+= ACPI \
ACPI_SLEEP \
X86 \
X86_PAT
.if ${MACHINE_CPUARCH} == "i386"
KCONFIG+= AGP \
DRM_LEGACY
.endif
.if ${MACHINE_CPUARCH} == "amd64"
KCONFIG+= 64BIT \
AS_MOVNTDQA \
COMPAT \
X86_64
KCONFIG+= DRM_AMD_DC_FP
.endif
.endif
.if ${MACHINE_ARCH:Mpowerpc64*} != ""
KCONFIG+= 64BIT \
PPC64
# DCN is only compile-tested.
KCONFIG+= DRM_AMD_DC_DCN \
DRM_AMD_DC_DCN3_0
.endif
.if ${MACHINE_CPUARCH} == "riscv"
KCONFIG+= RISCV
.if ${MACHINE_ARCH:Mriscv64*} != ""
KCONFIG+= 64BIT
.endif
.endif