[Intel-gfx] [PATCH 0/8] Gen2 stolen/local memory support

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Thu Nov 28 16:15:02 CET 2013


While poking around with FBC, I noticed that we don't currently have
stolen memory support for gen2. This series aims to fix that.

I also tried to add support for 830M local memory. Now, I don't actually
know if there are systems out there equipped with local memory or not. But
if they do exist, I wouldn't mind getting one...

As I only have a single gen2 system (855GM), this has only received limited
testing.

Ville Syrjälä (8):
      x86: Add vfunc for Intel graphics stolen memory base address
      x86: Add Intel graphics stolen memory quirk for gen2 platforms
      intel-gtt: Return whether we have local memory or not
      intel-gtt: Assume last 128KB of stolen contains the GTT entries on gen2
      intel-gtt: Use i810_write_entry() on gen2 platforms
      drm/i915: Add I915_CACHE_LOCAL to indicate local memory
      drm/i915: Keep track if we have local memory
      drm/i915: Determine the stolen memory base address on gen2

 arch/x86/kernel/early-quirks.c         | 147 ++++++++++++++++++++++++++-------
 drivers/char/agp/intel-gtt.c           |  35 ++++----
 drivers/gpu/drm/i915/i915_drv.h        |   7 +-
 drivers/gpu/drm/i915/i915_gem.c        |  10 ++-
 drivers/gpu/drm/i915/i915_gem_gtt.c    |  32 +++++--
 drivers/gpu/drm/i915/i915_gem_stolen.c |  51 ++++++++----
 include/drm/i915_drm.h                 |  12 +++
 include/drm/intel-gtt.h                |   3 +-
 8 files changed, 223 insertions(+), 74 deletions(-)



More information about the Intel-gfx mailing list