Display: Enable HDMI in gralloc

Change-Id: Ifff15f3ff1eb2bb40ffe5c8a743ec5852652f45f
This commit is contained in:
Naseer Ahmed 2011-11-19 19:32:36 -08:00
parent 96dd6a36b9
commit d92f2df0ea
2 changed files with 2 additions and 3 deletions

View File

@ -38,7 +38,7 @@ ifeq ($(call is-board-platform,msm7627_surf msm7627_6x),true)
endif
ifeq ($(TARGET_HAVE_HDMI_OUT),true)
# LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY
LOCAL_CFLAGS += -DHDMI_DUAL_DISPLAY
LOCAL_C_INCLUDES += hardware/qcom/display/liboverlay
LOCAL_SHARED_LIBRARIES += liboverlay
endif

View File

@ -507,8 +507,7 @@ static void *hdmi_ui_loop(void *ptr)
int currOrientation = 0;
pTemp->getOrientation(currOrientation);
if(rot != currOrientation) {
pTemp->setParameter(OVERLAY_TRANSFORM,
rot);
pTemp->setTransform(rot);
}
EVEN_OUT(asX);
EVEN_OUT(asY);