Re: [Freedreno] [PATCH v6 08/10] drm/msm/dpu: rewrite scaler and CSC presense checks

2023-10-30 Thread Abhinav Kumar
On 10/6/2023 6:14 AM, Dmitry Baryshkov wrote: In order to check whether the SSPP block has scaler and CSC subblocks the funcion dpu_plane_atomic_check_pipe() uses macros which enumerate all possible scaler and CSC features. Replace those checks with the scaler and CSC subblock length checks

Re: [Freedreno] [PATCH v6 09/10] drm/msm/dpu: merge DPU_SSPP_SCALER_QSEED3, QSEED3LITE, QSEED4

2023-10-30 Thread Abhinav Kumar
On 10/6/2023 6:14 AM, Dmitry Baryshkov wrote: Three different features, DPU_SSPP_SCALER_QSEED3, QSEED3LITE and QSEED4 are all related to different versions of the same HW scaling block. Corresponding driver parts use scaler_blk.version to identify the correct way to program the hardware. In

[Freedreno] [PATCH] drm/msm/dpu: Add missing safe_lut_tbl in sc8280xp catalog

2023-10-30 Thread Bjorn Andersson
ase-commit: c503e3eec382ac708ee7adf874add37b77c5d312 change-id: 20231030-sc8280xp-dpu-safe-lut-9769027b8452 Best regards, -- Bjorn Andersson

Re: [Freedreno] [PATCH v6 06/10] drm/msm/dpu: deduplicate some (most) of SSPP sub-blocks

2023-10-30 Thread Abhinav Kumar
On 10/6/2023 6:14 AM, Dmitry Baryshkov wrote: As we have dropped the variadic parts of SSPP sub-blocks declarations, deduplicate them now, reducing memory cruft. Signed-off-by: Dmitry Baryshkov --- .../msm/disp/dpu1/catalog/dpu_3_0_msm8998.h | 16 +--

Re: [Freedreno] [PATCH v2 5/8] drm/msm/dpu: add support for SM8650 DPU

2023-10-30 Thread Dmitry Baryshkov
On Mon, 30 Oct 2023 at 12:36, Neil Armstrong wrote: > > Add DPU version 10.0 support for the SM8650 platform. > > Signed-off-by: Neil Armstrong Reviewed-by: Dmitry Baryshkov > --- > .../drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h| 457 > + >

Re: [Freedreno] [RFC PATCH v1 12/12] usb: typec: qcom: define the bridge's path

2023-10-30 Thread Dmitry Baryshkov
On Mon, 30 Oct 2023 at 12:27, Simon Ser wrote: > > On Monday, October 30th, 2023 at 11:22, Dmitry Baryshkov > wrote: > > > On Mon, 30 Oct 2023 at 12:13, Simon Ser cont...@emersion.fr wrote: > > > > > On Monday, October 30th, 2023 at 10:47, Dmitry Baryshkov > > > dmitry.barysh...@linaro.org

Re: [Freedreno] [RFC PATCH v1 12/12] usb: typec: qcom: define the bridge's path

2023-10-30 Thread Simon Ser
On Monday, October 30th, 2023 at 10:47, Dmitry Baryshkov wrote: > On Mon, 30 Oct 2023 at 10:19, Heikki Krogerus > heikki.kroge...@linux.intel.com wrote: > > > On Mon, Oct 23, 2023 at 09:24:33PM +0300, Dmitry Baryshkov wrote: > > > > > On 15 September 2023 15:14:35 EEST, Heikki Krogerus > > >

Re: [Freedreno] [RFC PATCH v1 12/12] usb: typec: qcom: define the bridge's path

2023-10-30 Thread Simon Ser
On Monday, October 30th, 2023 at 11:22, Dmitry Baryshkov wrote: > On Mon, 30 Oct 2023 at 12:13, Simon Ser cont...@emersion.fr wrote: > > > On Monday, October 30th, 2023 at 10:47, Dmitry Baryshkov > > dmitry.barysh...@linaro.org wrote: > > > > > On Mon, 30 Oct 2023 at 10:19, Heikki Krogerus >

