OSDN Git Service

ARM: dts: msm: Remove useless DSI panel commands for adv7533
authorDaocai <daocai@codeaurora.org>
Thu, 23 Nov 2017 07:27:21 +0000 (15:27 +0800)
committerDaocai <daocai@codeaurora.org>
Mon, 27 Nov 2017 07:37:37 +0000 (15:37 +0800)
Remove "qcom,mdss-dsi-on-command" and "mdss-dsi-off command"
commands for boot up performance optimization.
The two commands are for native DSI panels without a bridge
chip. However,AUTO platform has adv7533 bridge chip,which
is controlled by I2C instead of the above two commands.
In addition,the two command will cause extra wait for about
210ms in dsi_panel_tx_cmd_set() for dsi_display_enbale().
This make drmAtomicCommit() in libdrm a little slower,
so total boot time will be longer.

Change-Id: I848d189d4055b5626eadd809fc5da7c9c4ecbcce
Signed-off-by: Daocai <daocai@codeaurora.org>
arch/arm/boot/dts/qcom/dsi-adv7533-1080p.dtsi
arch/arm/boot/dts/qcom/dsi-adv7533-720p.dtsi

index 7994285..6cf9ed1 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
                qcom,mdss-dsi-bpp = <24>;
                qcom,mdss-dsi-underflow-color = <0xff>;
                qcom,mdss-dsi-border-color = <0>;
-               qcom,mdss-dsi-on-command = [
-                               05 01 00 00 c8 00 02 11 00
-                               05 01 00 00 0a 00 02 29 00];
-               qcom,mdss-dsi-off-command = [05 01 00 00 00 00 02 28 00
-                               05 01 00 00 00 00 02 10 00];
-               qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
-               qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
                qcom,mdss-dsi-h-sync-pulse = <1>;
                qcom,mdss-dsi-traffic-mode = "non_burst_sync_pulse";
                qcom,mdss-dsi-bllp-eof-power-mode;
index b84488c..a3bbc6f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2015-2017, The Linux Foundation. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License version 2 and
@@ -36,13 +36,6 @@ dsi_adv7533_720p: qcom,mdss_dsi_adv7533_720p {
                qcom,mdss-dsi-bpp = <24>;
                qcom,mdss-dsi-underflow-color = <0xff>;
                qcom,mdss-dsi-border-color = <0>;
-               qcom,mdss-dsi-on-command = [
-                               05 01 00 00 c8 00 02 11 00
-                               05 01 00 00 0a 00 02 29 00];
-               qcom,mdss-dsi-off-command = [05 01 00 00 00 00 02 28 00
-                               05 01 00 00 00 00 02 10 00];
-               qcom,mdss-dsi-on-command-state = "dsi_lp_mode";
-               qcom,mdss-dsi-off-command-state = "dsi_hs_mode";
                qcom,mdss-dsi-h-sync-pulse = <1>;
                qcom,mdss-dsi-traffic-mode = "non_burst_sync_pulse";
                qcom,mdss-dsi-bllp-eof-power-mode;