drm: rcar-du: Fix framebuffer reference leak through plane state
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 5 Mar 2015 17:41:04 +0000 (19:41 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Thu, 19 Mar 2015 10:00:21 +0000 (12:00 +0200)
commitde115fac7388264f6f1865a12ea6e4101bd05c48
treec1de8003b25ad3b5092b737a15f4f73b7e656f6f
parent343e0d2b58117f58afd3718e863addcc357c01de
drm: rcar-du: Fix framebuffer reference leak through plane state

Plane state duplication takes a reference to the framebuffer stored in
the state, but state destroy doesn't release it. This causes a reference
leak. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_du_plane.c