Re: [Freedreno] [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Christian König
Am 27.10.23 um 18:58 schrieb Rob Clark: From: Rob Clark In cases where the # is known ahead of time, it is silly to do the table resize dance. Ah, yes that was my initial implementation as well, but I ditched that because nobody actually used it. One comment below. Signed-off-by: Rob

Re: [Freedreno] [RFC PATCH v1 12/12] usb: typec: qcom: define the bridge's path

2023-10-30 Thread Dmitry Baryshkov
On Mon, 30 Oct 2023 at 12:13, Simon Ser wrote: > > On Monday, October 30th, 2023 at 10:47, Dmitry Baryshkov > wrote: > > > On Mon, 30 Oct 2023 at 10:19, Heikki Krogerus > > heikki.kroge...@linux.intel.com wrote: > > > > > On Mon, Oct 23, 2023 at 09:24:33PM +0300, Dmitry Baryshkov wrote: > > > >

Re: [Freedreno] [RFC PATCH v1 12/12] usb: typec: qcom: define the bridge's path

2023-10-30 Thread Dmitry Baryshkov
On Mon, 30 Oct 2023 at 10:19, Heikki Krogerus wrote: > > On Mon, Oct 23, 2023 at 09:24:33PM +0300, Dmitry Baryshkov wrote: > > On 15 September 2023 15:14:35 EEST, Heikki Krogerus > > wrote: > > >Hi Dmitry, > > > > > >On Mon, Sep 04, 2023 at 12:41:50AM +0300, Dmitry Baryshkov wrote: > > >> In

[Freedreno] [PATCH v2 3/8] dt-bindings: display: msm: document the SM8650 DPU

2023-10-30 Thread Neil Armstrong
Document the DPU Display Controller on the SM8650 Platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- .../bindings/display/msm/qcom,sm8650-dpu.yaml | 127 + 1 file changed, 127 insertions(+) diff --git

[Freedreno] [PATCH v2 5/8] drm/msm/dpu: add support for SM8650 DPU

2023-10-30 Thread Neil Armstrong
Add DPU version 10.0 support for the SM8650 platform. Signed-off-by: Neil Armstrong --- .../drm/msm/disp/dpu1/catalog/dpu_10_0_sm8650.h| 457 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 26 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 1 +

[Freedreno] [PATCH v2 7/8] drm/msm: dsi: add support for DSI-PHY on SM8650

2023-10-30 Thread Neil Armstrong
Add DSI PHY support for the SM8650 platform. Reviewed-by: Dmitry Baryshkov Signed-off-by: Neil Armstrong --- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2 ++ drivers/gpu/drm/msm/dsi/phy/dsi_phy.h | 1 + drivers/gpu/drm/msm/dsi/phy/dsi_phy_7nm.c | 27 +++ 3 files

[Freedreno] [PATCH v2 8/8] drm/msm: dsi: add support for DSI 2.8.0

2023-10-30 Thread Neil Armstrong
Add DSI Controller version 2.8.0 support for the SM8650 platform. Reviewed-by: Dmitry Baryshkov Signed-off-by: Neil Armstrong --- drivers/gpu/drm/msm/dsi/dsi_cfg.c | 17 + drivers/gpu/drm/msm/dsi/dsi_cfg.h | 1 + 2 files changed, 18 insertions(+) diff --git

[Freedreno] [PATCH v2 4/8] dt-bindings: display: msm: document the SM8650 Mobile Display Subsystem

2023-10-30 Thread Neil Armstrong
Document the Mobile Display Subsystem (MDSS) on the SM8650 Platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- .../bindings/display/msm/qcom,sm8650-mdss.yaml | 322 + 1 file changed, 322 insertions(+) diff --git

[Freedreno] [PATCH v2 6/8] drm/msm: mdss: add support for SM8650

2023-10-30 Thread Neil Armstrong
Add Mobile Display Subsystem (MDSS) support for the SM8650 platform. Reviewed-by: Dmitry Baryshkov Signed-off-by: Neil Armstrong --- drivers/gpu/drm/msm/msm_mdss.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/msm/msm_mdss.c b/drivers/gpu/drm/msm/msm_mdss.c index

[Freedreno] [PATCH v2 0/8] drm/msm: Introduce display support for SM8650

2023-10-30 Thread Neil Armstrong
The SM8650 MDSS is very close from the MDSS 9.0.0 found on the SM8550 SoC, with the following difference: - DSI PHY 2.8.8, no significant differences - DPU 10.0.0: - Enhanced max_linewidth to 8k - PINGPONG_8 & PINGPONG_9 - MERGE_3D_4 - DSC_4 & DSC_5, DSC_NATIVE_42x on DSC0/1 This patchset

[Freedreno] [PATCH v2 1/8] dt-bindings: display: msm-dsi-phy-7nm: document the SM8650 DSI PHY

2023-10-30 Thread Neil Armstrong
Document the DSI PHY on the SM8650 Platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/dsi-phy-7nm.yaml

[Freedreno] [PATCH v2 2/8] dt-bindings: display: msm-dsi-controller-main: document the SM8650 DSI Controller

2023-10-30 Thread Neil Armstrong
Document the DSI Controller on the SM8650 Platform. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/display/msm/dsi-controller-main.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [Freedreno] [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Rob Clark
On Mon, Oct 30, 2023 at 1:05 AM Christian König wrote: > > Am 27.10.23 um 18:58 schrieb Rob Clark: > > From: Rob Clark > > > > In cases where the # is known ahead of time, it is silly to do the table > > resize dance. > > Ah, yes that was my initial implementation as well, but I ditched that >

Re: [Freedreno] [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Christian König
Am 30.10.23 um 14:38 schrieb Rob Clark: On Mon, Oct 30, 2023 at 1:05 AM Christian König wrote: Am 27.10.23 um 18:58 schrieb Rob Clark: From: Rob Clark In cases where the # is known ahead of time, it is silly to do the table resize dance. Ah, yes that was my initial implementation as well,

Re: [Freedreno] [PATCH 6/7] drm/exec: Pass in initial # of objects

2023-10-30 Thread Rob Clark
On Mon, Oct 30, 2023 at 9:01 AM Christian König wrote: > > Am 30.10.23 um 14:38 schrieb Rob Clark: > > On Mon, Oct 30, 2023 at 1:05 AM Christian König > > wrote: > >> Am 27.10.23 um 18:58 schrieb Rob Clark: > >>> From: Rob Clark > >>> > >>> In cases where the # is known ahead of time, it is