Re: [PATCH v2] iommu/arm-smmu-qcom: Only enable stall on smmu-v2

2025-01-07 Thread Rob Clark
On Tue, Jan 7, 2025 at 4:57 AM Will Deacon wrote: > > On Thu, Jan 02, 2025 at 10:32:31AM -0800, Rob Clark wrote: > > From: Rob Clark > > > > On mmu-500, stall-on-fault seems to stall all context banks, causing the > > GMU to misbehave. So limit this feature to smmu-v2 for now. > > > > This fixes

Re: [PATCH] dt-bindings: display: Correct indentation and style in DTS example

2025-01-07 Thread AngeloGioacchino Del Regno
Il 07/01/25 13:58, Krzysztof Kozlowski ha scritto: DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. No functional changes here, but saves some comments during re

Re: [PATCH v11 0/4] io-pgtable-arm + drm/msm: Extend iova fault debugging

2025-01-07 Thread Mostafa Saleh
Hi Rob, On Tue, Dec 10, 2024 at 08:51:18AM -0800, Rob Clark wrote: > From: Rob Clark > > This series extends io-pgtable-arm with a method to retrieve the page > table entries traversed in the process of address translation, and then > beefs up drm/msm gpu devcore dump to include this (and additi

Re: [PATCH v11 0/4] io-pgtable-arm + drm/msm: Extend iova fault debugging

2025-01-07 Thread Rob Clark
On Tue, Jan 7, 2025 at 4:58 AM Will Deacon wrote: > > On Tue, Jan 07, 2025 at 12:55:55PM +, Mostafa Saleh wrote: > > On Tue, Dec 10, 2024 at 08:51:18AM -0800, Rob Clark wrote: > > > From: Rob Clark > > > > > > This series extends io-pgtable-arm with a method to retrieve the page > > > table e

[PATCH] dt-bindings: display: Correct indentation and style in DTS example

2025-01-07 Thread Krzysztof Kozlowski
DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. No functional changes here, but saves some comments during reviews of new patches built on existing code. Signed-

Re: [PATCH v2] iommu/arm-smmu-qcom: Only enable stall on smmu-v2

2025-01-07 Thread Will Deacon
On Thu, Jan 02, 2025 at 10:32:31AM -0800, Rob Clark wrote: > From: Rob Clark > > On mmu-500, stall-on-fault seems to stall all context banks, causing the > GMU to misbehave. So limit this feature to smmu-v2 for now. > > This fixes an issue with an older mesa bug taking outo the system > because

Re: [PATCH v11 0/4] io-pgtable-arm + drm/msm: Extend iova fault debugging

2025-01-07 Thread Will Deacon
On Tue, 10 Dec 2024 08:51:18 -0800, Rob Clark wrote: > This series extends io-pgtable-arm with a method to retrieve the page > table entries traversed in the process of address translation, and then > beefs up drm/msm gpu devcore dump to include this (and additional info) > in the devcore dump. >

Re: [PATCH v11 0/4] io-pgtable-arm + drm/msm: Extend iova fault debugging

2025-01-07 Thread Will Deacon
On Tue, Jan 07, 2025 at 12:55:55PM +, Mostafa Saleh wrote: > On Tue, Dec 10, 2024 at 08:51:18AM -0800, Rob Clark wrote: > > From: Rob Clark > > > > This series extends io-pgtable-arm with a method to retrieve the page > > table entries traversed in the process of address translation, and then

Re: [PATCH 0/4] drm/msm/dpu: enable CDM for all supported platforms

2025-01-07 Thread Abhinav Kumar
On 1/7/2025 3:46 AM, Dmitry Baryshkov wrote: On Tue, Jan 07, 2025 at 09:16:21AM +0100, neil.armstr...@linaro.org wrote: On 24/12/2024 05:25, Dmitry Baryshkov wrote: Enable CDM block on all the platforms where it is supposed to be present. Notably, from the platforms being supported by the DP

Re: [PATCH 0/4] drm/msm/dpu: enable CDM for all supported platforms

2025-01-07 Thread Abhinav Kumar
On 1/7/2025 3:48 AM, Dmitry Baryshkov wrote: On Mon, Jan 06, 2025 at 07:17:40PM -0800, Abhinav Kumar wrote: On 12/23/2024 8:25 PM, Dmitry Baryshkov wrote: Enable CDM block on all the platforms where it is supposed to be present. Notably, from the platforms being supported by the DPU driver

Re: [PATCH v2] iommu/arm-smmu-qcom: Only enable stall on smmu-v2

2025-01-07 Thread Dmitry Baryshkov
On Tue, Jan 07, 2025 at 07:26:44AM -0800, Rob Clark wrote: > On Tue, Jan 7, 2025 at 4:57 AM Will Deacon wrote: > > > > On Thu, Jan 02, 2025 at 10:32:31AM -0800, Rob Clark wrote: > > > From: Rob Clark > > > > > > On mmu-500, stall-on-fault seems to stall all context banks, causing the > > > GMU to

Re: [PATCH] drm/msm/dpu: Add writeback support for SM6150

2025-01-07 Thread Abhinav Kumar
On 1/6/2025 8:50 PM, fange zhang wrote: On 2025/1/7 3:15, Abhinav Kumar wrote: On 1/5/2025 10:39 PM, Fange Zhang wrote: On the SM6150 platform there is WB_2 block. Add it to the SM6150 catalog. Signed-off-by: Fange Zhang --- A followup patch to add writeback configuration for the SM61

Re: [PATCH v3 15/15] drm/msm/dpu: Enable quad-pipe for DSC and dual-DSI case

2025-01-07 Thread Dmitry Baryshkov
On Mon, Jan 06, 2025 at 04:21:43PM +0800, Jun Nie wrote: > Dmitry Baryshkov 于2025年1月4日周六 01:51写道: > > > > On Fri, Jan 03, 2025 at 11:49:07PM +0800, Jun Nie wrote: > > > Dmitry Baryshkov 于2024年12月20日周五 07:46写道: > > > > > > > > On Thu, Dec 19, 2024 at 03:49:33PM +0800, Jun Nie wrote: > > > > > > >

Re: [PATCH 1/4] drm/msm/dpu: rename CDM block definition

2025-01-07 Thread Abhinav Kumar
On 12/23/2024 8:25 PM, Dmitry Baryshkov wrote: The CDM block is not limited to SC7280, but it is common to all platforms that are known up to this point. Rename it from sc7280_cdm to dpu_cdm_0. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_6_0_sm8250.h | 2

Re: [PATCH 2/4] drm/msm/dpu: enable CDM_0 for all DPUs which are known to have it

2025-01-07 Thread Abhinav Kumar
On 12/23/2024 8:25 PM, Dmitry Baryshkov wrote: Enable the CDM_0 block on all DPU generations which have the CDM block documented in the vendor dtsi file. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h | 1 + drivers/gpu/drm/msm/disp/dpu1/catal

Re: [PATCH] dt-bindings: display: Correct indentation and style in DTS example

2025-01-07 Thread Abhinav Kumar
On 1/7/2025 4:58 AM, Krzysztof Kozlowski wrote: DTS example in the bindings should be indented with 2- or 4-spaces and aligned with opening '- |', so correct any differences like 3-spaces or mixtures 2- and 4-spaces in one binding. No functional changes here, but saves some comments during re

Re: [PATCH] dt-bindings: display: Correct indentation and style in DTS example

2025-01-07 Thread Dmitry Baryshkov
On Tue, Jan 07, 2025 at 01:58:51PM +0100, Krzysztof Kozlowski wrote: > DTS example in the bindings should be indented with 2- or 4-spaces and > aligned with opening '- |', so correct any differences like 3-spaces or > mixtures 2- and 4-spaces in one binding. > > No functional changes here, but sav

Re: [PATCH 4/4] drm/msm/dpu: enable CDM_0 for X Elite platform

2025-01-07 Thread Abhinav Kumar
On 12/23/2024 8:25 PM, Dmitry Baryshkov wrote: Enable CDM on the X Elite platform, allowing RGB to YUV conversion for the output. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_9_2_x1e80100.h | 1 + 1 file changed, 1 insertion(+) Reviewed-by: Abhinav Kuma

Re: [PATCH 3/4] drm/msm/dpu: enable CDM_0 for SC8280XP platform

2025-01-07 Thread Abhinav Kumar
On 12/23/2024 8:25 PM, Dmitry Baryshkov wrote: Enable CDM on the SC8280XP platform, allowing RGB to YUV conversion for the output. Signed-off-by: Dmitry Baryshkov --- drivers/gpu/drm/msm/disp/dpu1/catalog/dpu_8_0_sc8280xp.h | 1 + 1 file changed, 1 insertion(+) Reviewed-by: Abhinav Kum

Re: (subset) [PATCH v4 00/25] drm/msm/dpu: Add Concurrent Writeback Support for DPU 10.x+

2025-01-07 Thread Dmitry Baryshkov
On Mon, 16 Dec 2024 16:43:11 -0800, Jessica Zhang wrote: > DPU supports a single writeback session running concurrently with primary > display when the CWB mux is configured properly. This series enables > clone mode for DPU driver and adds support for programming the CWB mux > in cases where the h

Re: [PATCH v3 1/4] drm/dp: Add helper to set LTTPRs in transparent mode

2025-01-07 Thread Johan Hovold
On Fri, Jan 03, 2025 at 02:58:15PM +0200, Abel Vesa wrote: > According to the DisplayPort standard, LTTPRs have two operating > modes: > - non-transparent - it replies to DPCD LTTPR field specific AUX >requests, while passes through all other AUX requests > - transparent - it passes through a

Re: [PATCH v3 4/4] drm/msm/dp: Add support for LTTPR handling

2025-01-07 Thread Johan Hovold
On Fri, Jan 03, 2025 at 02:58:18PM +0200, Abel Vesa wrote: > Link Training Tunable PHY Repeaters (LTTPRs) are defined in DisplayPort > 1.4a specification. As the name suggests, these PHY repeaters are > capable of adjusting their output for link training purposes. > > According to the DisplayPort

Re: [PATCH v2 0/5] drm/connector: make mode_valid() callback accept const mode pointer

2025-01-07 Thread Dmitry Baryshkov
On Sat, 14 Dec 2024 15:37:04 +0200, Dmitry Baryshkov wrote: > While working on the generic mode_valid() implementation for the HDMI > Connector framework I noticed that unlike other DRM objects > drm_connector accepts non-const pointer to struct drm_display_mode, > while obviously mode_valid() isn'

Re: [PATCH 0/4] drm/msm/dpu: enable CDM for all supported platforms

2025-01-07 Thread Dmitry Baryshkov
On Mon, Jan 06, 2025 at 07:17:40PM -0800, Abhinav Kumar wrote: > > > On 12/23/2024 8:25 PM, Dmitry Baryshkov wrote: > > Enable CDM block on all the platforms where it is supposed to be > > present. Notably, from the platforms being supported by the DPU driver > > it is not enabled for SM6115 (DPU

Re: [PATCH 0/4] drm/msm/dpu: enable CDM for all supported platforms

2025-01-07 Thread neil . armstrong
On 24/12/2024 05:25, Dmitry Baryshkov wrote: Enable CDM block on all the platforms where it is supposed to be present. Notably, from the platforms being supported by the DPU driver it is not enabled for SM6115 (DPU 6.3), QCM2290 (DPU 6.5) and SM6375 (DPU 6.9) Can you specify how to validate th

Re: [PATCH 0/4] drm/msm/dpu: enable CDM for all supported platforms

2025-01-07 Thread Dmitry Baryshkov
On Tue, Jan 07, 2025 at 09:16:21AM +0100, neil.armstr...@linaro.org wrote: > On 24/12/2024 05:25, Dmitry Baryshkov wrote: > > Enable CDM block on all the platforms where it is supposed to be > > present. Notably, from the platforms being supported by the DPU driver > > it is not enabled for SM6115

Re: [PATCH v2 1/5] dt-bindings: display/msm: Document the DPU for QCS8300

2025-01-07 Thread Yongxing Mou
On 2024/12/27 16:41, Krzysztof Kozlowski wrote: On Thu, Dec 26, 2024 at 05:40:45PM +0800, Yongxing Mou wrote: Document the DPU for Qualcomm QCS8300 platform.It use the same DPU Missing space after full stop. Got it. thanks, will fix it in next patch. hardware with SA8775P and reuse it's

Re: [PATCH v2 4/5] dt-bindings: phy: Add eDP PHY compatible for QCS8300

2025-01-07 Thread Yongxing Mou
On 2024/12/29 12:42, Dmitry Baryshkov wrote: On Thu, Dec 26, 2024 at 05:40:48PM +0800, Yongxing Mou wrote: Add compatible string for the supported eDP PHY on QCS8300 platform. QCS8300 have the same eDP PHY with SA8775P. Signed-off-by: Yongxing Mou --- .../devicetree/bindings/phy/qcom,edp-

Re: [PATCH v2 0/5] Display enablement changes for Qualcomm QCS8300 platform

2025-01-07 Thread Yongxing Mou
On 2024/12/27 16:39, Krzysztof Kozlowski wrote: On Thu, Dec 26, 2024 at 05:40:44PM +0800, Yongxing Mou wrote: This series introduces support to enable the Mobile Display Subsystem (MDSS) , Display Processing Unit (DPU), DisplayPort controller and eDP PHY for the Qualcomm QCS8300 target. It in

Re: [PATCH v2 0/5] Display enablement changes for Qualcomm QCS8300 platform

2025-01-07 Thread Yongxing Mou
On 2024/12/29 12:44, Dmitry Baryshkov wrote: On Thu, Dec 26, 2024 at 05:40:44PM +0800, Yongxing Mou wrote: This series introduces support to enable the Mobile Display Subsystem (MDSS) , Display Processing Unit (DPU), DisplayPort controller and eDP PHY for the Qualcomm QCS8300 target. It inclu

Re: [PATCH v2 5/5] drm/msm/dpu: rate limit snapshot capture for mmu faults

2025-01-07 Thread Abhinav Kumar
On 12/18/2024 1:33 PM, Jessica Zhang wrote: On 12/18/2024 3:20 AM, Dmitry Baryshkov wrote: On Tue, Dec 17, 2024 at 04:27:57PM -0800, Jessica Zhang wrote: From: Abhinav Kumar There is no recovery mechanism in place yet to recover from mmu faults for DPU. We can only prevent the faults by

Re: [PATCH v2 5/5] drm/msm/dpu: rate limit snapshot capture for mmu faults

2025-01-07 Thread Dmitry Baryshkov
On Tue, Jan 07, 2025 at 05:34:20PM -0800, Abhinav Kumar wrote: > > > On 12/18/2024 1:33 PM, Jessica Zhang wrote: > > > > > > On 12/18/2024 3:20 AM, Dmitry Baryshkov wrote: > > > On Tue, Dec 17, 2024 at 04:27:57PM -0800, Jessica Zhang wrote: > > > > From: Abhinav Kumar > > > > > > > > There is

[pull] drm/msm: drm-msm-next-2025-01-07 for v6.14

2025-01-07 Thread Rob Clark
Hi Dave, Simona, Pull for v6.14, as described below. Has a merge from the pm/opp tree to resolve a dependency on the newly added dev_pm_opp_get_bw() The following changes since commit 40384c840ea1944d7c5a392e8975ed088ecf0b37: Linux 6.13-rc1 (2024-12-01 14:28:56 -0800) are available in the Gi