Thread (4 messages) 4 messages, 3 authors, 2016-08-04
STALE3706d

[PATCH] drm/i915: Disable stolen on 865G

From: Chris Wilson <hidden>
Date: 2016-08-04 09:56:57
Also in: intel-gfx
Subsystem: drm drivers, intel drm i915 driver (meteor lake, dg2 and older excluding poulsbo, moorestown and derivative), the rest · Maintainers: David Airlie, Simona Vetter, Jani Nikula, Joonas Lahtinen, Rodrigo Vivi, Tvrtko Ursulin, Linus Torvalds

It appears our calculation for the address of stolen memory is incorrect
for 865G, so for the time being disable our use of that memory.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=96473
Fixes: 0ad98c74e093 ("drm/i915: Deatermine the stolen memory base address...")
Signed-off-by: Chris Wilson <redacted>
Cc: Ville Syrjälä <redacted>
Cc: Daniel Vetter <redacted>
Cc: stable@vger.kernel.org
---
 drivers/gpu/drm/i915/i915_gem_stolen.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/i915/i915_gem_stolen.c b/drivers/gpu/drm/i915/i915_gem_stolen.c
index e1791fe96674..8b501ddbc784 100644
--- a/drivers/gpu/drm/i915/i915_gem_stolen.c
+++ b/drivers/gpu/drm/i915/i915_gem_stolen.c
@@ -122,6 +122,7 @@ static unsigned long i915_stolen_to_physical(struct drm_device *dev)
 		 * always at TOUD? Ie. is it always the last
 		 * one to be allocated by the BIOS?
 		 */
+		if (0) /* https://bugs.freedesktop.org/show_bug.cgi?id=96473 */
 		pci_bus_read_config_word(dev->pdev->bus, PCI_DEVFN(0, 0),
 					 I865_TOUD, &toud);
 
-- 
2.8.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help