From: Daniel Vetter Date: Fri, 15 Feb 2013 20:21:37 +0000 (+0000) Subject: drm: Don't set the plane->fb to NULL on successfull set_plane X-Git-Tag: v3.9-rc1~83^2~6^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e488c00457dad0d433af7f937211fba8d76fd04;p=pandora-kernel.git drm: Don't set the plane->fb to NULL on successfull set_plane We need to clear the local variable to get the refcounting right (since the reference drm_mode_setplane holds is transferred to the plane->fb pointer). But should be done _after_ we update the pointer. Breakage introduced in commit 6c2a75325c800de286166c693e0cd33c3a1c5ec8 Author: Daniel Vetter Date: Tue Dec 11 00:59:24 2012 +0100 drm: refcounting for sprite framebuffers Reported-by: Jesse Barnes Cc: Jesse Barnes Cc: Rob Clark Signed-off-by: Daniel Vetter Reviewed-by: Jesse Barnes Reviewed-by: Ville Syrjälä --- Reading git-diff-tree failed