author | Sergiy Kibrik <sergiy.kibrik@globallogic.com> | |
Wed, 3 Apr 2013 20:11:08 +0000 (15:11 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 22:41:44 +0000 (17:41 -0500) | ||
commit | 9c4860541e308c2c2ae1d6ed5e9facf3978c7f0c | |
tree | a258d37a8785b0546ec83cb0ca79dc54ab67c5e7 | tree | snapshot (tar.xz tar.gz zip) |
parent | f94ed43d2c2da980844e0383fba6e4c545970172 | commit | diff |
OMAPDSS: DSSCOMP: do not clone from disabled layer
In case of cloning layer from other overlay, we should always check
whether overlay we want to clone from is valid, or we may run
into severe troubles. One example of failing case is when 1D mapping
of overlay fails, we can't clone from it, as it will be disabled and
we will eventually end up with memory violation.
Change-Id: Ic230d965b09df62e7a15e7b89364f169783bdb9e
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
In case of cloning layer from other overlay, we should always check
whether overlay we want to clone from is valid, or we may run
into severe troubles. One example of failing case is when 1D mapping
of overlay fails, we can't clone from it, as it will be disabled and
we will eventually end up with memory violation.
Change-Id: Ic230d965b09df62e7a15e7b89364f169783bdb9e
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
drivers/video/omap2/dsscomp/gralloc.c | diff | blob | history |