aboutsummaryrefslogtreecommitdiff
path: root/linux-core/drm_drv.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@virtuousgeek.org>2008-08-13 10:08:02 -0700
committerJesse Barnes <jbarnes@virtuousgeek.org>2008-08-13 10:08:02 -0700
commit2f03ba4aad1718a36168550b6a146b79540252e6 (patch)
tree7bc55a8948f00c60ad2354171dd345e35e6ff741 /linux-core/drm_drv.c
parent085df6491e4975681a6e17ff9a67d01268aa7553 (diff)
parentb0e68829462aad00ce68be998da6313bca754e9a (diff)
Merge branch 'master' into modesetting-gem
Conflicts: libdrm/Makefile.am libdrm/xf86drm.h shared-core/i915_dma.c shared-core/i915_irq.c
Diffstat (limited to 'linux-core/drm_drv.c')
-rw-r--r--linux-core/drm_drv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-core/drm_drv.c b/linux-core/drm_drv.c
index be441b00..aefbd76d 100644
--- a/linux-core/drm_drv.c
+++ b/linux-core/drm_drv.c
@@ -176,9 +176,11 @@ static struct drm_ioctl_desc drm_ioctls[] = {
DRM_IOCTL_DEF(DRM_IOCTL_MM_INFO, drm_mm_info_ioctl, 0),
+#if OS_HAS_GEM
DRM_IOCTL_DEF(DRM_IOCTL_GEM_CLOSE, drm_gem_close_ioctl, 0),
DRM_IOCTL_DEF(DRM_IOCTL_GEM_FLINK, drm_gem_flink_ioctl, DRM_AUTH),
DRM_IOCTL_DEF(DRM_IOCTL_GEM_OPEN, drm_gem_open_ioctl, DRM_AUTH),
+#endif
};
#define DRM_CORE_IOCTL_COUNT ARRAY_SIZE( drm_ioctls )