summaryrefslogtreecommitdiff
path: root/linux/gamma_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/gamma_context.h')
-rw-r--r--linux/gamma_context.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/linux/gamma_context.h b/linux/gamma_context.h
index 9e4b913f..2338cb38 100644
--- a/linux/gamma_context.h
+++ b/linux/gamma_context.h
@@ -143,16 +143,11 @@ int DRM(context_switch)(drm_device_t *dev, int old, int new)
char buf[64];
drm_queue_t *q;
-#if 0
- atomic_inc(&dev->total_ctx);
-#endif
-
if (test_and_set_bit(0, &dev->context_flag)) {
DRM_ERROR("Reentering -- FIXME\n");
return -EBUSY;
}
-
DRM_DEBUG("Context switch from %d to %d\n", old, new);
if (new >= dev->queue_count) {