summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/drm_fb_cma_helper.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-02-15 20:21:37 (GMT)
committerRob Clark <robdclark@gmail.com>2013-02-17 22:55:31 (GMT)
commit6e488c00457dad0d433af7f937211fba8d76fd04 (patch)
treeee4d6b5274e128ef121928f3f4a76767a9f43942 /drivers/gpu/drm/drm_fb_cma_helper.c
parent50fdaae79abbfc4f04b5380ac5abf00fd448c5a5 (diff)
downloadlinux-6e488c00457dad0d433af7f937211fba8d76fd04.tar.xz
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 <daniel.vetter@ffwll.ch> Date: Tue Dec 11 00:59:24 2012 +0100 drm: refcounting for sprite framebuffers Reported-by: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Jesse Barnes <jbarnes@virtuousgeek.org> Cc: Rob Clark <rob@ti.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Diffstat (limited to 'drivers/gpu/drm/drm_fb_cma_helper.c')
0 files changed, 0 insertions, 0 deletions