From 59ad2eb45e4cabdd10e8bbad3aa702267b434b92 Mon Sep 17 00:00:00 2001 From: tinno64 Date: Tue, 6 Jun 2023 10:59:56 +0800 Subject: [PATCH] dts/display: fix the bug of local HBM When the backlight level <0529, 51 reg write 052A Change-Id: I67fdde016714700eade0ca5b1848b035794df993 Reviewed-on: https://gerrit.mot.com/2634669 SLTApproved: Slta Waiver SME-Granted: SME Approvals Granted Tested-by: Jira Key Reviewed-by: Zonghua Liu Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- qcom/dsi-panel-mot-csot-vtdr6115-655-1080x2400-video.dtsi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qcom/dsi-panel-mot-csot-vtdr6115-655-1080x2400-video.dtsi b/qcom/dsi-panel-mot-csot-vtdr6115-655-1080x2400-video.dtsi index e22c96f406fb..e1990c4f95e1 100644 --- a/qcom/dsi-panel-mot-csot-vtdr6115-655-1080x2400-video.dtsi +++ b/qcom/dsi-panel-mot-csot-vtdr6115-655-1080x2400-video.dtsi @@ -26,7 +26,6 @@ qcom,mdss-dsi-border-color = <0>; qcom,mdss-dsi-traffic-mode = "non_burst_sync_event"; - //qcom,mdss-dsi-lane-map = "lane_map_0123"; qcom,mdss-dsi-bllp-eof-power-mode; qcom,mdss-dsi-bllp-power-mode; qcom,mdss-dsi-lp11-init; @@ -53,10 +52,12 @@ qcom,mdss-dsi-dc-on-command-state = "dsi_hs_mode"; qcom,mdss-dsi-hbm-on-command = [ + 39 00 00 00 00 00 03 51 0F FF 39 00 00 00 00 00 02 62 00 39 00 00 00 00 00 03 F0 AA 13 39 01 00 00 00 00 02 C6 00]; qcom,mdss-dsi-hbm-off-command = [ + 39 00 00 00 00 00 03 51 0F FF 39 00 00 00 00 00 02 62 00 39 00 00 00 00 00 03 F0 AA 13 39 01 00 00 00 00 02 C6 00]; @@ -66,6 +67,7 @@ 39 00 00 00 00 00 03 F0 AA 13 39 00 00 00 00 00 02 C6 01 39 00 00 00 00 00 03 63 03 FF + 39 00 00 00 00 00 03 51 05 2A 39 01 00 00 00 00 02 62 03]; qcom,mdss-dsi-panel-lhbm-wait-fps-valid; @@ -74,7 +76,7 @@ qcom,mdss-dsi-panel-lhbm-not-allowed-fps-list = <60 90>; qcom,mdss-dsi-panel-local-hbm-enabled; - qcom,mdss-dsi-panel-local-hbm-DC-HYBIRD-THRESHOLD-BL = <1679>; //0x068f + qcom,mdss-dsi-panel-local-hbm-DC-HYBIRD-THRESHOLD-BL = <1321>; //0x0529 qcom,mdss-dsi-panel-local-hbm-alpha-register = <0x63>; qcom,mdss-dsi-panel-local-hbm-alpha-size = <4096>; qcom,mdss-dsi-panel-local-hbm-alpha-table = <