summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_debugfs.c
diff options
context:
space:
mode:
authorBen Widawsky2014-02-20 07:05:49 +0100
committerDaniel Vetter2014-03-05 21:30:00 +0100
commitb146520ff9130bdc6c32e4a282d61576605e64a2 (patch)
tree522b2e95913807eced63d7afda4c7a7bcf2f8458 /drivers/gpu/drm/i915/i915_debugfs.c
parentdrm/i915: Split GEN6 PPGTT cleanup (diff)
downloadkernel-qcow2-linux-b146520ff9130bdc6c32e4a282d61576605e64a2.tar.gz
kernel-qcow2-linux-b146520ff9130bdc6c32e4a282d61576605e64a2.tar.xz
kernel-qcow2-linux-b146520ff9130bdc6c32e4a282d61576605e64a2.zip
drm/i915: Split GEN6 PPGTT initialization up
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/etc. or use a common helper, similar to the ringbuffer code. I don't see a benefit to doing this just yet, but who knows... Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Ben Widawsky <ben@bwidawsk.net> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_debugfs.c')
0 files changed, 0 insertions, 0 deletions