summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/include/generated/autoconf.h
blob: 87353a5065aa3dcd9b54305537d00f9d1feece86 (plain)
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
87
88
89
90
91
92
93
94
95
96
/* Public domain. */

#include <sys/param.h>

#define CONFIG_DRM_KMS_HELPER			1
#define CONFIG_BACKLIGHT_CLASS_DEVICE		1
#define CONFIG_DRM_FBDEV_EMULATION		1
#define CONFIG_DRM_PANEL			1
#define CONFIG_DRM_I915_CAPTURE_ERROR		1
#define CONFIG_DRM_AMD_DC			1
#if defined(__amd64__) || defined(__i386__)
#define CONFIG_DRM_AMD_DC_DCN			1
#define CONFIG_DRM_AMD_DC_FP			1
#endif
#if 0
#define CONFIG_DRM_AMDGPU_SI			1
#define CONFIG_DRM_AMD_DC_SI			1
#define CONFIG_DRM_AMDGPU_CIK			1
#endif

#define CONFIG_DRM_FBDEV_OVERALLOC		100

#define CONFIG_DRM_I915_PREEMPT_TIMEOUT		640	/* ms */
#define CONFIG_DRM_I915_TIMESLICE_DURATION	1	/* ms */
#define CONFIG_DRM_I915_HEARTBEAT_INTERVAL	2500	/* ms */
#define CONFIG_DRM_I915_MAX_REQUEST_BUSYWAIT	8000	/* ns */
#define CONFIG_DRM_I915_REQUEST_TIMEOUT		20000	/* ms */
#define CONFIG_DRM_I915_STOP_TIMEOUT		100	/* ms */
#define CONFIG_DRM_I915_FENCE_TIMEOUT		10000	/* ms */
#define CONFIG_DRM_I915_USERFAULT_AUTOSUSPEND	250	/* ms */
#define CONFIG_DRM_I915_PREEMPT_TIMEOUT_COMPUTE	7500	/* ms */
#define CONFIG_DRM_I915_FORCE_PROBE		""

#ifdef __HAVE_ACPI
#include "acpi.h"
#if NACPI > 0
#define CONFIG_ACPI				1
#endif
#endif

#include "pci.h"
#if NPCI > 0
#define CONFIG_PCI				1
#define CONFIG_PCIEASPM				1
#endif

#include "agp.h"
#if NAGP > 0
#define CONFIG_AGP				1
#endif

#if defined(__amd64__) || defined(__i386__)
#define CONFIG_DMI				1
#endif

#ifdef __amd64__
#define CONFIG_X86				1
#define CONFIG_X86_64				1
#define CONFIG_X86_PAT				1
#endif

#ifdef __i386__
#define CONFIG_X86				1
#define CONFIG_X86_32				1
#define CONFIG_X86_PAT				1
#endif

#ifdef __arm__
#define CONFIG_ARM				1
#endif

#ifdef __arm64__
#define CONFIG_ARM64				1
#endif

#ifdef __macppc__
#define CONFIG_PPC				1
#define CONFIG_PPC_PMAC				1
#endif

#ifdef __powerpc64__
#define CONFIG_PPC64				1
#endif

#ifdef __loongson__
#define CONFIG_MIPS				1
#define CONFIG_CPU_LOONGSON64			1
#endif

#ifdef __LP64__
#define CONFIG_64BIT				1
#endif

#if defined(SUSPEND) || defined(HIBERNATE)
#define CONFIG_PM_SLEEP
#endif