aboutsummaryrefslogtreecommitdiff
path: root/x11-drivers/xf86-video-intel/files
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2012-06-07 10:27:21 +0000
committerKoop Mast <kwm@FreeBSD.org>2012-06-07 10:27:21 +0000
commitbc97700dd3bdc8c99da837643076bd84d650fb1b (patch)
tree25db5f6e9a380c8c8ad3142c4eafe0a156b39253 /x11-drivers/xf86-video-intel/files
parent1c72794ad2f4bbc49e32a86fe0029a3fda97362f (diff)
downloadports-bc97700dd3bdc8c99da837643076bd84d650fb1b.tar.gz
ports-bc97700dd3bdc8c99da837643076bd84d650fb1b.zip
Teach the KMS intel driver how the KMS i915 kernel module in head is named.
Reviewed by: miwi@
Notes
Notes: svn path=/head/; revision=298676
Diffstat (limited to 'x11-drivers/xf86-video-intel/files')
-rw-r--r--x11-drivers/xf86-video-intel/files/extra-i915kms11
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-drivers/xf86-video-intel/files/extra-i915kms b/x11-drivers/xf86-video-intel/files/extra-i915kms
new file mode 100644
index 000000000000..ed5018116f64
--- /dev/null
+++ b/x11-drivers/xf86-video-intel/files/extra-i915kms
@@ -0,0 +1,11 @@
+--- src/intel_driver.c.orig 2012-05-17 16:13:46.000000000 +0200
++++ src/intel_driver.c 2012-05-17 16:14:46.000000000 +0200
+@@ -334,7 +334,7 @@
+ snprintf(busid, sizeof(busid), "pci:%04x:%02x:%02x.%d",
+ dev->domain, dev->bus, dev->dev, dev->func);
+
+- intel->drmSubFD = drmOpen("i915", busid);
++ intel->drmSubFD = drmOpen("i915kms", busid);
+ if (intel->drmSubFD == -1) {
+ xf86DrvMsg(scrn->scrnIndex, X_ERROR,
+ "[drm] Failed to open DRM device for %s: %s\n",