gralloc : apply kernel 3.4 fb screeninfo type

Since fb screeninfo type is changed in kernel 3.4,
fb ioctl is not work correctly without this patch.

Change-Id: I5d673b78bd9a1680daf77256a7d31bc78d75cda7
This commit is contained in:
choongryeol.lee 2012-06-26 23:41:00 -07:00 committed by Iliyan Malchev
parent 351fb48f7e
commit b4572b058c
1 changed files with 2 additions and 2 deletions

View File

@ -816,8 +816,8 @@ int mapFrameBufferLocked(struct private_module_t* module)
float xdpi = (info.xres * 25.4f) / info.width;
float ydpi = (info.yres * 25.4f) / info.height;
//The reserved[4] field is used to store FPS by the driver.
float fps = info.reserved[4];
//The reserved[3] field is used to store FPS by the driver.
float fps = info.reserved[3];
ALOGI("using (fd=%d)\n"
"id = %s\n"