summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Hu <austin.hu@intel.com>2017-04-06 17:27:51 +0800
committerDaniel Cardenas <danielcar@google.com>2017-04-17 19:13:39 -0700
commitb4a718c0d8f97a70f1b3fd08a33258df98b837ed (patch)
tree7ab87d12b8809d45079af3b548be0285b54b2a77
parente7759c75369e165c5a7640a3ca8c73baac0a6fa3 (diff)
downloadhwcomposer-b4a718c0d8f97a70f1b3fd08a33258df98b837ed.tar.gz
Fixed the screen freeze issue for any frame with only FBT layer.
Bug: 33487853 Fixed by going through the normal post procedure, and creating the corrsponding retire fence for the frame. But actually display driver won't do real page flip by updating the register(s) of Display Controller, to display the black screen. Because, Anniedale Display Controller used in Fugu has a HARDWARE bug that its pipe would hang if all of the attached RGB/YUV planes are off. Test: netflix, play movies, youtube Change-Id: I9911c5e159c86fb46c02c958cb68d5c9e83856ae Signed-off-by: Austin Hu <austin.hu@intel.com> (cherry picked from commit eb65cfa1356880438b59009d585ebcb35ec1030f)
-rwxr-xr-xmoorefield_hdmi/ips/tangier/TngDisplayContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/moorefield_hdmi/ips/tangier/TngDisplayContext.cpp b/moorefield_hdmi/ips/tangier/TngDisplayContext.cpp
index 789d80f..5cf9968 100755
--- a/moorefield_hdmi/ips/tangier/TngDisplayContext.cpp
+++ b/moorefield_hdmi/ips/tangier/TngDisplayContext.cpp
@@ -147,7 +147,7 @@ bool TngDisplayContext::commitEnd(size_t numDisplays, hwc_display_contents_1_t *
VLOGTRACE("count = %d", mCount);
- if (mIMGDisplayDevice && mCount) {
+ if (mIMGDisplayDevice) {
int err = mIMGDisplayDevice->post(mIMGDisplayDevice,
mImgLayers,
mCount,