From 237b9263baa532dd2b7931579f3cbe144fbfaa03 Mon Sep 17 00:00:00 2001 From: Ken Chang Date: Thu, 14 Jun 2018 16:09:51 +0800 Subject: 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 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 Tested-by: mobile promotions --- drivers/video/tegra/dc/dp.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/video/tegra/dc/dp.c') 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) struct tegra_dc_dp_data *dp = tegra_dc_get_outdata(dc); struct tegra_dc_dpaux_data *dpaux = dp->dpaux; + /* In case of seamless display, kernel carries forward BL config */ + if (dc->initialized) + return; + tegra_dc_io_start(dc); tegra_dpaux_clk_en(dpaux); -- cgit v1.2.2