diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-20 13:10:10 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2015-12-20 13:10:10 +0000 |
commit | 6d1fd7f63930e47896f3873f9e2b165a92824f4f (patch) | |
tree | f851fbc38b808d4941563dd948fa5f8b7b4b111c /sys/dev | |
parent | 382f92a63dd063a4776a31ea29a9926e53ba543a (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.c | 4 |
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) |