summaryrefslogtreecommitdiff
path: root/bsd/mga/mga_context.c
diff options
context:
space:
mode:
authorDavid Dawes <dawes@xfree86.org>2001-04-09 16:27:54 +0000
committerDavid Dawes <dawes@xfree86.org>2001-04-09 16:27:54 +0000
commit1759c16ab9b64598968a0058039e8a66bf5f9773 (patch)
treea82d44dc47302041daf1f5f408c6f47017baac47 /bsd/mga/mga_context.c
parent0e7f6c0726e5ff08eeab8e17a5aa63fbe44b3410 (diff)
Import -f XFree86 4.0.99.2
Diffstat (limited to 'bsd/mga/mga_context.c')
-rw-r--r--bsd/mga/mga_context.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/bsd/mga/mga_context.c b/bsd/mga/mga_context.c
index 63f1b42b..63515bab 100644
--- a/bsd/mga/mga_context.c
+++ b/bsd/mga/mga_context.c
@@ -188,7 +188,11 @@ int mga_rmctx(dev_t kdev, u_long cmd, caddr_t data, int flags, struct proc *p)
ctx = *(drm_ctx_t *) data;
DRM_DEBUG("%d\n", ctx.handle);
- if(ctx.handle != DRM_KERNEL_CONTEXT) {
+/*
+ if(ctx.handle == DRM_KERNEL_CONTEXT+1)
+ priv->remove_auth_on_close = 1;
+*/
+ if(ctx.handle != DRM_KERNEL_CONTEXT ) {
drm_ctxbitmap_free(dev, ctx.handle);
}