]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - android-sdk/kernel-video.git/commitdiff
OMAPDSS: OMAPLFB: VRAM buffers for second FB.
authorGowtham Tammana <g-tammana@ti.com>
Mon, 28 Jan 2013 20:49:54 +0000 (14:49 -0600)
committerPraneeth Bajjuri <praneeth@ti.com>
Fri, 12 Jul 2013 22:54:13 +0000 (17:54 -0500)
For JB-MR1 HWCv1.1 we need a second FB device setup at init time.
A swapchain of VRAM buffers are setup at init time.

Change-Id: Ifd5d100a939dce285ac3c844edad525043f933e8
Signed-off-by: Gowtham Tammana <g-tammana@ti.com>
arch/arm/plat-omap/sgx_omaplfb.c

index 569f3c8bd28de897317a2f9a71c7ea5217482f99..bf604a72407f5e28e2867098690a878bb2309236 100644 (file)
@@ -37,6 +37,11 @@ static struct sgx_omaplfb_config omaplfb_config[OMAPLFB_NUM_DEV] = {
        {
        .tiler2d_buffers = 2,
        .swap_chain_length = 2,
+       },
+       {
+       .tiler2d_buffers = 0,
+       .vram_buffers = 2,
+       .swap_chain_length = 2,
        }
 };