xref: /dflybsd-src/sys/dev/drm/kconfig.h (revision 789731325bde747251c28a37e0a00ed4efb88c46)
1ce73550bSFrançois Tigeot /*
2ce73550bSFrançois Tigeot  * Linux kernel options configuration file
3ce73550bSFrançois Tigeot  */
4ce73550bSFrançois Tigeot 
51e12ee3bSFrançois Tigeot #include <linux/kconfig.h>
61e12ee3bSFrançois Tigeot 
7ce73550bSFrançois Tigeot #define CONFIG_X86	1
87dcf36dcSFrançois Tigeot #define CONFIG_X86_PAT	1
9ce73550bSFrançois Tigeot #define CONFIG_PCI	1
10ce73550bSFrançois Tigeot #define CONFIG_ACPI	1
11ce73550bSFrançois Tigeot 
12ce73550bSFrançois Tigeot #define CONFIG_BACKLIGHT_CLASS_DEVICE	1
13ce73550bSFrançois Tigeot 
14ce73550bSFrançois Tigeot #define CONFIG_DRM_FBDEV_EMULATION	1
151e12ee3bSFrançois Tigeot #define CONFIG_DRM_LOAD_EDID_FIRMWARE	1
1669860904SFrançois Tigeot 
174be47400SFrançois Tigeot #define CONFIG_DRM_I915_KMS		1
18a85cb24fSFrançois Tigeot #define CONFIG_DRM_I915_ALPHA_SUPPORT	1
194be47400SFrançois Tigeot #define CONFIG_DRM_I915_DEBUG_GEM	1
204be47400SFrançois Tigeot 
21a85cb24fSFrançois Tigeot #define CONFIG_DRM_FBDEV_OVERALLOC	100	/* percents */
22a85cb24fSFrançois Tigeot 
23b843c749SSergey Zigachev #define CONFIG_DRM_AMD_DC 1
24*78973132SSergey Zigachev #define CONFIG_DRM_AMD_DC_DCN1_0 1
25b843c749SSergey Zigachev 
2669860904SFrançois Tigeot // CONFIG_GENERIC_ATOMIC64 is not set on x86
271dedbd3bSFrançois Tigeot 
281dedbd3bSFrançois Tigeot /*
291dedbd3bSFrançois Tigeot    This is perhaps not the best place, but prevents lots of further
301dedbd3bSFrançois Tigeot    compilation problems in imported Linux code
311dedbd3bSFrançois Tigeot */
321dedbd3bSFrançois Tigeot #pragma GCC diagnostic ignored "-Wcast-qual"
331dedbd3bSFrançois Tigeot #pragma GCC diagnostic ignored "-Wpointer-arith"
341487f786SFrançois Tigeot #pragma GCC diagnostic ignored "-Wunused-parameter"
354be47400SFrançois Tigeot #pragma GCC diagnostic ignored "-Wdiscarded-qualifiers"
36*78973132SSergey Zigachev #pragma GCC diagnostic ignored "-Wint-conversion"
37*78973132SSergey Zigachev /*
38*78973132SSergey Zigachev    XXX never ignore -Wincompatible-pointer-types, it can cause spinlock and lockmgr locking
39*78973132SSergey Zigachev    code to silently use the wrong type of locks
40*78973132SSergey Zigachev */
41