From 4131de3d78e4d498ea95fba5a4308428f975ae26 Mon Sep 17 00:00:00 2001 From: Ramii Ahmed Date: Sat, 15 May 2021 16:52:09 +0000 Subject: [PATCH] ARM64: dts: panel: Disable mi smart fps it intereferes with aosp's surfaceflinger refresh rate implementation Change-Id: I4d24cea89a2e12f9a0cb7eb1403f6ea4f00cce12 Signed-off-by: UtsavBalar1231 --- .../boot/dts/vendor/qcom/dsi-panel-g7a-36-02-0c-dsc-video.dtsi | 1 - .../boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0a-dsc-video.dtsi | 1 - .../boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0b-dsc-video.dtsi | 1 - .../boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-dsc-cmd.dtsi | 2 -- .../boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-mp-dsc-cmd.dtsi | 2 -- .../dts/vendor/qcom/dsi-panel-j1s-42-02-0a-p1-1-dsc-cmd.dtsi | 2 -- .../boot/dts/vendor/qcom/dsi-panel-j3s-37-02-0a-dsc-video.dtsi | 1 - .../boot/dts/vendor/qcom/dsi-panel-k11a-38-08-0a-dsc-cmd.dtsi | 2 -- 8 files changed, 12 deletions(-) diff --git a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-36-02-0c-dsc-video.dtsi b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-36-02-0c-dsc-video.dtsi index 06c2d1955139..926b869cb2ac 100644 --- a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-36-02-0c-dsc-video.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-36-02-0c-dsc-video.dtsi @@ -56,7 +56,6 @@ qcom,mdss-dsi-qsync-min-refresh-rate = <60>; qcom,mdss-dsi-pan-enable-dynamic-fps; - qcom,mdss-dsi-pan-enable-smart-fps; qcom,mdss-dsi-pan-fps-update = "dfps_immediate_porch_mode_vfp"; qcom,dsi-supported-dfps-list = <120 90 60>; diff --git a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0a-dsc-video.dtsi b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0a-dsc-video.dtsi index b5fbfa3db091..dbd8b517e8ec 100644 --- a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0a-dsc-video.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0a-dsc-video.dtsi @@ -56,7 +56,6 @@ qcom,mdss-dsi-qsync-min-refresh-rate = <60>; qcom,mdss-dsi-pan-enable-dynamic-fps; - qcom,mdss-dsi-pan-enable-smart-fps; qcom,mdss-dsi-pan-fps-update = "dfps_immediate_porch_mode_vfp"; qcom,dsi-supported-dfps-list = <120 90 60>; diff --git a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0b-dsc-video.dtsi b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0b-dsc-video.dtsi index f3ee2f829d54..92ffc3a444e1 100644 --- a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0b-dsc-video.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-g7a-37-02-0b-dsc-video.dtsi @@ -56,7 +56,6 @@ qcom,mdss-dsi-qsync-min-refresh-rate = <60>; qcom,mdss-dsi-pan-enable-dynamic-fps; - qcom,mdss-dsi-pan-enable-smart-fps; qcom,mdss-dsi-pan-fps-update = "dfps_immediate_porch_mode_vfp"; qcom,dsi-supported-dfps-list = <120 90 60>; diff --git a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-dsc-cmd.dtsi b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-dsc-cmd.dtsi index 7e29e79c4fce..a990849c3947 100644 --- a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-dsc-cmd.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-dsc-cmd.dtsi @@ -366,8 +366,6 @@ mi,mdss-panel-delay-after-fod-hbm-off; mi,mdss-panel-delay-after-fod-hbm-on; - mi,mdss-dsi-pan-enable-smart-fps; - mi,mdss-dsi-smart-fps-max_framerate = <120>; mi,mdss-dsi-panel-hbm-brightness = <1>; mi,mdss-dsi-dimlayer-brightness-alpha-lut-item-count = <21>; mi,mdss-dsi-dimlayer-brightness-alpha-lut = diff --git a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-mp-dsc-cmd.dtsi b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-mp-dsc-cmd.dtsi index 6cf4d153b037..ce62e1422ec6 100644 --- a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-mp-dsc-cmd.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-mp-dsc-cmd.dtsi @@ -359,8 +359,6 @@ mi,mdss-panel-delay-after-fod-hbm-off; mi,mdss-panel-delay-after-fod-hbm-on; - mi,mdss-dsi-pan-enable-smart-fps; - mi,mdss-dsi-smart-fps-max_framerate = <120>; mi,mdss-dsi-panel-hbm-brightness = <1>; mi,mdss-dsi-dimlayer-brightness-alpha-lut-item-count = <21>; mi,mdss-dsi-dimlayer-brightness-alpha-lut = diff --git a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-p1-1-dsc-cmd.dtsi b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-p1-1-dsc-cmd.dtsi index 166b6595a2d0..691936044fc7 100644 --- a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-p1-1-dsc-cmd.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j1s-42-02-0a-p1-1-dsc-cmd.dtsi @@ -365,8 +365,6 @@ mi,mdss-panel-delay-after-fod-hbm-off; mi,mdss-panel-delay-after-fod-hbm-on; - mi,mdss-dsi-pan-enable-smart-fps; - mi,mdss-dsi-smart-fps-max_framerate = <120>; mi,mdss-dsi-panel-hbm-brightness = <1>; mi,mdss-dsi-dimlayer-brightness-alpha-lut-item-count = <21>; mi,mdss-dsi-dimlayer-brightness-alpha-lut = diff --git a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j3s-37-02-0a-dsc-video.dtsi b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j3s-37-02-0a-dsc-video.dtsi index 07dbae71163c..3ae80f1176e7 100644 --- a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j3s-37-02-0a-dsc-video.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-j3s-37-02-0a-dsc-video.dtsi @@ -229,7 +229,6 @@ mi,esd-err-irq-gpio = <&tlmm 51 0x2002>; /* trig-flags: falling-0x0002 rasing-0x0001*/ mi,mdss-dsi-panel-xy-coordinate = <0x6 0x18>; mi,mdss-dsi-panel-max-luminance = <0x6 0x4>; - mi,mdss-dsi-pan-enable-smart-fps; qcom,mdss-dsi-display-timings { timing@0{ diff --git a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-k11a-38-08-0a-dsc-cmd.dtsi b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-k11a-38-08-0a-dsc-cmd.dtsi index 4cb3702fb54d..d855807fb146 100644 --- a/arch/arm64/boot/dts/vendor/qcom/dsi-panel-k11a-38-08-0a-dsc-cmd.dtsi +++ b/arch/arm64/boot/dts/vendor/qcom/dsi-panel-k11a-38-08-0a-dsc-cmd.dtsi @@ -356,8 +356,6 @@ mi,feature-enabled; mi,mdss-dsi-panel-hbm-51-ctrl-flag; mi,mdss-dsi-panel-hbm-off-51-index = <1>; - mi,mdss-dsi-pan-enable-smart-fps; - mi,mdss-dsi-smart-fps-max_framerate = <120>; mi,esd-err-irq-gpio = <&tlmm 75 0x2002>;