summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2016-12-23 17:57:55 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2016-12-23 19:06:56 +0300
commit28f412e02b15be73669d9882f8041d8e8b54f197 (patch)
tree69a3bb12d7ce8187102ffee885cfca05aa47d342 /scripts/gdb/linux/utils.py
parent4c5cfcc301f64e098e98b3723bcf50982222fa4a (diff)
downloadlinux-28f412e02b15be73669d9882f8041d8e8b54f197.tar.xz
drm/i915: Break after walking all GGTT vma in bump_inactive_ggtt
Since commit db6c2b4151f2 ("drm/i915: Store the vma in an rbtree under the object") the vma are once again sorted into GGTT first, then ppGTT so that the typical case of walking the GGTT vma can stop as soon as we find a non-ppGTT. Apply that optimisation. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/20161223145804.6605-1-chris@chris-wilson.co.uk
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions