Commit c6b8a4bc authored by Daniel Vetter's avatar Daniel Vetter

drm/i915: Simplify cmd-parser DISPATCH_SECURE check

i915_needs_cmd_parser already checks that for us.
Suggested-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
parent dfb601e6
......@@ -1559,7 +1559,6 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
* don't want that set when the command parser is
* enabled.
*/
if (USES_PPGTT(dev))
dispatch_flags |= I915_DISPATCH_SECURE;
exec_start = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment