summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2013-03-22 07:52:37 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2013-03-22 07:52:37 +0000
commita6800587a7c29f9557a81b8280d758973fbd2d61 (patch)
treed3254aafa78bfcc28c64756a972f2b4ec9416765 /sys
parent9ec566114b6c430a27c47054b4f0632cc0528459 (diff)
wire up the mode object property ioctls
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/drm/drm_drv.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/pci/drm/drm_drv.c b/sys/dev/pci/drm/drm_drv.c
index a62b198eb43..846934f6047 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.100 2013/03/18 12:36:51 jsg Exp $ */
+/* $OpenBSD: drm_drv.c,v 1.101 2013/03/22 07:52:36 jsg Exp $ */
/*-
* Copyright 2007-2009 Owain G. Ainsworth <oga@openbsd.org>
* Copyright © 2008 Intel Corporation
@@ -780,6 +780,12 @@ drmioctl(dev_t kdev, u_long cmd, caddr_t data, int flags,
case DRM_IOCTL_MODE_DESTROY_DUMB:
return drm_mode_destroy_dumb_ioctl(dev, data,
file_priv);
+ case DRM_IOCTL_MODE_OBJ_GETPROPERTIES:
+ return drm_mode_obj_get_properties_ioctl(dev, data,
+ file_priv);
+ case DRM_IOCTL_MODE_OBJ_SETPROPERTY:
+ return drm_mode_obj_set_property_ioctl(dev, data,
+ file_priv);
}
}
if (dev->driver->ioctl != NULL)