linux-xiaomi-chiron/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
Makefile
omap_connector.c
omap_crtc.c
omap_debugfs.c
omap_dmm_priv.h
omap_dmm_tiler.c
omap_dmm_tiler.h
omap_drv.c
omap_drv.h
omap_encoder.c
omap_fb.c
omap_fbdev.c
omap_gem.c
omap_gem_dmabuf.c
omap_irq.c
omap_plane.c
tcm-sita.c
tcm-sita.h
tcm.h
TODO