path: root/drivers/video/tegra/dc/dc_priv.h
diff options
authorMin-wuk Lee <>2011-11-14 13:48:18 +0900
committerVarun Wadekar <>2011-12-21 12:06:26 +0530
commitdb128e88fee3435c10ba0b9a2c1479b85a14ede7 (patch)
treece830a6c2b59681ddb75ab4d4c2112c87a82b640 /drivers/video/tegra/dc/dc_priv.h
parent6f73e3dafe7ab1729978dc2149aadd7ad74d8686 (diff)
video: tegra: dc: direct dc out pins polarity setting
dc vsync, hsync, DE and pclk polarity in kernel can be different with bootloader setting for a short time when default polarity value is written. This can generate momentary panel flicker in kernel boot. Set the first polarity based on board dc out pin polarity information directly if needed. Bug 891444 Signed-off-by: Min-wuk Lee <> Reviewed-on: http://git-master/r/59895 (cherry picked from commit 8e5bfd5702067309171b62a6be5471bfab68a31e) Change-Id: I80c703792ea5a9596d4cf42ef19115cbf4d556f6 Reviewed-on: http://git-master/r/69711 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Min-wuk Lee <> Reviewed-by: Jon Mayo <> Tested-by: Min-wuk Lee <>
Diffstat (limited to 'drivers/video/tegra/dc/dc_priv.h')
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dc_priv.h b/drivers/video/tegra/dc/dc_priv.h
index bd0625b1cf8c..0f9a0531a77e 100644
--- a/drivers/video/tegra/dc/dc_priv.h
+++ b/drivers/video/tegra/dc/dc_priv.h
@@ -214,5 +214,9 @@ unsigned long tegra_dc_get_bandwidth(struct tegra_dc_win *wins[], int n);
u32 tegra_dc_read_checksum_latched(struct tegra_dc *dc);
void tegra_dc_enable_crc(struct tegra_dc *dc);
void tegra_dc_disable_crc(struct tegra_dc *dc);
+void tegra_dc_set_out_pin_polars(struct tegra_dc *dc,
+ const struct tegra_dc_out_pin *pins,
+ const unsigned int n_pins);