]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/gma500/psb: Unpin framebuffer on crtc disable
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
Wed, 5 Jun 2013 12:24:01 +0000 (14:24 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2013 19:01:28 +0000 (12:01 -0700)
commit96a04bcecfc634032c29719ad1903d61bff77e4f
tree6973a36d22a13c77739fabbfb05b79d1ae2d5adb
parent15b62555751201d0e6c548b0c14a4027152aad0d
drm/gma500/psb: Unpin framebuffer on crtc disable

commit 820de86a90089ee607d7864538c98a23b503c846 upstream.

The framebuffer needs to be unpinned in the crtc->disable callback
because of previous pinning in psb_intel_pipe_set_base(). This will fix
a memory leak where the framebuffer was released but not unpinned
properly. This patch only affects Poulsbo.

Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=889511
Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=812113
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/gma500/psb_intel_display.c