summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 400bc66)
raw | patch | inline | side by side (parent: 400bc66)
author | Hemant Hariyani <hemanthariyani@ti.com> | |
Wed, 17 Apr 2013 15:54:56 +0000 (10:54 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 22:35:08 +0000 (17:35 -0500) |
This hack ensures OMAPFB providing sufficient size of swap chain.
Change-Id: Ic88186c2599569158a1e9bda6b579cd3ad033479
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Change-Id: Ic88186c2599569158a1e9bda6b579cd3ad033479
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
drivers/video/omap2/omapfb/omapfb-main.c | patch | blob | history |
index a6b7e4ccc803d70a4f8c8311b13817ec8551cbe7..166c7a3e810cdf2f898e7bd62fdec56aaf765568 100755 (executable)
@@ -1634,6 +1634,12 @@ static int omapfb_alloc_fbmem_display(struct fb_info *fbi, unsigned long size,
}
}
+ /*FIXME: This is a hack for swap chain creation.
+ If you see this in production code, there is a
+ serious problem!!!
+ */
+ size *= 2;
+
if (!size)
return 0;