summaryrefslogtreecommitdiff
path: root/xserver/hw
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-12-21 08:37:12 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-12-21 08:37:12 +0000
commite5a32f026ff84690b60be223123b04c67e2bae66 (patch)
tree088ccff9ac537de19e3205c6be653bf636dcc7e8 /xserver/hw
parente59d7a7e089e168d91d0c09de3718f34614ba7dd (diff)
On Broadwell, default to using the modesetting driver. Our KMS support on
Broadwell is still a bit weak and the modesetting driver seems to work better than the intel driver, while still providing 3D acceleration and video playback support. ok phessler@, matthieu@, jsg@
Diffstat (limited to 'xserver/hw')
-rw-r--r--xserver/hw/xfree86/common/xf86pciBus.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/xserver/hw/xfree86/common/xf86pciBus.c b/xserver/hw/xfree86/common/xf86pciBus.c
index e86ecb9d4..9cbf7fb21 100644
--- a/xserver/hw/xfree86/common/xf86pciBus.c
+++ b/xserver/hw/xfree86/common/xf86pciBus.c
@@ -1173,6 +1173,28 @@ xf86VideoPtrToDriverList(struct pci_device *dev,
case 0x0bef:
/* Use fbdev/vesa driver on Oaktrail, Medfield, CDV */
break;
+ /* Broadwell */
+ case 0x1602:
+ case 0x1606:
+ case 0x160a:
+ case 0x160b:
+ case 0x160d:
+ case 0x160e:
+ case 0x1612:
+ case 0x1616:
+ case 0x161a:
+ case 0x161b:
+ case 0x161d:
+ case 0x161e:
+ case 0x1622:
+ case 0x1626:
+ case 0x162a:
+ case 0x162b:
+ case 0x162d:
+ case 0x162e:
+ /* Use modesetting driver on Broadwell */
+ driverList[0] = "modesetting";
+ break;
default:
driverList[0] = "intel";
break;