summaryrefslogtreecommitdiffstats
path: root/drivers/cpuidle
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2014-10-12 00:53:35 +0200
committerRussell King <rmk+kernel@arm.linux.org.uk>2014-10-17 17:59:07 +0200
commitc5488307dd679ea3fc23fec77dbf27191c2becda (patch)
tree2a0aa3513a08208c93decc6440322dcd48401ec0 /drivers/cpuidle
parentdrm/armada: add IRQ support back (diff)
downloadlinux-c5488307dd679ea3fc23fec77dbf27191c2becda.tar.xz
linux-c5488307dd679ea3fc23fec77dbf27191c2becda.zip
drm/armada: fix page_flip refcounting leak
A refcounting leak was found of the original frame buffer attached to the CRTC when using the page_flip ioctl, resulting in the frame buffer never being freed. This was not obvious initially, as if the page flip subsequently re-attaches the original frame buffer, the refcounts will be balanced. However, if the original frame buffer is freed, then it will be leaked. Fix this by ensuring that we take a reference on the incoming fb, but rely on the queued work to drop that ref count. Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/cpuidle')
0 files changed, 0 insertions, 0 deletions