diff options
author | Ville Syrjälä <[email protected]> | 2016-05-27 20:59:22 +0300 |
---|---|---|
committer | Ville Syrjälä <[email protected]> | 2016-05-30 17:02:03 +0300 |
commit | 69ae561f4557d31a1dc6d23db5c2735a5568959c (patch) | |
tree | 1fdc265bc17279476045520df5796c952087c069 /tools/perf/scripts/python | |
parent | 4d5d72b7f1a66e5500691dc5cf1e10effc7f6942 (diff) |
drm/i915: Don't leak primary/cursor planes on crtc init failure
Call intel_plane_destroy() instead of drm_plane_cleanup() so that we
also free the plane struct itself when bailing out of the crtc init.
And make intel_plane_destroy() NULL tolerant to avoid having to check
for it in the caller.
Signed-off-by: Ville Syrjälä <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions