Commit 245054a1 authored by Daniel Vetter's avatar Daniel Vetter Committed by Jani Nikula

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=90190Signed-off-by: default avatarDaniel Vetter <daniel.vetter@intel.com>
Reviewed-by: default avatarMika Kuoppala <mika.kuoppala@intel.com>
[Jani: tweaked commit title per Chris' suggestion]
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent faa0cdbe
...@@ -1558,12 +1558,8 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data, ...@@ -1558,12 +1558,8 @@ i915_gem_do_execbuffer(struct drm_device *dev, void *data,
* dispatch_execbuffer implementations. We specifically * dispatch_execbuffer implementations. We specifically
* don't want that set when the command parser is * don't want that set when the command parser is
* enabled. * enabled.
*
* FIXME: with aliasing ppgtt, buffers that should only
* be in ggtt still end up in the aliasing ppgtt. remove
* this check when that is fixed.
*/ */
if (USES_FULL_PPGTT(dev)) if (USES_PPGTT(dev))
dispatch_flags |= I915_DISPATCH_SECURE; dispatch_flags |= I915_DISPATCH_SECURE;
exec_start = 0; 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