diff options
author | Pavan Kunapuli <pkunapuli@nvidia.com> | 2017-01-12 11:18:20 -0500 |
---|---|---|
committer | Bharat Nihalani <bnihalani@nvidia.com> | 2017-01-16 01:54:35 -0500 |
commit | a9a6e7a24281d660e6f0fdfa4abb8be4c3079596 (patch) | |
tree | 3037d4fd59d61b3aaaf125eb836246263e589c16 /drivers/video/tegra/dc/dsi.c | |
parent | fc393660ebad7c63d8d284ed7eb3d5e4212be102 (diff) |
video: tegra: dsi: Disable seamless display support
Disabling broken seamless display suppport. With the
seamless display enabled, dsi display doesn't come up
by default on T210 platforms.
Bug 200267405
Bug 200260366
Change-Id: I207dca5744eecf6ee15e2904629eba77654d5b6a
Signed-off-by: Pavan Kunapuli <pkunapuli@nvidia.com>
Reviewed-on: http://git-master/r/1284310
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
Tested-by: Bharat Nihalani <bnihalani@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dsi.c')
-rw-r--r-- | drivers/video/tegra/dc/dsi.c | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/drivers/video/tegra/dc/dsi.c b/drivers/video/tegra/dc/dsi.c index bbd2be3f7..020409b75 100644 --- a/drivers/video/tegra/dc/dsi.c +++ b/drivers/video/tegra/dc/dsi.c | |||
@@ -3974,7 +3974,7 @@ static void tegra_dsi_send_dc_frames(struct tegra_dc *dc, | |||
3974 | } | 3974 | } |
3975 | } | 3975 | } |
3976 | 3976 | ||
3977 | static void tegra_dsi_setup_initialized_panel(struct tegra_dc_dsi_data *dsi) | 3977 | static void __maybe_unused tegra_dsi_setup_initialized_panel(struct tegra_dc_dsi_data *dsi) |
3978 | { | 3978 | { |
3979 | int err = 0; | 3979 | int err = 0; |
3980 | 3980 | ||
@@ -4030,15 +4030,6 @@ static void tegra_dc_dsi_enable(struct tegra_dc *dc) | |||
4030 | tegra_dsi_padctrl_enable(dsi->pad_ctrl); | 4030 | tegra_dsi_padctrl_enable(dsi->pad_ctrl); |
4031 | #endif | 4031 | #endif |
4032 | 4032 | ||
4033 | /* | ||
4034 | * Do not program this panel as the bootloader as has already | ||
4035 | * initialized it. This avoids periods of blanking during boot. | ||
4036 | */ | ||
4037 | if (dc->initialized) { | ||
4038 | tegra_dsi_setup_initialized_panel(dsi); | ||
4039 | goto fail; | ||
4040 | } | ||
4041 | |||
4042 | /* Stop DC stream before configuring DSI registers | 4033 | /* Stop DC stream before configuring DSI registers |
4043 | * to avoid visible glitches on panel during transition | 4034 | * to avoid visible glitches on panel during transition |
4044 | * from bootloader to kernel driver | 4035 | * from bootloader to kernel driver |
@@ -4136,13 +4127,6 @@ static void tegra_dc_dsi_postpoweron(struct tegra_dc *dc) | |||
4136 | struct tegra_dc_dsi_data *dsi = tegra_dc_get_outdata(dc); | 4127 | struct tegra_dc_dsi_data *dsi = tegra_dc_get_outdata(dc); |
4137 | int err = 0; | 4128 | int err = 0; |
4138 | 4129 | ||
4139 | /* | ||
4140 | * Do not configure. Use bootloader configuration. | ||
4141 | * This avoids periods of blanking during boot. | ||
4142 | */ | ||
4143 | if (dc->initialized) | ||
4144 | return; | ||
4145 | |||
4146 | mutex_lock(&dsi->lock); | 4130 | mutex_lock(&dsi->lock); |
4147 | tegra_dc_io_start(dc); | 4131 | tegra_dc_io_start(dc); |
4148 | 4132 | ||