diff options
author | Chris Wilson <[email protected]> | 2017-12-07 22:00:25 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2017-12-08 11:36:48 +0000 |
commit | 3e72be177cf19ab3d62b3084d424dce7e71d847f (patch) | |
tree | cb72ec717999b5f470d3544c12d8feca85cbe592 /tools/perf/scripts/python/futex-contention.py | |
parent | 7a1530d7f91fe670b8033aadb1db4dae64512abb (diff) |
drm/i915: Drop fb reference on load_detect_pipe failure path
When intel_modeset_setup_plane_state() fails drop the local framebuffer
reference before jumping to the error, otherwise we leak the framebuffer.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Maarten Lankhorst <[email protected]>
Cc: Ville Syrjälä <[email protected]>
Cc: Daniel Vetter <[email protected]>
Fixes: edde361711ef ("drm/i915: Use atomic state to obtain load detection crtc, v3.")
Reviewed-by: Ville Syrjälä <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions