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:
parent
9d12887c02
commit
41c718b253
@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user