summaryrefslogtreecommitdiffstats
path: root/drivers/char/hpet.c
diff options
context:
space:
mode:
authorDaniel Vetter <daniel.vetter@ffwll.ch>2013-02-15 21:21:37 +0100
committerDave Airlie <airlied@redhat.com>2013-02-19 23:47:54 +0100
commit35f8badc1cf652381fa3f82c1fbea39f4dbe87fd (patch)
treec2a9a4df9864daf8647bcab7fa5b469da2034440 /drivers/char/hpet.c
parentdrm: don't add inferred modes for monitors that don't support them (diff)
downloadlinux-35f8badc1cf652381fa3f82c1fbea39f4dbe87fd.tar.xz
linux-35f8badc1cf652381fa3f82c1fbea39f4dbe87fd.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 <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: Rob Clark <rob@ti.com> Reviewed-by: Jesse Barnes <jbarnes@virtuousgeek.org> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Thierry Reding <thierry.reding@avionic-design.de> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/char/hpet.c')
0 files changed, 0 insertions, 0 deletions