diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-14 11:35:22 -0400 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-04-30 06:29:56 -0400 |
commit | 245054a1fe33c06ad233e0d58a27ec7b64db9284 (patch) | |
tree | 4778f5c00314f79f2198854ea33678c665d08376 /drivers/gpu/drm/i915/i915_gem_execbuffer.c | |
parent | faa0cdbec1c258896bff8bb59051bbada4fd6f09 (diff) |
drm/i915: Enable cmd parser to do secure batch promotion for aliasing ppgtt
With the binding regression from the original full ppgtt patches
fixed we can throw the switch. Yay!
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=90190
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
[Jani: tweaked commit title per Chris' suggestion]
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_execbuffer.c')
-rw-r--r-- | drivers/gpu/drm/i915/i915_gem_execbuffer.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/drm/i915/i915_gem_execbuffer.c b/drivers/gpu/drm/i915/i915_gem_execbuffer.c index cfdc8c6073aa..d2e21c549756 100644 --- a/drivers/gpu/drm/i915/i915_gem_execbuffer.c +++ b/drivers/gpu/drm/i915/i915_gem_execbuffer.c | |||
@@ -1558,12 +1558,8 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data, | |||
1558 | * dispatch_execbuffer implementations. We specifically | 1558 | * dispatch_execbuffer implementations. We specifically |
1559 | * don't want that set when the command parser is | 1559 | * don't want that set when the command parser is |
1560 | * enabled. | 1560 | * enabled. |
1561 | * | ||
1562 | * FIXME: with aliasing ppgtt, buffers that should only | ||
1563 | * be in ggtt still end up in the aliasing ppgtt. remove | ||
1564 | * this check when that is fixed. | ||
1565 | */ | 1561 | */ |
1566 | if (USES_FULL_PPGTT(dev)) | 1562 | if (USES_PPGTT(dev)) |
1567 | dispatch_flags |= I915_DISPATCH_SECURE; | 1563 | dispatch_flags |= I915_DISPATCH_SECURE; |
1568 | 1564 | ||
1569 | exec_start = 0; | 1565 | exec_start = 0; |