fb: Remove extra PUT_VSCREENINFO call.

Remove the extra PUT call during system startup.

Change-Id: I29287af2ee5610e749ac481c2832f41d7381ca59
This commit is contained in:
Saurabh Shah
2012-09-11 11:12:23 -07:00
committed by Iliyan Malchev
parent aa537df10d
commit e557e6e8e8

View File

@@ -271,11 +271,6 @@ int mapFrameBufferLocked(struct private_module_t* module)
info.yres_virtual = (size * numberOfBuffers) / line_length;
uint32_t flags = PAGE_FLIP;
if (ioctl(fd, FBIOPUT_VSCREENINFO, &info) == -1) {
info.yres_virtual = size / line_length;
flags &= ~PAGE_FLIP;
ALOGW("FBIOPUT_VSCREENINFO failed, page flipping not supported");
}
if (info.yres_virtual < ((size * 2) / line_length) ) {
// we need at least 2 for page-flipping