drm/i915: Simplify cmd-parser DISPATCH_SECURE check
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 4 May 2015 12:58:33 +0000 (14:58 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 8 May 2015 11:03:09 +0000 (13:03 +0200)
commitc6b8a4bc1ece2469ceef55f3c9423afdcb3b95c8
tree9081e571c046b7db497aa43fad19d60d2eaff596
parentdfb601e6d2c72a7d2d9eddec1d1f65f2ccf66bda
drm/i915: Simplify cmd-parser DISPATCH_SECURE check

i915_needs_cmd_parser already checks that for us.

Suggested-by: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
drivers/gpu/drm/i915/i915_gem_execbuffer.c