Another attempt at figuring out stolen memory for gen2. This time instead of trusting the GTT base address, I used the same method the BIOS uses. (TOM-TSEG_SIZE-stolen_size). Except on 865G where things are more complicated. Fortunately it seems to have a simlple answer for us in the for om the TOUD register. So far this has only been tested on my 855 laptop with 512MB memory. Ville Syrjälä (6): x86: Add vfunc for Intel graphics stolen memory base address x86: Add Intel graphics stolen memory quirk for gen2 platforms x86: Print the Intel graphcis stolen memory range intel-gtt: Report stolen_size as 0 when local memory is present drm/i915: Don't clobber the GTT when it's within stolen memory drm/i915: Determine the stolen memory base address on gen2 arch/x86/kernel/early-quirks.c | 218 ++++++++++++++++++++++++++++----- drivers/char/agp/intel-gtt.c | 7 ++ drivers/gpu/drm/i915/i915_gem_stolen.c | 108 ++++++++++++++-- drivers/gpu/drm/i915/i915_reg.h | 2 + include/drm/i915_drm.h | 18 +++ 5 files changed, 313 insertions(+), 40 deletions(-) _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx