From 9f36f8826743fd826beeb1078261ec6e13afb793 Mon Sep 17 00:00:00 2001 From: Renchao Liu Date: Wed, 15 Nov 2023 14:09:46 +0800 Subject: [PATCH 1/7] ARM: dts: msm: update DSPP GC/PCC version DSPP functionality has been updated to support high precision mode. Update the DSPP block versions accordingly. Change-Id: Iad137c4fc54127c05cc92b8ed4948e2b78e43437 Signed-off-by: Renchao Liu --- display/sun-sde-common.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/display/sun-sde-common.dtsi b/display/sun-sde-common.dtsi index c517fc02..c17ac6b3 100644 --- a/display/sun-sde-common.dtsi +++ b/display/sun-sde-common.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -343,8 +343,8 @@ qcom,sde-dspp-sixzone = <0x900 0x00020000>; qcom,sde-dspp-vlut = <0xa00 0x00010008>; qcom,sde-dspp-gamut = <0x1000 0x00040003>; - qcom,sde-dspp-pcc = <0x1700 0x00040000>; - qcom,sde-dspp-gc = <0x17c0 0x00010008>; + qcom,sde-dspp-pcc = <0x1700 0x00060000>; + qcom,sde-dspp-gc = <0x17c0 0x00020000>; qcom,sde-dspp-dither = <0x82c 0x00010007>; }; }; From c730c8a7cb78b5486cd640c7fbc78b52a98d6d9d Mon Sep 17 00:00:00 2001 From: Jayasri Sampath Kumaran Date: Tue, 19 Dec 2023 17:35:16 -0500 Subject: [PATCH 2/7] ARM: dts: msm: replace smmu address property for sun target Replacing existing smmu address property to upstream compatible property. Change-Id: I0a2eb94d7e91d1d59467bfc68ca4b87a52bd2160 Signed-off-by: Jayasri Sampath Kumaran --- display/sun-sde.dtsi | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/display/sun-sde.dtsi b/display/sun-sde.dtsi index ae31c68c..6c7e3b31 100644 --- a/display/sun-sde.dtsi +++ b/display/sun-sde.dtsi @@ -181,10 +181,16 @@ }; }; + smmu_sde_iommu_region_partition: smmu_sde_iommu_region_partition { + iommu-addresses = <&smmu_sde_unsec 0x0 0x00060000>, + <&smmu_sde_unsec 0xd5500000 0x02b00000>, + <&smmu_sde_sec 0x0 0x00020000>; + }; + smmu_sde_unsec: qcom,smmu_sde_unsec_cb { compatible = "qcom,smmu_sde_unsec"; iommus = <&apps_smmu 0x800 0x2>; - qcom,iommu-dma-addr-pool = <0x00020000 0xfffe0000>; + memory-region = <&smmu_sde_iommu_region_partition>; qcom,iommu-faults = "non-fatal"; qcom,iommu-earlymap; /* for cont-splash */ dma-coherent; @@ -193,7 +199,7 @@ smmu_sde_sec: qcom,smmu_sde_sec_cb { compatible = "qcom,smmu_sde_sec"; iommus = <&apps_smmu 0x801 0x0>; - qcom,iommu-dma-addr-pool = <0x00020000 0xfffe0000>; + memory-region = <&smmu_sde_iommu_region_partition>; qcom,iommu-faults = "non-fatal"; qcom,iommu-vmid = <0xa>; }; From 8e576b545651159d3cdb88c5c79c117a9cff6cdb Mon Sep 17 00:00:00 2001 From: Qing Huang Date: Mon, 13 Nov 2023 15:20:06 +0800 Subject: [PATCH 3/7] ARM: dts: msm: Update IGC versions for high-precision mode IGC functionality has been updated to support high-precision mode. Update the IGC versions accordingly. Change-Id: I1f57014763c05c26318de703447a6a2c7649a4f7 Signed-off-by: Qing Huang --- display/sun-sde-common.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/display/sun-sde-common.dtsi b/display/sun-sde-common.dtsi index c17ac6b3..1be8c707 100644 --- a/display/sun-sde-common.dtsi +++ b/display/sun-sde-common.dtsi @@ -336,7 +336,7 @@ }; qcom,sde-dspp-blocks { - qcom,sde-dspp-igc = <0x1260 0x00040000>; + qcom,sde-dspp-igc = <0x1260 0x00050000>; qcom,sde-dspp-hsic = <0x800 0x00010007>; qcom,sde-dspp-memcolor = <0x880 0x00010007>; qcom,sde-dspp-hist = <0x800 0x00010007>; From 4fc4835cef7e6b8432350fba983b6111513be96f Mon Sep 17 00:00:00 2001 From: Qing Huang Date: Wed, 15 Nov 2023 14:58:31 +0800 Subject: [PATCH 4/7] ARM: dts: msm: Update LTM version to 1.3 LTM ROI region handling has been updated. Update the LTM DTSI version to 1.3 to track this change. Change-Id: I57a0a07f4f249f837c2f057114f5f15e827e0731 Signed-off-by: Qing Huang --- display/sun-sde.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/display/sun-sde.dtsi b/display/sun-sde.dtsi index ae31c68c..19f90baa 100644 --- a/display/sun-sde.dtsi +++ b/display/sun-sde.dtsi @@ -1,6 +1,6 @@ // SPDX-License-Identifier: BSD-3-Clause /* - * Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved. + * Copyright (c) 2023-2024 Qualcomm Innovation Center, Inc. All rights reserved. */ #include @@ -231,7 +231,7 @@ qcom,sde-has-idle-pc; qcom,sde-ib-bw-vote = <2500000 0 800000>; - qcom,sde-dspp-ltm-version = <0x00010002>; + qcom,sde-dspp-ltm-version = <0x00010003>; /* offsets are based off dspp 0, 1, 2, and 3 */ qcom,sde-dspp-ltm-off = <0x15300 0x14300 0x13300 0x12300>; From bcee516166f0aca8a42a1f7bc9265654cc6b4828 Mon Sep 17 00:00:00 2001 From: Renchao Liu Date: Wed, 8 Nov 2023 17:01:46 +0800 Subject: [PATCH 5/7] ARM: dts: msm: update ucsc version This change updates ucsc version to support INT2FP/FP2INT enable. Change-Id: I548cef05759cf3ee557d7424b96c5f2ba2ba82d3 Signed-off-by: Renchao Liu --- display/sun-sde-common.dtsi | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/display/sun-sde-common.dtsi b/display/sun-sde-common.dtsi index 1be8c707..c03d81ba 100644 --- a/display/sun-sde-common.dtsi +++ b/display/sun-sde-common.dtsi @@ -285,10 +285,10 @@ qcom,sde-fp16-unmult = <0x200 0x00010000>; qcom,sde-fp16-gc = <0x200 0x00010000>; qcom,sde-fp16-csc = <0x200 0x00010000>; - qcom,sde-ucsc-igc = <0x700 0x00010000>; - qcom,sde-ucsc-unmult = <0x700 0x00010000>; - qcom,sde-ucsc-gc = <0x700 0x00010000>; - qcom,sde-ucsc-csc = <0x700 0x00010000>; + qcom,sde-ucsc-igc = <0x700 0x00010001>; + qcom,sde-ucsc-unmult = <0x700 0x00010001>; + qcom,sde-ucsc-gc = <0x700 0x00010001>; + qcom,sde-ucsc-csc = <0x700 0x00010001>; qcom,sde-ucsc-alpha-dither = <0x700 0x00010000>; }; @@ -298,10 +298,10 @@ qcom,sde-fp16-unmult = <0x280 0x00010000>; qcom,sde-fp16-gc = <0x280 0x00010000>; qcom,sde-fp16-csc = <0x280 0x00010000>; - qcom,sde-ucsc-igc = <0x1700 0x00010000>; - qcom,sde-ucsc-unmult = <0x1700 0x00010000>; - qcom,sde-ucsc-gc = <0x1700 0x00010000>; - qcom,sde-ucsc-csc = <0x1700 0x00010000>; + qcom,sde-ucsc-igc = <0x1700 0x00010001>; + qcom,sde-ucsc-unmult = <0x1700 0x00010001>; + qcom,sde-ucsc-gc = <0x1700 0x00010001>; + qcom,sde-ucsc-csc = <0x1700 0x00010001>; qcom,sde-ucsc-alpha-dither = <0x1700 0x00010000>; }; }; @@ -314,10 +314,10 @@ qcom,sde-fp16-unmult = <0x200 0x00010000>; qcom,sde-fp16-gc = <0x200 0x00010000>; qcom,sde-fp16-csc = <0x200 0x00010000>; - qcom,sde-ucsc-igc = <0x700 0x00010000>; - qcom,sde-ucsc-unmult = <0x700 0x00010000>; - qcom,sde-ucsc-gc = <0x700 0x00010000>; - qcom,sde-ucsc-csc = <0x700 0x00010000>; + qcom,sde-ucsc-igc = <0x700 0x00010001>; + qcom,sde-ucsc-unmult = <0x700 0x00010001>; + qcom,sde-ucsc-gc = <0x700 0x00010001>; + qcom,sde-ucsc-csc = <0x700 0x00010001>; qcom,sde-ucsc-alpha-dither = <0x700 0x00010000>; }; @@ -327,10 +327,10 @@ qcom,sde-fp16-unmult = <0x200 0x00010000>; qcom,sde-fp16-gc = <0x200 0x00010000>; qcom,sde-fp16-csc = <0x200 0x00010000>; - qcom,sde-ucsc-igc = <0x1700 0x00010000>; - qcom,sde-ucsc-unmult = <0x1700 0x00010000>; - qcom,sde-ucsc-gc = <0x1700 0x00010000>; - qcom,sde-ucsc-csc = <0x1700 0x00010000>; + qcom,sde-ucsc-igc = <0x1700 0x00010001>; + qcom,sde-ucsc-unmult = <0x1700 0x00010001>; + qcom,sde-ucsc-gc = <0x1700 0x00010001>; + qcom,sde-ucsc-csc = <0x1700 0x00010001>; qcom,sde-ucsc-alpha-dither = <0x1700 0x00010000>; }; }; From ee1cbb9e3cf72a74376fa2a8e94826566c6fd2f1 Mon Sep 17 00:00:00 2001 From: Yuchao Ma Date: Fri, 22 Dec 2023 13:44:14 +0800 Subject: [PATCH 6/7] ARM: dts: msm: Add pack type for SPR on sun target This change adds pack type for SPR on sun target. Change-Id: I2d403a15e2e8a66586dd4acddf1f635c644a9dae Signed-off-by: Yuchao Ma --- display/dsi-panel-nt37801-dsc-wqhd-plus-cmd-cphy.dtsi | 1 + display/dsi-panel-nt37801-dsc-wqhd-plus-cmd.dtsi | 1 + display/dsi-panel-nt37801-dsc-wqhd-plus-video-cphy.dtsi | 1 + display/dsi-panel-nt37801-dsc-wqhd-plus-video.dtsi | 1 + 4 files changed, 4 insertions(+) diff --git a/display/dsi-panel-nt37801-dsc-wqhd-plus-cmd-cphy.dtsi b/display/dsi-panel-nt37801-dsc-wqhd-plus-cmd-cphy.dtsi index 25357b7c..5612ec26 100644 --- a/display/dsi-panel-nt37801-dsc-wqhd-plus-cmd-cphy.dtsi +++ b/display/dsi-panel-nt37801-dsc-wqhd-plus-cmd-cphy.dtsi @@ -32,6 +32,7 @@ qcom,mdss-dsi-te-check-enable; qcom,mdss-dsi-te-using-te-pin; qcom,panel-cphy-mode; + qcom,spr-pack-type = "pentile"; qcom,mdss-dsi-display-timings { timing@0 { diff --git a/display/dsi-panel-nt37801-dsc-wqhd-plus-cmd.dtsi b/display/dsi-panel-nt37801-dsc-wqhd-plus-cmd.dtsi index e219d5ed..e417cdb2 100644 --- a/display/dsi-panel-nt37801-dsc-wqhd-plus-cmd.dtsi +++ b/display/dsi-panel-nt37801-dsc-wqhd-plus-cmd.dtsi @@ -34,6 +34,7 @@ qcom,mdss-dsi-te-dcs-command = <1>; qcom,mdss-dsi-te-check-enable; qcom,mdss-dsi-te-using-te-pin; + qcom,spr-pack-type = "pentile"; qcom,mdss-dsi-display-timings { timing@0 { cell-index = <0>; diff --git a/display/dsi-panel-nt37801-dsc-wqhd-plus-video-cphy.dtsi b/display/dsi-panel-nt37801-dsc-wqhd-plus-video-cphy.dtsi index 83152a0e..53de247a 100644 --- a/display/dsi-panel-nt37801-dsc-wqhd-plus-video-cphy.dtsi +++ b/display/dsi-panel-nt37801-dsc-wqhd-plus-video-cphy.dtsi @@ -22,6 +22,7 @@ qcom,mdss-dsi-tx-eot-append; qcom,adjust-timer-wakeup-ms = <1>; qcom,panel-cphy-mode; + qcom,spr-pack-type = "pentile"; qcom,mdss-dsi-wr-mem-start = <0x2c>; qcom,mdss-dsi-wr-mem-continue = <0x3c>; diff --git a/display/dsi-panel-nt37801-dsc-wqhd-plus-video.dtsi b/display/dsi-panel-nt37801-dsc-wqhd-plus-video.dtsi index 70ba9540..d4647340 100644 --- a/display/dsi-panel-nt37801-dsc-wqhd-plus-video.dtsi +++ b/display/dsi-panel-nt37801-dsc-wqhd-plus-video.dtsi @@ -27,6 +27,7 @@ qcom,mdss-dsi-wr-mem-start = <0x2c>; qcom,mdss-dsi-wr-mem-continue = <0x3c>; + qcom,spr-pack-type = "pentile"; qcom,mdss-dsi-display-timings { timing@0 { cell-index = <0>; From deeda4cc1fc1014a0fe0fffc9d83e5016d201ccc Mon Sep 17 00:00:00 2001 From: Jayasri Sampath Kumaran Date: Tue, 9 Jan 2024 11:20:14 -0500 Subject: [PATCH 7/7] ARM: dts: msm: update BW limits for sun target Update BW limit values based on QOS recommendation for sun target. Change-Id: Id3ba8542cb89bd4b8d682e7d48841c6a29e2c6d6 Signed-off-by: Jayasri Sampath Kumaran --- display/sun-sde-common.dtsi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/display/sun-sde-common.dtsi b/display/sun-sde-common.dtsi index c17ac6b3..5d60bfd6 100644 --- a/display/sun-sde-common.dtsi +++ b/display/sun-sde-common.dtsi @@ -177,8 +177,8 @@ qcom,sde-has-dest-scaler; qcom,sde-max-trusted-vm-displays = <1>; - qcom,sde-max-bw-low-kbps = <17000000>; - qcom,sde-max-bw-high-kbps = <27000000>; + qcom,sde-max-bw-low-kbps = <18900000>; + qcom,sde-max-bw-high-kbps = <28500000>; qcom,sde-min-core-ib-kbps = <2500000>; qcom,sde-min-llcc-ib-kbps = <0>; qcom,sde-min-dram-ib-kbps = <800000>;