summaryrefslogtreecommitdiffstats
path: root/drivers/video/omap2/dss/Kconfig
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2010-06-02 17:48:22 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-05-11 14:19:23 +0300
commitc6f65e1a4381a2271de1b5dccc94d6c6faad26dc (patch)
treeb7d0a010d55a17e5e78dbf8f2a35f4e3be04f18b /drivers/video/omap2/dss/Kconfig
parentf1aafdcd42ad45a4bda5cb8f4a6782b0e48549ba (diff)
downloadop-kernel-dev-c6f65e1a4381a2271de1b5dccc94d6c6faad26dc.zip
op-kernel-dev-c6f65e1a4381a2271de1b5dccc94d6c6faad26dc.tar.gz
OMAP: DSS2: VENC: make 20ms venc bug-fix sleep optional
There's a 20ms sleep after VENC reset. It's unknown what bug this circumvents and on what platforms. Add a Kconfig option to disable the sleep. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'drivers/video/omap2/dss/Kconfig')
-rw-r--r--drivers/video/omap2/dss/Kconfig12
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/video/omap2/dss/Kconfig b/drivers/video/omap2/dss/Kconfig
index 458cfe1..5b45c0c 100644
--- a/drivers/video/omap2/dss/Kconfig
+++ b/drivers/video/omap2/dss/Kconfig
@@ -136,4 +136,16 @@ config OMAP2_DSS_SLEEP_BEFORE_RESET
However, 50ms is quite long time to sleep, and with some
configurations the SYNC_LOST may never happen, so the sleep can
be disabled here.
+
+config OMAP2_DSS_SLEEP_AFTER_VENC_RESET
+ bool "Sleep 20ms after VENC reset"
+ default y
+ help
+ There is a 20ms sleep after VENC reset which seemed to fix the
+ reset. The reason for the bug is unclear, and it's also unclear
+ on what platforms this happens.
+
+ This option enables the sleep, and is enabled by default. You can
+ disable the sleep if it doesn't cause problems on your platform.
+
endif
OpenPOWER on IntegriCloud