1 From ad8967de36e6e2a185b71ce1d701448cda4ef3e2 Mon Sep 17 00:00:00 2001
2 From: California Sullivan <california.l.sullivan@intel.com>
3 Date: Fri, 16 Mar 2018 17:23:11 -0700
4 Subject: [PATCH] xf86pciBus.c: use Intel ddx only for pre-gen4 hardware
6 Use intel ddx only on pre-gen4 hw, newer ones will fall back to modesetting
7 Author: Timo Aaltonen <tjaalton@debian.org>
9 Instead of defaulting to the Intel driver for all Intel hardware, only
10 default it for older hardware for which it has shown to be better for.
12 Others fall through to the -modesetting default.
14 Upstream-Status: Pending [Debian/Fedora patch
15 https://src.fedoraproject.org/rpms/xorg-x11-server/c/ee515e44b07e37689abf48cf2fffb41578f3bc1d]
17 Signed-off-by: California Sullivan <california.l.sullivan@intel.com>
19 hw/xfree86/common/xf86pciBus.c | 18 +++++++++++++++++-
20 1 file changed, 17 insertions(+), 1 deletion(-)
22 diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
23 index aeeed8b..db705bf 100644
24 --- a/hw/xfree86/common/xf86pciBus.c
25 +++ b/hw/xfree86/common/xf86pciBus.c
26 @@ -1174,7 +1174,23 @@ xf86VideoPtrToDriverList(struct pci_device *dev, XF86MatchedDrivers *md)
28 /* Use fbdev/vesa driver on Oaktrail, Medfield, CDV */
31 + /* Default to intel only on pre-gen4 chips */
48 driverList[0] = "intel";