author | Sergiy Kibrik <sergiy.kibrik@globallogic.com> | |
Wed, 3 Apr 2013 20:09:19 +0000 (15:09 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 22:41:44 +0000 (17:41 -0500) | ||
commit | f94ed43d2c2da980844e0383fba6e4c545970172 | |
tree | d79d18baad7436b9c50eef42bfaf791b270acb00 | tree | snapshot (tar.xz tar.gz zip) |
parent | 16d1a43b9149df22e26fbfeaa7c7a2a5e53cac8a | commit | diff |
OMAPDSS: DSSCOMP: split tiler1d slots for multi-display
When switching to multi-display presentation mode, gralloc queue
needs to hold at most 4 compositions in parallel, thus requiring
4 tiler1d slots to map layers. For not to take additional tiler1d
space beyond 32Mb, we split 2 slots into 4 smaller slots, which
reflects the way hwcomposer manages layers in userspace.
When quitting presentation mode slots merged back into 2 lagre chunks.
Until tiler API supports blocks splitting/merging, we use hack
of first releasing and immediately requesting different size block.
Change-Id: I1f323f77235f8380833bc7322b589bd2504d37e3
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
When switching to multi-display presentation mode, gralloc queue
needs to hold at most 4 compositions in parallel, thus requiring
4 tiler1d slots to map layers. For not to take additional tiler1d
space beyond 32Mb, we split 2 slots into 4 smaller slots, which
reflects the way hwcomposer manages layers in userspace.
When quitting presentation mode slots merged back into 2 lagre chunks.
Until tiler API supports blocks splitting/merging, we use hack
of first releasing and immediately requesting different size block.
Change-Id: I1f323f77235f8380833bc7322b589bd2504d37e3
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
drivers/video/omap2/dsscomp/gralloc.c | diff | blob | history |