aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video
diff options
context:
space:
mode:
authorLuden <luden@ghostmail.com>2016-03-21 20:49:10 +0000
committerZiyan <jaraidaniel@gmail.com>2016-04-03 14:56:10 +0200
commitf02ae7cd80cf786b23761f8b99dec5c2c670fbd6 (patch)
treee4846b4e971c03a3784d64948b7231997116aa06 /drivers/video
parentb1a263b1dfa5cd774918d1197dd4d11bb7b0e6ca (diff)
downloadkernel_samsung_tuna-f02ae7cd80cf786b23761f8b99dec5c2c670fbd6.zip
kernel_samsung_tuna-f02ae7cd80cf786b23761f8b99dec5c2c670fbd6.tar.gz
kernel_samsung_tuna-f02ae7cd80cf786b23761f8b99dec5c2c670fbd6.tar.bz2
Do not clear VRAM at initialization.
Should help to avoid showing blank screen for extended periods of time during the boot.
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/omap2/vram.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/video/omap2/vram.c b/drivers/video/omap2/vram.c
index 9441e2e..ea2672f 100644
--- a/drivers/video/omap2/vram.c
+++ b/drivers/video/omap2/vram.c
@@ -267,6 +267,11 @@ int omap_vram_reserve(unsigned long paddr, size_t size)
}
EXPORT_SYMBOL(omap_vram_reserve);
+// VRAM clean-up is called only once during the boot,
+// and at that point vram contains the boot logo already -
+// hence just leave it "as is" until "bootanim" service
+// starts and cleans the stuff.
+#ifndef CONFIG_MACH_TUNA
static void _omap_vram_dma_cb(int lch, u16 ch_status, void *data)
{
struct completion *compl = data;
@@ -319,6 +324,7 @@ err:
return r;
}
+#endif
static int _omap_vram_alloc(int mtype, unsigned pages, unsigned long *paddr)
{
@@ -357,7 +363,9 @@ found:
*paddr = start;
+#ifndef CONFIG_MACH_TUNA
_omap_vram_clear(start, pages);
+#endif
return 0;
}