diff options
author | Ken Chang <kenc@nvidia.com> | 2018-06-14 04:09:51 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2018-07-10 17:27:35 -0400 |
commit | 237b9263baa532dd2b7931579f3cbe144fbfaa03 (patch) | |
tree | ec7344dbf0c13b60bd025b13664fa991f7ddbcf8 /drivers/video/tegra/dc/dp.c | |
parent | 2a23885bed6d87fd8d1ee7d853c2811d3b706d51 (diff) |
video: tegra: skip modeset callback for seamless display
In case of seamless display path, kernel shall honor BL modeset configuration
and carry forward. Therefore, skip the modeset callback for seamless display.
Bug 2175608
Change-Id: Ieca2be795303499dcb85bc91720311d9a68ed2d7
Signed-off-by: Ken Chang <kenc@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1749617
(cherry picked from commit 35b0fddbff55f9926e330df596fd7943c50363b2)
Reviewed-on: https://git-master.nvidia.com/r/1761306
(cherry picked from commit bc50ca3d25e6c378ba2fa3369345d117219c7cb2)
Reviewed-on: https://git-master.nvidia.com/r/1774273
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/video/tegra/dc/dp.c')
-rw-r--r-- | drivers/video/tegra/dc/dp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/video/tegra/dc/dp.c b/drivers/video/tegra/dc/dp.c index 6ac6e9118..320a6e298 100644 --- a/drivers/video/tegra/dc/dp.c +++ b/drivers/video/tegra/dc/dp.c | |||
@@ -3045,6 +3045,10 @@ static void tegra_dc_dp_modeset_notifier(struct tegra_dc *dc) | |||
3045 | struct tegra_dc_dp_data *dp = tegra_dc_get_outdata(dc); | 3045 | struct tegra_dc_dp_data *dp = tegra_dc_get_outdata(dc); |
3046 | struct tegra_dc_dpaux_data *dpaux = dp->dpaux; | 3046 | struct tegra_dc_dpaux_data *dpaux = dp->dpaux; |
3047 | 3047 | ||
3048 | /* In case of seamless display, kernel carries forward BL config */ | ||
3049 | if (dc->initialized) | ||
3050 | return; | ||
3051 | |||
3048 | tegra_dc_io_start(dc); | 3052 | tegra_dc_io_start(dc); |
3049 | tegra_dpaux_clk_en(dpaux); | 3053 | tegra_dpaux_clk_en(dpaux); |
3050 | 3054 | ||