diff options
| author | Daniel Vetter <[email protected]> | 2013-02-15 20:21:37 +0000 |
|---|---|---|
| committer | Rob Clark <[email protected]> | 2013-02-17 22:55:31 +0000 |
| commit | 6e488c00457dad0d433af7f937211fba8d76fd04 (patch) | |
| tree | ee4d6b5274e128ef121928f3f4a76767a9f43942 /drivers/gpu/drm/omapdrm/omap_gem.c | |
| parent | drm/cma-helper: fixup compilation (diff) | |
| download | kernel-6e488c00457dad0d433af7f937211fba8d76fd04.tar.gz kernel-6e488c00457dad0d433af7f937211fba8d76fd04.zip | |
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 <[email protected]>
Date: Tue Dec 11 00:59:24 2012 +0100
drm: refcounting for sprite framebuffers
Reported-by: Jesse Barnes <[email protected]>
Cc: Jesse Barnes <[email protected]>
Cc: Rob Clark <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Reviewed-by: Jesse Barnes <[email protected]>
Reviewed-by: Ville Syrjälä <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/omapdrm/omap_gem.c')
0 files changed, 0 insertions, 0 deletions
