diff --git a/arch/arm64/boot/dts/qcom/dsi-panel-samsung_oneplus_dsc.dtsi b/arch/arm64/boot/dts/qcom/dsi-panel-samsung_oneplus_dsc.dtsi index 8e01271c5af5..64be5a145d89 100644 --- a/arch/arm64/boot/dts/qcom/dsi-panel-samsung_oneplus_dsc.dtsi +++ b/arch/arm64/boot/dts/qcom/dsi-panel-samsung_oneplus_dsc.dtsi @@ -72,22 +72,7 @@ /* brightness, alpha */ 0 255 1 224 - 2 213 - 3 211 - 4 208 - 5 206 - 6 203 - 8 200 - 10 196 - 15 186 - 20 176 - 30 160 - 45 139 - 70 114 - 100 90 - 150 56 - 227 14 - 260 0 + 1023 0 >; qcom,mdss-pan-physical-width-dimension = <71>; qcom,mdss-pan-physical-height-dimension = <154>; diff --git a/arch/arm64/boot/dts/qcom/dsi-panel-samsung_s6e3fc2x01.dtsi b/arch/arm64/boot/dts/qcom/dsi-panel-samsung_s6e3fc2x01.dtsi index 50d04d2344a3..c6657e683c1e 100644 --- a/arch/arm64/boot/dts/qcom/dsi-panel-samsung_s6e3fc2x01.dtsi +++ b/arch/arm64/boot/dts/qcom/dsi-panel-samsung_s6e3fc2x01.dtsi @@ -92,22 +92,7 @@ /* brightness, alpha */ 0 255 1 224 - 2 213 - 3 211 - 4 208 - 5 206 - 6 203 - 8 200 - 10 196 - 15 186 - 20 176 - 30 160 - 45 139 - 70 114 - 100 90 - 150 56 - 227 14 - 260 0 + 1023 0 >; /* HDR Setting */ qcom,mdss-dsi-panel-hdr-enabled; diff --git a/arch/arm64/boot/dts/qcom/dsi-panel-samsung_sofef03f_m_fhd_dsc_cmd.dtsi b/arch/arm64/boot/dts/qcom/dsi-panel-samsung_sofef03f_m_fhd_dsc_cmd.dtsi index 0dfab97b261d..65e9193f1a0c 100644 --- a/arch/arm64/boot/dts/qcom/dsi-panel-samsung_sofef03f_m_fhd_dsc_cmd.dtsi +++ b/arch/arm64/boot/dts/qcom/dsi-panel-samsung_sofef03f_m_fhd_dsc_cmd.dtsi @@ -73,22 +73,7 @@ /* brightness, alpha */ 0 255 1 224 - 2 213 - 3 211 - 4 208 - 5 206 - 6 203 - 8 200 - 10 196 - 15 186 - 20 176 - 30 160 - 45 139 - 70 114 - 100 90 - 150 56 - 227 14 - 260 0 + 1023 0 >; qcom,mdss-brightness-default-val = <160>; qcom,mdss-brightness-max-level = <1023>; diff --git a/drivers/gpu/drm/msm/dsi-staging/dsi_panel.c b/drivers/gpu/drm/msm/dsi-staging/dsi_panel.c index 4f8512dd704c..61871a037bdd 100644 --- a/drivers/gpu/drm/msm/dsi-staging/dsi_panel.c +++ b/drivers/gpu/drm/msm/dsi-staging/dsi_panel.c @@ -899,7 +899,7 @@ static int dsi_panel_update_backlight(struct dsi_panel *panel, } if (panel->dc_dim && bl_lvl != 0) - bl_lvl = op_dimlayer_bl_alpha; + bl_lvl = 1023; if (panel->bl_config.bl_high2bit) { if (HBM_flag == true)