diff options
author | 2014-04-15 16:26:01 +0300 | |
---|---|---|
committer | 2014-04-15 16:40:01 +0300 | |
commit | f2d022aa421ca903a30f63b04528064b7eceaf5e (patch) | |
tree | 84304e3a9d0a148c99acbdeaa0feb6b2645d64be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/omap: protect omap_crtc's event with event_lock spinlock (diff) | |
download | wireguard-linux-f2d022aa421ca903a30f63b04528064b7eceaf5e.tar.xz wireguard-linux-f2d022aa421ca903a30f63b04528064b7eceaf5e.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions