Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/drm Disable DRM_IOCTL_GE...
details: https://anonhg.NetBSD.org/src/rev/d391ec057aad
branches: riastradh-drm2
changeset: 788145:d391ec057aad
user: riastradh <riastradh%NetBSD.org@localhost>
date: Wed Jul 24 02:26:23 2013 +0000
description:
Disable DRM_IOCTL_GET_CLIENT (drmGetClient in libdrm) for now.
It does not appear to be needed by anything but diagnostic tools, and
it requires bogus kernel state to be maintained.
diffstat:
sys/external/bsd/drm2/dist/drm/drm_ioctl.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r d28fcdb35526 -r d391ec057aad sys/external/bsd/drm2/dist/drm/drm_ioctl.c
--- a/sys/external/bsd/drm2/dist/drm/drm_ioctl.c Wed Jul 24 02:26:09 2013 +0000
+++ b/sys/external/bsd/drm2/dist/drm/drm_ioctl.c Wed Jul 24 02:26:23 2013 +0000
@@ -203,6 +203,7 @@
int drm_getclient(struct drm_device *dev, void *data,
struct drm_file *file_priv)
{
+#ifndef __NetBSD__ /* XXX Too scary to contemplate. */
struct drm_client *client = data;
struct drm_file *pt;
int idx;
@@ -225,6 +226,7 @@
}
}
mutex_unlock(&dev->struct_mutex);
+#endif
return -EINVAL;
}
Home |
Main Index |
Thread Index |
Old Index