aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2013-09-24 09:57:57 -0700
committerDaniel Vetter <[email protected]>2013-10-01 07:45:21 +0200
commit5c2abbeab798154166d42fce4f71790caa6dd9bc (patch)
tree4f2232391cd39f6a9dc5887af634f1c045d6074e /tools/perf/scripts/python
parentbcccff847d1fdb53c2fae999a7f03facfa399bab (diff)
drm/i915: Provide a cheap ggtt vma lookup
"We do fairly often lookup the ggtt vma for an obj." - Chris Wilson. As such, provide a function to offer slightly cheaper access to the vma. Not performance tested. By my quick estimation it saves at least 3 pointer dereferences from the existing mechanism. This patch mostly matches code from Chris in <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Ben Widawsky <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions