]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: restrict vt-d stolen memory workaround to pre-gen8
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 26 Mar 2014 22:42:53 +0000 (23:42 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 31 Mar 2014 08:45:34 +0000 (10:45 +0200)
commit6abfed39a00423da83a47c7d37af72501844533f
tree8b74815b2af276870dc45e9afe9ea063790aea6e
parentbb273665a8baa6ffe112cbed3ff82386a663966f
drm/i915: restrict vt-d stolen memory workaround to pre-gen8

We want future generations to at least attempt to use all features, so
restrict the stolen memory disabling when vt-d is enabled to the
latest generation we have reports for. Which is a HSW per the original
report.

Also once we get a bit a hold of some of the mysterious framebuffer in
stolen memory issues that still haunt bugzilla, we should probably
drop this hack again and see what happens.

This was introduced in

commit 53565c43d2f873234180b2c1be19797606b827a2
Author: Chris Wilson <chris@chris-wilson.co.uk>
Date:   Tue Mar 18 14:50:50 2014 +0200

    drm/i915: Disable stolen memory when DMAR is active

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: David Woodhouse <dwmw2@infradead.org>
References: https://bugs.freedesktop.org/show_bug.cgi?id=68535
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_stolen.c