[PATCH] drm: Keep a reference to the active plane framebuffer

Thierry Reding thierry.reding at avionic-design.de
Tue Feb 19 07:36:05 PST 2013


On Tue, Feb 19, 2013 at 05:32:56PM +0200, Ville Syrjälä wrote:
> On Tue, Feb 19, 2013 at 04:18:07PM +0100, Thierry Reding wrote:
> > When updating a plane, the DRM core always sets the plane's framebuffer
> > to NULL. This in turn will cause the reference count on the plane's
> > active framebuffer to become unbalanced because on the next update, the
> > old framebuffer will be NULL.
> > 
> > Signed-off-by: Thierry Reding <thierry.reding at avionic-design.de>
> 
> http://lists.freedesktop.org/archives/dri-devel/2013-February/034978.html

Darn, I had searched for it but must have missed it. Thanks.

Thierry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20130219/08197f19/attachment.pgp>


More information about the dri-devel mailing list