diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-04-19 02:55:53 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-04-19 02:55:53 +0000 |
commit | e059523980690a006f637edcb0b28ea86585a086 (patch) | |
tree | bba36417481aa8d63ef6c094964c52885473140d /sys/dev/pci/drm/i915 | |
parent | 0d908d9d34d85fd542cd10dbf0dd2f4de4474ec9 (diff) |
Enable the REG_READ ioctl. A whitelist is used to allow
reading a timestamp off the render ring for the Mesa i965 driver.
ok kettenis@
Diffstat (limited to 'sys/dev/pci/drm/i915')
-rw-r--r-- | sys/dev/pci/drm/i915/i915_dma.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/pci/drm/i915/i915_dma.c b/sys/dev/pci/drm/i915/i915_dma.c index 03820d86b71..04307ad85f3 100644 --- a/sys/dev/pci/drm/i915/i915_dma.c +++ b/sys/dev/pci/drm/i915/i915_dma.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i915_dma.c,v 1.21 2015/04/18 14:47:34 jsg Exp $ */ +/* $OpenBSD: i915_dma.c,v 1.22 2015/04/19 02:55:52 jsg Exp $ */ /* i915_dma.c -- DMA support for the I915 -*- linux-c -*- */ /* @@ -475,9 +475,7 @@ struct drm_ioctl_desc i915_ioctls[] = { DRM_IOCTL_DEF_DRV(I915_GEM_WAIT, i915_gem_wait_ioctl, DRM_AUTH|DRM_UNLOCKED), DRM_IOCTL_DEF_DRV(I915_GEM_CONTEXT_CREATE, i915_gem_context_create_ioctl, DRM_UNLOCKED), DRM_IOCTL_DEF_DRV(I915_GEM_CONTEXT_DESTROY, i915_gem_context_destroy_ioctl, DRM_UNLOCKED), -#ifdef __linux__ DRM_IOCTL_DEF_DRV(I915_REG_READ, i915_reg_read_ioctl, DRM_UNLOCKED), -#endif }; int i915_max_ioctl = DRM_ARRAY_SIZE(i915_ioctls); |