diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-04-14 17:35:22 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2015-04-30 13:29:56 +0300 |
commit | 245054a1fe33c06ad233e0d58a27ec7b64db9284 (patch) | |
tree | 4778f5c00314f79f2198854ea33678c665d08376 /drivers | |
parent | faa0cdbec1c258896bff8bb59051bbada4fd6f09 (diff) | |
download | lwn-245054a1fe33c06ad233e0d58a27ec7b64db9284.tar.gz lwn-245054a1fe33c06ad233e0d58a27ec7b64db9284.zip |
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')
-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, * dispatch_execbuffer implementations. We specifically * don't want that set when the command parser is * 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; exec_start = 0; |