• Ville Syrjälä's avatar
    x86/gpu: Add Intel graphics stolen memory quirk for gen2 platforms · a4dff769
    Ville Syrjälä authored
    There isn't an explicit stolen memory base register on gen2.
    Some old comment in the i915 code suggests we should get it via
    max_low_pfn_mapped, but that's clearly a bad idea on my MGM.
    
    The e820 map in said machine looks like this:
    
    	BIOS-e820: [mem 0x0000000000000000-0x000000000009f7ff] usable
    	BIOS-e820: [mem 0x000000000009f800-0x000000000009ffff] reserved
    	BIOS-e820: [mem 0x00000000000ce000-0x00000000000cffff] reserved
    	BIOS-e820: [mem 0x00000000000dc000-0x00000000000fffff] reserved
    	BIOS-e820: [mem 0x0000000000100000-0x000000001f6effff] usable
    	BIOS-e820: [mem 0x000000001f6f0000-0x000000001f6f7fff] ACPI data
    	BIOS-e820: [mem 0x000000001f6f8000-0x000000001f6fffff] ACPI NVS
    	BIOS-e820: [mem 0x000000001f700000-0x000000001fffffff] reserved
    	BIOS-e820: [mem 0x00000000fec10000-0x00000000fec1ffff] reserved
    	BIOS-e820: [mem 0x00000000ffb00000-0x00000000ffbfffff] reserved
    	BIOS-e820: [mem 0x00000000fff00000-0x00000000ffffffff] reserved
    
    That m...
    a4dff769
i915_drm.h 3.41 KB