From 41c718b2538810673b48265d0f2a8c7f90585337 Mon Sep 17 00:00:00 2001 From: "Arun Kumar K.R" Date: Fri, 5 Oct 2012 11:06:48 -0700 Subject: [PATCH] libhwcexternal: remove unnessary ioctls - fb open will turn on the framebuffer device, no need of explicit UNBLANK - remove PANDISPLAY as it will be trigged by FBIOPUT_VSCREENINFO Change-Id: I58bc1ebea924809b32a8e51eb81a2cc926538465 --- libhwcomposer/hwc_external.cpp | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/libhwcomposer/hwc_external.cpp b/libhwcomposer/hwc_external.cpp index e862ef2..8c4ea6c 100644 --- a/libhwcomposer/hwc_external.cpp +++ b/libhwcomposer/hwc_external.cpp @@ -387,23 +387,6 @@ void ExternalDisplay::setResolution(int ID) } mCurrentMode = ID; } - //Powerup - ret = ioctl(mFd, FBIOBLANK, FB_BLANK_UNBLANK); - if(ret < 0) { - ALOGD("In %s: FBIOBLANK failed Err Str = %s", __FUNCTION__, - strerror(errno)); - } - ret = ioctl(mFd, FBIOGET_VSCREENINFO, &mVInfo); - if(ret < 0) { - ALOGD("In %s: FBIOGET_VSCREENINFO failed Err Str = %s", __FUNCTION__, - strerror(errno)); - } - //Pan_Display - ret = ioctl(mFd, FBIOPAN_DISPLAY, &mVInfo); - if(ret < 0) { - ALOGD("In %s: FBIOPAN_DISPLAY failed Err Str = %s", __FUNCTION__, - strerror(errno)); - } } /*