Elaborating a bit more on what we can do with the vtable... still hoping to get feedback. Ben Widawsky (5): drm/i915: Create a vtable for i915 gtt drm/i915: Resume dissecting intel_gtt drm/i915: Extract gtt stolen calculations drm/i915: Extract clear_range to gtt_ops drm/i915: Extract bind object drivers/char/agp/intel-gtt.c | 36 ++-- drivers/gpu/drm/i915/i915_dma.c | 2 +- drivers/gpu/drm/i915/i915_drv.h | 34 +++- drivers/gpu/drm/i915/i915_gem.c | 20 ++- drivers/gpu/drm/i915/i915_gem_context.c | 4 +- drivers/gpu/drm/i915/i915_gem_execbuffer.c | 10 +- drivers/gpu/drm/i915/i915_gem_gtt.c | 270 ++++++++++++++++------------- drivers/gpu/drm/i915/i915_gem_stolen.c | 8 +- include/drm/intel-gtt.h | 10 +- 9 files changed, 223 insertions(+), 171 deletions(-) -- 1.8.1.1