aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/plat-omap/android-display.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/android-display.c b/arch/arm/plat-omap/android-display.c
index c1307bb..1735858 100644
--- a/arch/arm/plat-omap/android-display.c
+++ b/arch/arm/plat-omap/android-display.c
@@ -162,6 +162,14 @@ static void set_vram_sizes(struct sgx_omaplfb_config *sgx_config,
}
if (sgx_config) {
+#if defined(CONFIG_GCBV)
+ /* Add 2 extra VRAM buffers for gc320 composition - 4470 only*/
+ /* TODO: cpu_is_omap447x() is not returning the proper value
+ at this stage. Need to fix it */
+ if (1/*cpu_is_omap447x()*/)
+ sgx_config->vram_buffers += 2;
+#endif
+
vram += sgx_config->vram_reserve;
num_vram_buffers = max(sgx_config->vram_buffers,
num_vram_buffers);