aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBen Widawsky <[email protected]>2013-08-13 18:09:06 -0700
committerDaniel Vetter <[email protected]>2013-08-22 13:31:44 +0200
commit433544bd25b06cb6dcdb79b6da8d748a0220898e (patch)
tree43db94682893d338a10d96af3bd12fff9c492c72 /tools/perf/scripts/python
parent4a025e26a2979193739f46e391ffc05cf0637d90 (diff)
drm/i915: Remove node only when allocated
VMAs can be created and not bound. One may think of it as lazy cleanup, and safely gloss over the conditions which manufacture it. In either case, when the object backing the i915 vma is destroyed, we must cleanup the vma without stumbling into a bunch of pitfalls that assume the vma is bound. NOTE: I was pretty certain the above condition could only happen when we introduced the use of VMAs being looked up at execbuf, and already existing. Paulo has hit this though, so I must be missing something. As I believe the patch is correct anyway, therefore I won't scratch my head too hard. v2: use goto destroy as a compromise (Chris) Cc: Chris Wilson <[email protected]> Cc: Paulo Zanoni <[email protected]> Signed-off-by: Ben Widawsky <[email protected]> Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions