From 965ec2e2d3f9b7357433402d2b5b0058014cbc07 Mon Sep 17 00:00:00 2001 From: tinno64 Date: Mon, 22 May 2023 17:00:08 +0800 Subject: [PATCH] dts/display: enable check fps before open lhbm feature arm/dt: - check fps before open lhbm refer to https://gerrit.mot.com/#/c/2382979/ Change-Id: I6ef1b1c2b5a533f7567e155523241a6f1c75c8c3 Signed-off-by: tinno64 Reviewed-on: https://gerrit.mot.com/2616576 SME-Granted: SME Approvals Granted SLTApproved: Slta Waiver Tested-by: Jira Key Reviewed-by: Xiangpo Zhao Submit-Approved: Jira Key --- qcom/dsi-panel-mot-csot-vtdr6115-655-1080x2400-video.dtsi | 5 +++++ qcom/dsi-panel-mot-tm-nt37703-655-1080x2400-video.dtsi | 5 +++++ 2 files changed, 10 insertions(+) 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 a1ce191051e3..16c21902dcb7 100644 --- a/qcom/dsi-panel-mot-csot-vtdr6115-655-1080x2400-video.dtsi +++ b/qcom/dsi-panel-mot-csot-vtdr6115-655-1080x2400-video.dtsi @@ -71,6 +71,11 @@ 39 00 00 40 00 00 03 51 06 8F 39 01 00 00 00 00 02 62 03]; + qcom,mdss-dsi-panel-lhbm-wait-fps-valid; + qcom,mdss-dsi-panel-local-hbm-wait-fps-count = <30>; + qcom,mdss-dsi-panel-local-hbm-wait-fps-interval = <1>; + 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-alpha-register = <0x63>; diff --git a/qcom/dsi-panel-mot-tm-nt37703-655-1080x2400-video.dtsi b/qcom/dsi-panel-mot-tm-nt37703-655-1080x2400-video.dtsi index d09557abd7be..475a083030b3 100644 --- a/qcom/dsi-panel-mot-tm-nt37703-655-1080x2400-video.dtsi +++ b/qcom/dsi-panel-mot-tm-nt37703-655-1080x2400-video.dtsi @@ -64,6 +64,11 @@ 39 01 00 00 00 00 03 51 8F FF]; qcom,mdss-dsi-hbm-fod-on-command-state = "dsi_hs_mode"; + qcom,mdss-dsi-panel-lhbm-wait-fps-valid; + qcom,mdss-dsi-panel-local-hbm-wait-fps-count = <30>; + qcom,mdss-dsi-panel-local-hbm-wait-fps-interval = <1>; + qcom,mdss-dsi-panel-lhbm-not-allowed-fps-list = <60 90>; + qcom,mdss-dsi-display-timings { timing@0 { cell-index = <0>;