linux-stable/drivers/gpu/drm/omapdrm
Tomi Valkeinen f2d022aa42 drm/omap: fix the handling of fb ref counts
With the recent primary-plane changes for drm, the primary plane's
framebuffer needs to be ref counted the same way as for
non-primary-planes. This was not done by the omapdrm driver, which
caused the ref count to drop to 0 too early, causing problems.

This patch moves the fb unref and ref from omap_plane_update to
omap_plane_mode_set. This way the fb refs are updated for both primary
and non-primary cases, as omap_plane_update calls omap_plane_mode_set.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
2014-04-15 16:40:01 +03:00
..
Kconfig drm: Add separate Kconfig option for fbdev helpers 2013-10-11 23:36:58 +02:00
Makefile drm/omap: kill omap_gem_helpers.c 2013-08-19 10:36:16 +10:00
omap_connector.c OMAPDSS: convert pixel clock to common videomode style 2014-03-05 08:33:30 +02:00
omap_crtc.c drm/omap: protect omap_crtc's event with event_lock spinlock 2014-04-15 13:35:29 +03:00
omap_debugfs.c drm: store the gem vma offset manager in a typed pointer 2014-01-14 12:38:32 +10:00
omap_dmm_priv.h
omap_dmm_tiler.c drm/omap: Enable DT support for DMM 2014-01-09 15:25:35 +02:00
omap_dmm_tiler.h
omap_drv.c drm/omap: fix race issue when unloading omapdrm 2014-04-14 12:34:14 +03:00
omap_drv.h drm/omap: fix race issue when unloading omapdrm 2014-04-14 12:34:14 +03:00
omap_encoder.c drm/omap: fix: disable encoder before destroying it 2014-01-09 15:17:25 +02:00
omap_fb.c drm/omap: print warning when rotating non-TILER fb 2014-04-15 13:35:14 +03:00
omap_fbdev.c drm/omap: fix missing unref to fb's buf object 2014-04-14 12:34:37 +03:00
omap_gem.c drm/omap: gem sync: wait on correct events 2014-04-15 13:35:28 +03:00
omap_gem_dmabuf.c drm/gem: add mutex lock when using drm_gem_mmap_obj 2013-06-28 12:30:15 +10:00
omap_irq.c omapdrm patches for 3.14 2014-01-29 09:37:47 +10:00
omap_plane.c drm/omap: fix the handling of fb ref counts 2014-04-15 16:40:01 +03:00
tcm-sita.c
tcm-sita.h
tcm.h
TODO