diff options
author | Arda Coskunses <arda.coskunses@intel.com> | 2014-03-11 14:55:46 -0700 |
---|---|---|
committer | buildslave <sys_buildbot@intel.com> | 2014-03-13 00:27:49 +0000 |
commit | 271fd31f295b993d14d07c86737cc12bba93cb0a (patch) | |
tree | 7be14e04a174ce691f7f43064406c2faa2313271 /ips | |
parent | 466748a6f67ce4d1ad8baa944e68a88cf3c86d26 (diff) | |
download | hwcomposer-271fd31f295b993d14d07c86737cc12bba93cb0a.tar.gz |
Overlay Flip causes MIPI stall when Destination height = 1
BZ: 178365
Added additional check in HWC for cases Overlay destination
height is 1.
Change-Id: I7d82c86ac444cd202c1a3f0bb7e1e0af0a14c1d1
Signed-off-by: Arda Coskunses <arda.coskunses@intel.com>
Diffstat (limited to 'ips')
-rw-r--r-- | ips/common/OverlayPlaneBase.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ips/common/OverlayPlaneBase.cpp b/ips/common/OverlayPlaneBase.cpp index 5a271d1..aa4ecef 100644 --- a/ips/common/OverlayPlaneBase.cpp +++ b/ips/common/OverlayPlaneBase.cpp @@ -1006,6 +1006,12 @@ bool OverlayPlaneBase::scalingSetup(BufferMapper& mapper) return false; } + //Overlay flip when height is 1 causes MIPI stall on TNG + if (h <= 1) { + VTRACE("Overlay Flip discard when height=1"); + return false; + } + // setup dst position backBuffer->DWINPOS = (y << 16) | x; backBuffer->DWINSZ = (h << 16) | w; |