[Intel-gfx] [PATCH 9/9] drm/i915: Split GEN6 PPGTT initialization up

2013-12-25 Thread Ben Widawsky
Simply to match the GEN8 style of PPGTT initialization, split up the allocations and mappings. Unlike GEN8, we skip a separate dma_addr_t allocation function, as it is much simpler pre-gen8. With this code it would be easy to make a more general PPGTT initialization function with per GEN alloc/map

[Intel-gfx] [PATCH 8/9] drm/i915: Split GEN6 PPGTT cleanup

2013-12-25 Thread Ben Widawsky
This cleanup is similar to the GEN8 cleanup (though less necessary). Having everything split will make cleaning the initialization path error paths easier to understand. Signed-off-by: Ben Widawsky --- drivers/gpu/drm/i915/i915_gem_gtt.c | 26 +++--- 1 file changed, 19 insert