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
This commit is contained in:
Arun Kumar K.R 2012-10-05 11:06:48 -07:00 committed by andrew.boren
parent 9d12887c02
commit 41c718b253

View File

@ -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));
}
}
/*