[Intel-gfx] [PATCH] drm/i915: Drop fb reference on load_detect_pipe failure path

Chris Wilson chris at chris-wilson.co.uk
Thu Dec 7 22:06:33 UTC 2017


Quoting Chris Wilson (2017-12-07 22:00:25)
> 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 <chris at chris-wilson.co.uk>
> Cc: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Ville Syrjälä <ville.syrjala at linux.intel.com>
> Cc: Daniel Vetter <daniel.vetter at ffwll.ch>

I believe,
Fixes: edde361711ef ("drm/i915: Use atomic state to obtain load detection crtc, v3.")
-Chris


More information about the Intel-gfx mailing list