drm: Update generic, ttm and radeon code to Linux 4.9
[dragonfly.git] / sys / dev / drm / kconfig.h
1 /*
2  * Linux kernel options configuration file
3  */
4
5 #define CONFIG_X86      1
6 #define CONFIG_X86_PAT  1
7 #define CONFIG_PCI      1
8 #define CONFIG_ACPI     1
9
10 #define CONFIG_BACKLIGHT_CLASS_DEVICE   1
11
12 #define CONFIG_DRM_FBDEV_EMULATION              1
13 #define CONFIG_DRM_I915_KMS                     1
14 #define CONFIG_DRM_I915_PRELIMINARY_HW_SUPPORT  1
15
16 // CONFIG_GENERIC_ATOMIC64 is not set on x86
17
18 /*
19    This is perhaps not the best place, but prevents lots of further
20    compilation problems in imported Linux code
21 */
22 #pragma GCC diagnostic ignored "-Wcast-qual"
23 #pragma GCC diagnostic ignored "-Wpointer-arith"