diff options
author | 2016-01-04 10:10:59 +0000 | |
---|---|---|
committer | 2016-01-05 08:59:06 +0100 | |
commit | 6984128d01cf935820a0563f3a00c6623ba58109 (patch) | |
tree | 8c6bc6c3a20b1a8563cea2b3aa229bd2d53a1ead /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | vga_switcheroo: Prettify documentation (diff) | |
download | linux-dev-6984128d01cf935820a0563f3a00c6623ba58109.tar.xz linux-dev-6984128d01cf935820a0563f3a00c6623ba58109.zip |
drm: Balance error path for GEM handle allocation
The current error path for failure when establishing a handle for a GEM
object is unbalance, e.g. we call object_close() without calling first
object_open(). Use the typical onion structure to only undo what has
been set up prior to the error.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions