From 1d2a4912c53be19f70dcb0c69c85614026435e65 Mon Sep 17 00:00:00 2001 From: Sudhir Sharma Date: Thu, 15 Mar 2012 20:24:56 -0700 Subject: [PATCH] Revert "framebuffer: In enableHDMI, check if target supports true mirroring" This reverts commit 85b77ee17b4f30cedb7b449182aa0ad5e942af7e. --- libgralloc/framebuffer.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libgralloc/framebuffer.cpp b/libgralloc/framebuffer.cpp index 66c6d9b..2abe2ee 100644 --- a/libgralloc/framebuffer.cpp +++ b/libgralloc/framebuffer.cpp @@ -362,8 +362,6 @@ static int fb_enableHDMIOutput(struct framebuffer_device_t* dev, int externaltyp dev->common.module); pthread_mutex_lock(&m->overlayLock); Overlay* pTemp = m->pobjOverlay; - //Check if true mirroring can be supported - m->trueMirrorSupport = FrameBufferInfo::getInstance()->canSupportTrueMirroring(); m->enableHDMIOutput = externaltype; LOGE("In fb_enableHDMIOutput: externaltype = %d", m->enableHDMIOutput); if(externaltype) { @@ -795,7 +793,7 @@ int mapFrameBufferLocked(struct private_module_t* module) pthread_t hdmiUIThread; pthread_create(&hdmiUIThread, NULL, &hdmi_ui_loop, (void *) module); module->hdmiMirroringState = HDMI_NO_MIRRORING; - module->trueMirrorSupport = false; + module->trueMirrorSupport = FrameBufferInfo::getInstance()->canSupportTrueMirroring(); #endif return 0;