diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-04 07:52:20 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-08-04 08:09:13 +0100 |
commit | 894eeecc1e3b47ef115e252ec58eff7ec174e7ef (patch) | |
tree | 5510f227df0c2200459d4f3b1db156c4c12946a6 /drivers/gpu/drm/i915/i915_gem_gtt.h | |
parent | drm/i915: Clean up the extra RPM ref on CHV with i915.enable_rc6=0 (diff) | |
download | linux-dev-894eeecc1e3b47ef115e252ec58eff7ec174e7ef.tar.xz linux-dev-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_gem_gtt.h')
0 files changed, 0 insertions, 0 deletions