[Intel-gfx] [PATCH 0/6] drm/i915: Gen2 stolen/local memory support (v2)

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Tue Dec 3 16:49:47 CET 2013


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(-)



More information about the Intel-gfx mailing list