diff options
Diffstat (limited to 'linux/gamma_context.h')
-rw-r--r-- | linux/gamma_context.h | 5 |
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) | |||
143 | char buf[64]; | 143 | char buf[64]; |
144 | drm_queue_t *q; | 144 | drm_queue_t *q; |
145 | 145 | ||
146 | #if 0 | ||
147 | atomic_inc(&dev->total_ctx); | ||
148 | #endif | ||
149 | |||
150 | if (test_and_set_bit(0, &dev->context_flag)) { | 146 | if (test_and_set_bit(0, &dev->context_flag)) { |
151 | DRM_ERROR("Reentering -- FIXME\n"); | 147 | DRM_ERROR("Reentering -- FIXME\n"); |
152 | return -EBUSY; | 148 | return -EBUSY; |
153 | } | 149 | } |
154 | 150 | ||
155 | |||
156 | DRM_DEBUG("Context switch from %d to %d\n", old, new); | 151 | DRM_DEBUG("Context switch from %d to %d\n", old, new); |
157 | 152 | ||
158 | if (new >= dev->queue_count) { | 153 | if (new >= dev->queue_count) { |