OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe59e5c
)
OMAPDSS: disable VT switch
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Wed, 25 Feb 2015 10:08:14 +0000
(12:08 +0200)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Mon, 20 Apr 2015 09:09:04 +0000
(12:09 +0300)
We don't need VT switch when suspending/resuming, so disable it. This
speeds up suspend/resume.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: NeilBrown <neil@brown.name>
drivers/video/fbdev/omap2/dss/dss.c
patch
|
blob
|
history
diff --git
a/drivers/video/fbdev/omap2/dss/dss.c
b/drivers/video/fbdev/omap2/dss/dss.c
index
a6d10d4
..
7f978b6
100644
(file)
--- a/
drivers/video/fbdev/omap2/dss/dss.c
+++ b/
drivers/video/fbdev/omap2/dss/dss.c
@@
-38,6
+38,7
@@
#include <linux/regmap.h>
#include <linux/of.h>
#include <linux/regulator/consumer.h>
+#include <linux/suspend.h>
#include <video/omapdss.h>
@@
-1138,6
+1139,8
@@
static int __init omap_dsshw_probe(struct platform_device *pdev)
dss_debugfs_create_file("dss", dss_dump_regs);
+ pm_set_vt_switch(0);
+
return 0;
err_pll_init: