From 2519d8af0ec3da2bf560f0e8dc6663e78f4eacd5 Mon Sep 17 00:00:00 2001 From: Satya Rama Aditya Pinapala Date: Thu, 23 Jul 2020 22:19:29 -0700 Subject: [PATCH] ARM: dts: msm: add cmd to vid switch commands for qsync panel Add DCS commands that would be sent during a panel operating mode switch from command mode to video mode. The switch command sets the full frame width and height as the horizontal address and vertical address for the DDIC on switching to video mode. If this is not done and the switch occurs during a partial frame update corruption can be observed post switch. Change-Id: I0b12eb24e4fdac5b0e4bbf42493d8bc0081cc361 --- display/dsi-panel-sharp-qsync-wqhd-cmd.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/display/dsi-panel-sharp-qsync-wqhd-cmd.dtsi b/display/dsi-panel-sharp-qsync-wqhd-cmd.dtsi index 215b3ab46dde..7d766b6bebc6 100644 --- a/display/dsi-panel-sharp-qsync-wqhd-cmd.dtsi +++ b/display/dsi-panel-sharp-qsync-wqhd-cmd.dtsi @@ -139,6 +139,10 @@ 05 01 00 00 32 00 01 10 ]; qcom,mdss-dsi-off-command-state = "dsi_lp_mode"; + qcom,cmd-to-video-mode-switch-commands = [ + 39 01 00 00 00 00 05 2a 00 00 02 cf + 39 01 00 00 00 00 05 2b 00 00 09 ff + ]; qcom,cmd-to-video-mode-post-switch-commands = [ 39 00 00 00 00 00 02 ff 10 39 00 00 00 00 00 02 fb 01 @@ -569,6 +573,10 @@ 05 01 00 00 78 00 01 11 05 01 00 00 78 00 01 29 ]; + qcom,cmd-to-video-mode-switch-commands = [ + 39 01 00 00 00 00 05 2a 00 00 02 cf + 39 01 00 00 00 00 05 2b 00 00 09 ff + ]; qcom,cmd-to-video-mode-post-switch-commands = [ 39 00 00 00 00 00 02 ff 10 39 00 00 00 00 00 02 fb 01