summaryrefslogtreecommitdiff
path: root/drivers/video/fbdev/chipsfb.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-12-08 01:00:25 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-12-08 14:36:48 +0300
commit3e72be177cf19ab3d62b3084d424dce7e71d847f (patch)
treecb72ec717999b5f470d3544c12d8feca85cbe592 /drivers/video/fbdev/chipsfb.c
parent7a1530d7f91fe670b8033aadb1db4dae64512abb (diff)
downloadlinux-3e72be177cf19ab3d62b3084d424dce7e71d847f.tar.xz
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 <chris@chris-wilson.co.uk> Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com> Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Cc: Daniel Vetter <daniel.vetter@ffwll.ch> Fixes: edde361711ef ("drm/i915: Use atomic state to obtain load detection crtc, v3.") Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20171207220025.22698-1-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/video/fbdev/chipsfb.c')
0 files changed, 0 insertions, 0 deletions