[Bug 97621] [SKL] System boots with [drm:i915_stolen_to_physical] *ERROR* conflict detected with stolen region: [0xc6000000 - 0xc8000000] on dmesg

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 9 14:39:29 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=97621

--- Comment #4 from Chris Wilson <chris at chris-wilson.co.uk> ---
Try:

diff --git a/arch/x86/include/uapi/asm/e820.h
b/arch/x86/include/uapi/asm/e820.h
index 9dafe59cf6e2..5b40b4abef35 100644
--- a/arch/x86/include/uapi/asm/e820.h
+++ b/arch/x86/include/uapi/asm/e820.h
@@ -45,6 +45,8 @@
  */
 #define E820_PRAM      12

+#define E820_RESERVED_GFX 64
+
 /*
  * reserved RAM used by kernel itself
  * if CONFIG_INTEL_TXT is enabled, memory of this type will be
diff --git a/arch/x86/kernel/early-quirks.c b/arch/x86/kernel/early-quirks.c
index f306698a4cb4..e84f6afbb578 100644
--- a/arch/x86/kernel/early-quirks.c
+++ b/arch/x86/kernel/early-quirks.c
@@ -546,7 +546,7 @@ intel_graphics_stolen(int num, int slot, int func,
               &base, &end);

        /* Mark this space as reserved */
-       e820_add_region(base, size, E820_RESERVED);
+       e820_add_region(base, size, E820_RESERVED_GFX);
        sanitize_e820_map(e820.map, ARRAY_SIZE(e820.map), &e820.nr_map);
 }

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20160909/1d2f3f5a/attachment.html>


More information about the intel-gfx-bugs mailing list