diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-04 12:58:33 (GMT) |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-08 11:03:09 (GMT) |
commit | c6b8a4bc1ece2469ceef55f3c9423afdcb3b95c8 (patch) | |
tree | 9081e571c046b7db497aa43fad19d60d2eaff596 | |
parent | dfb601e6d2c72a7d2d9eddec1d1f65f2ccf66bda (diff) | |
download | linux-c6b8a4bc1ece2469ceef55f3c9423afdcb3b95c8.tar.xz |
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>
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_execbuffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index d2e21c5..7ab63d9 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c @@ -1559,8 +1559,7 @@ 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; + dispatch_flags |= I915_DISPATCH_SECURE; exec_start = 0; } |