summaryrefslogtreecommitdiff
path: root/linux/drm_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drm_context.h')
-rw-r--r--linux/drm_context.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/linux/drm_context.h b/linux/drm_context.h
index 646b2236..b446956c 100644
--- a/linux/drm_context.h
+++ b/linux/drm_context.h
@@ -36,6 +36,11 @@
#define __NO_VERSION__
#include "drmP.h"
+#if !__HAVE_CTX_BITMAP
+#error "__HAVE_CTX_BITMAP must be defined"
+#endif
+
+
/* ================================================================
* Context bitmap support
*/
@@ -235,10 +240,6 @@ int DRM(context_switch)( drm_device_t *dev, int old, int new )
return 0;
}
- if ( DRM(flags) & DRM_FLAG_NOCTX ) {
- DRM(context_switch_complete)( dev, new );
- }
-
return 0;
}