xorg-x11-server/xorg-detect-psb.patch

15 lines
658 B
Diff

Index: xorg-server-1.6.3/hw/xfree86/common/xf86AutoConfig.c
===================================================================
--- xorg-server-1.6.3.orig/hw/xfree86/common/xf86AutoConfig.c
+++ xorg-server-1.6.3/hw/xfree86/common/xf86AutoConfig.c
@@ -175,6 +175,9 @@ videoPtrToDriverList(struct pci_device *
case 0x8086:
if ((dev->device_id == 0x00d1) || (dev->device_id == 0x7800)) {
driverList[0] = "i740";
+ } if ((dev->device_id == 0x8109) || (dev->device_id == 0x8108) || (dev->device_id == 0x4102) ) {
+ driverList[0] = "psb";
+ driverList[1] = "psb_drv";
} else {
driverList[0] = "intel";
driverList[1] = "i810";