summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.c
diff options
context:
space:
mode:
authorChris Wilson2016-08-04 08:52:20 +0200
committerChris Wilson2016-08-04 09:09:13 +0200
commit894eeecc1e3b47ef115e252ec58eff7ec174e7ef (patch)
tree5510f227df0c2200459d4f3b1db156c4c12946a6 /drivers/gpu/drm/i915/i915_drv.c
parentdrm/i915: Clean up the extra RPM ref on CHV with i915.enable_rc6=0 (diff)
downloadkernel-qcow2-linux-894eeecc1e3b47ef115e252ec58eff7ec174e7ef.tar.gz
kernel-qcow2-linux-894eeecc1e3b47ef115e252ec58eff7ec174e7ef.tar.xz
kernel-qcow2-linux-894eeecc1e3b47ef115e252ec58eff7ec174e7ef.zip
drm/i915: Amalgamate GGTT/ppGTT vma debug list walkers
As we can now have multiple VMA inside the global GTT (with partial mappings, rotations, etc), it is no longer true that there may just be a single GGTT entry and so we should walk the full vma_list to count up the actual usage. In addition to unifying the two walkers, switch from multiplying the object size for each vma to summing the bound vma sizes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1470293567-10811-1-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.c')
0 files changed, 0 insertions, 0 deletions