summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2015-12-20 13:10:10 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2015-12-20 13:10:10 +0000
commit6d1fd7f63930e47896f3873f9e2b165a92824f4f (patch)
treef851fbc38b808d4941563dd948fa5f8b7b4b111c /sys/dev
parent382f92a63dd063a4776a31ea29a9926e53ba543a (diff)
Advertise support for DRM version 1.4. We have support for all the necessary
features, and some code (such as the Xorg modesetting driver) actually checks the version. With this change the PCI-based probe method in that driver works. ok jsg@
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/drm/drm_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index d891084c630..1f317bc07e0 100644
--- a/sys/dev/pci/drm/drm_drv.c
+++ b/sys/dev/pci/drm/drm_drv.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: drm_drv.c,v 1.140 2015/11/22 15:35:49 kettenis Exp $ */
+/* $OpenBSD: drm_drv.c,v 1.141 2015/12/20 13:10:09 kettenis Exp $ */
/*-
* Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org>
* Copyright © 2008 Intel Corporation
@@ -1180,7 +1180,7 @@ drm_setclientcap(struct drm_device *dev, void *data, struct drm_file *file_priv)
}
#define DRM_IF_MAJOR 1
-#define DRM_IF_MINOR 2
+#define DRM_IF_MINOR 4
int
drm_version(struct drm_device *dev, void *data, struct drm_file *file_priv)