@@ -1401,13 +1401,12 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
batch_obj = shadow_batch_obj;
/*
- * XXX: Actually do this when enabling batch copy...
- *
* Set the DISPATCH_SECURE bit to remove the NON_SECURE bit
* from MI_BATCH_BUFFER_START commands issued in the
* dispatch_execbuffer implementations. We specifically don't
* want that set when the command parser is enabled.
*/
+ flags |= I915_DISPATCH_SECURE;
}
/* snb/ivb/vlv conflate the "batch in ppgtt" bit with the "non-secure