This work sort of led me on the gtt vtable distraction which ended in Daniel doing his own version. I posted these originally about a month ago. I've rebased them on dinq. I'd like to see them get merged since they still help with some other work I'm doing on PPGTT. Some of this work does conflict a bit with the gtt vtable stuff. I did a decent amount of testing on the original post, less so on this rebased version. Ben Widawsky (5): drm/i915: trivial: kill-agp collateral cleanups drm/i915: Reclaim GTT space for failed PPGTT drm/i915: Extract gen6 aliasing ppgtt code drm/i915: Aliased PPGTT size abstraction drm/i915: Dynamically calculate dclv drivers/gpu/drm/i915/i915_debugfs.c | 2 + drivers/gpu/drm/i915/i915_drv.h | 6 +-- drivers/gpu/drm/i915/i915_gem_gtt.c | 101 +++++++++++++++++++++++------------- drivers/gpu/drm/i915/i915_reg.h | 1 - 4 files changed, 71 insertions(+), 39 deletions(-) -- 1.8.1.1