xref: /dragonfly/sys/dev/drm/kconfig.h (revision 789731325bde747251c28a37e0a00ed4efb88c46)
1 /*
2  * Linux kernel options configuration file
3  */
4 
5 #include <linux/kconfig.h>
6 
7 #define CONFIG_X86  1
8 #define CONFIG_X86_PAT        1
9 #define CONFIG_PCI  1
10 #define CONFIG_ACPI 1
11 
12 #define CONFIG_BACKLIGHT_CLASS_DEVICE   1
13 
14 #define CONFIG_DRM_FBDEV_EMULATION      1
15 #define CONFIG_DRM_LOAD_EDID_FIRMWARE   1
16 
17 #define CONFIG_DRM_I915_KMS             1
18 #define CONFIG_DRM_I915_ALPHA_SUPPORT   1
19 #define CONFIG_DRM_I915_DEBUG_GEM       1
20 
21 #define CONFIG_DRM_FBDEV_OVERALLOC      100       /* percents */
22 
23 #define CONFIG_DRM_AMD_DC 1
24 #define CONFIG_DRM_AMD_DC_DCN1_0 1
25 
26 // CONFIG_GENERIC_ATOMIC64 is not set on x86
27 
28 /*
29    This is perhaps not the best place, but prevents lots of further
30    compilation problems in imported Linux code
31 */
32 #pragma GCC diagnostic ignored "-Wcast-qual"
33 #pragma GCC diagnostic ignored "-Wpointer-arith"
34 #pragma GCC diagnostic ignored "-Wunused-parameter"
35 #pragma GCC diagnostic ignored "-Wdiscarded-qualifiers"
36 #pragma GCC diagnostic ignored "-Wint-conversion"
37 /*
38    XXX never ignore -Wincompatible-pointer-types, it can cause spinlock and lockmgr locking
39    code to silently use the wrong type of locks
40 */
41