[Intel-gfx] [PATCH 0/5] CFT: full gtt support

Daniel Vetter daniel.vetter at ffwll.ch
Fri Sep 24 19:32:05 CEST 2010

Hi all,

This patch series enables the unmappable part of the gtt where available
(g33/pineview and gen4 and later). I've already sent out the required drm
core changes to dri-devel. Current wip branch for this is available at

git://anongit.freedesktop.org/~danvet/drm full-gtt

It seems to work rather well and decently improves performance for
workloads that now fit into the gtt and previously didn't.

The last patch is the most experimental one (and the one I'm most
interested in testing feedback): It expands the gtt to fully use the
pagetable preallocated by the bios (it looks like the free room in there
was intended for ppggt usage). This results in a 2GB aperture on my ilk,
which not even virtual forbidden city can fill ;). This only works on gen5
hw (as Chris Wilson found out the hard way).

Review, comments and test-reports highly welcome.

Yours, Daniel

Daniel Vetter (6):
  drm/i915: range-restricted eviction support
  drm/i915: range-restricted bind_to_gtt
  drm/i915: unbind unmappable objects on fault/pin
  drm/i915: use the complete gtt
  intel-gtt: save PGETBL_CTL later in the setup process
  intel-gtt: maximize ggtt size on platforms that support this

 drivers/char/agp/intel-agp.h            |   14 +++-
 drivers/char/agp/intel-gtt.c            |  110 +++++++++++++++++++++---------
 drivers/gpu/drm/i915/i915_dma.c         |   14 +++--
 drivers/gpu/drm/i915/i915_drv.h         |   10 ++-
 drivers/gpu/drm/i915/i915_gem.c         |   89 +++++++++++++++++++------
 drivers/gpu/drm/i915/i915_gem_evict.c   |   24 +++++--
 drivers/gpu/drm/i915/intel_display.c    |    6 +-
 drivers/gpu/drm/i915/intel_overlay.c    |    4 +-
 drivers/gpu/drm/i915/intel_ringbuffer.c |    4 +-
 9 files changed, 197 insertions(+), 78 deletions(-)

More information about the Intel-gfx mailing list