mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-02-15 02:10:35 +01:00
xf86pciBus.c: use Intel ddx only for pre-gen3 hardware
Use intel ddx only on pre-gen4 hw, newer ones will fall back to modesetting. Instead of defaulting to the Intel driver for all Intel hardware, only default it for older hardware for which it has shown to be better for. Note that Debian/Fedora and their derivatives, as well as the yocto project have been carrying this patch for many years:192254841aee515e44b0so this simply aligns xserver upstream with Linux distributions. Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Alexander Kanavin <alex@linutronix.de> Co-authored-by: Balló György <ballogyor@gmail.com> Reviewed-by: Emma Anholt <emma@anholt.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1887>
This commit is contained in:
parent
4165516ac4
commit
e45516afa6
1 changed files with 10 additions and 1 deletions
|
|
@ -1174,7 +1174,16 @@ xf86VideoPtrToDriverList(struct pci_device *dev, XF86MatchedDrivers *md)
|
|||
case 0x0bef:
|
||||
/* Use fbdev/vesa driver on Oaktrail, Medfield, CDV */
|
||||
break;
|
||||
default:
|
||||
/* Default to intel only on pre-gen3 chips */
|
||||
case 0x7121:
|
||||
case 0x7123:
|
||||
case 0x7125:
|
||||
case 0x1132:
|
||||
case 0x3577:
|
||||
case 0x2562:
|
||||
case 0x3582:
|
||||
case 0x358e:
|
||||
case 0x2572:
|
||||
driverList[0] = "intel";
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue