[PATCH v2 0/4] Add MSM8996/MSM8953/MSM8937/MSM8917 dpu catalog

2024-09-30 Thread Barnabás Czémán
panel related configs (SSPP_DMA0) on MSM8917 and MSM8937. Note, by default these platforms are still handled by the MDP5 driver unless the `msm.prefer_mdp5=false' parameter is provided. Signed-off-by: Barnabás Czémán --- Changes in v2: - Add MSM8917 and MSM8937 from previous attempts. - Remove

[PATCH v2 4/4] drm/msm/dpu: Add support for MSM8917

2024-09-30 Thread Barnabás Czémán
From: Dmitry Baryshkov Add support for MSM8917, which has MDP5 v1.15. It looks like trimmed down version of MSM8937. Even fewer PP, LM and no DSI1. Signed-off-by: Dmitry Baryshkov [Remove intr_start from CTLs config, reword the commit] Signed-off-by: Barnabás Czémán --- .../drm/msm/disp/dpu1

[PATCH v2 3/4] drm/msm/dpu: Add support for MSM8937

2024-09-30 Thread Barnabás Czémán
From: Dmitry Baryshkov Add support for MSM8937, which has MDP5 v1.14. It looks like trimmed down version of MSM8996. Less SSPP, LM and PP blocks. No DSC, etc. Signed-off-by: Dmitry Baryshkov [Remove intr_start from CTLs config, reword the commit] Signed-off-by: Barnabás Czémán --- .../drm

[PATCH v2 1/4] drm/msm/dpu: Add support for MSM8996

2024-09-30 Thread Barnabás Czémán
u_rgb_sblk] Signed-off-by: Dmitry Baryshkov Acked-by: Konrad Dybcio [Removed intr_start from CTLs config, removed LM_3 and LM_4] Signed-off-by: Barnabás Czémán --- .../drm/msm/disp/dpu1/catalog/dpu_1_7_msm8996.h| 338 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c

[PATCH v2 2/4] drm/msm/dpu: Add support for MSM8953

2024-09-30 Thread Barnabás Czémán
From: Dmitry Baryshkov Add support for MSM8953, which has MDP5 v1.16. It looks like trimmed down version of MSM8996. Less SSPP, LM and PP blocks. No DSC, etc. Signed-off-by: Dmitry Baryshkov [Remove intr_start from CTLs config, reword the commit] Signed-off-by: Barnabás Czémán --- .../drm

Re: [PATCH v3] drm/msm/adreno: Add A306A support

2024-08-28 Thread Barnabás Czémán
I hope it was not forgotten or am I missing something? On Mon, Jul 22, 2024 at 4:58 PM Barnabás Czémán wrote: > > From: Otto Pflüger > > Add support for Adreno 306A GPU what is found in MSM8917 SoC. > This GPU marketing name is Adreno 308. > > Signed-off-by: Otto Pflüger

[PATCH 1/2] drm/msm/dpu: Add MSM8996 support

2024-08-08 Thread Barnabás Czémán
u_rgb_sblk] Signed-off-by: Dmitry Baryshkov [Removed intr_start from CTLs config] Signed-off-by: Barnabás Czémán --- .../drm/msm/disp/dpu1/catalog/dpu_1_7_msm8996.h| 348 + drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c | 94 ++ drivers/gpu/drm/msm/disp/dpu1/dpu_hw

[PATCH 2/2] drm/msm/dpu: add support for MSM8953

2024-08-08 Thread Barnabás Czémán
From: Dmitry Baryshkov Add support for MSM8953, which has MDP5 v1.16. It looks like trimmed down version of MSM8996. Less SSPP, LM and PP blocks. No DSC, etc. Signed-off-by: Dmitry Baryshkov [Remove intr_start from CTLs config, reword the commit] Signed-off-by: Barnabás Czémán --- .../drm

[PATCH 0/2] Add MSM8996/MSM8953 dpu catalog

2024-08-08 Thread Barnabás Czémán
This patch series add dpu support for MSM8996/MSM8953 devices. Note, by default these platforms are still handled by the MDP5 driver unless the `msm.prefer_mdp5=false' parameter is provided. Signed-off-by: Barnabás Czémán --- Dmitry Baryshkov (1): drm/msm/dpu: add support for MS

Re: [PATCH 0/2] Add MSM8996/MSM8953 dpu catalog

2024-08-08 Thread Barnabás Czémán
Should i resend this patch set? On June 28, 2024 4:39:38 PM GMT+02:00, "Barnabás Czémán" wrote: >This patch series add dpu support for MSM8996/MSM8953 devices. > >Note, by default these platforms are still handled by the MDP5 driver >unless the `msm.prefer_mdp5=false&

[PATCH v3] drm/msm/adreno: Add A306A support

2024-07-22 Thread Barnabás Czémán
From: Otto Pflüger Add support for Adreno 306A GPU what is found in MSM8917 SoC. This GPU marketing name is Adreno 308. Signed-off-by: Otto Pflüger [use internal name of the GPU, reword the commit message] Reviewed-by: Konrad Dybcio Signed-off-by: Barnabás Czémán --- Changes in v3: - Fix

Re: [PATCH v2] drm/msm/adreno: Add A306A support

2024-07-21 Thread Barnabás Czémán
On Sat, Jun 22, 2024 at 1:36 PM Konrad Dybcio wrote: > > On 20.06.2024 11:52 PM, Barnabás Czémán wrote: > > From: Otto Pflüger > > > > Add support for Adreno 306A GPU what is found in MSM8917 SoC. > > This GPU marketing name is Adreno 308. > > > > Sign

[PATCH v3] drm/msm/adreno: Add support for Adreno 505 GPU

2024-06-29 Thread Barnabás Czémán
From: Daniil Titov This GPU is found on SoCs such as MSM8937 (450 MHz), MSM8940 (475 MHz), SDM439 (650 MHz). Signed-off-by: Daniil Titov Reviewed-by: Konrad Dybcio Signed-off-by: Barnabás Czémán --- Changes in v3: - Rebase on the latest linux-next. - Link to v2: https://lore.kernel.org/r

[PATCH] drm/msm/mdp5: Remove MDP_CAP_SRC_SPLIT from msm8x53_config

2024-06-23 Thread Barnabás Czémán
Remove MDP_CAP_SRC_SPLIT from msm8x53_config because it is not referenced in downstream. Fixes: fb25d4474fa0 ("drm/msm/mdp5: Add configuration for MDP v1.16") Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 3 +-- 1 file changed, 1 insertion(+), 2

[PATCH v2 4/4] drm/msm/dsi: Add phy configuration for MSM8937

2024-06-23 Thread Barnabás Czémán
From: Daniil Titov Add phy configuration for 28nm dsi phy found on MSM8937 SoC. Only difference from existing msm8916 configuration is number of phy and io_start addresses. Signed-off-by: Daniil Titov Reviewed-by: Dmitry Baryshkov Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/dsi

[PATCH v2 2/4] drm/msm/mdp5: Add MDP5 configuration for MSM8937

2024-06-23 Thread Barnabás Czémán
From: Daniil Titov Add the mdp5_cfg_hw entry for MDP5 version v1.14 found on msm8937. Signed-off-by: Daniil Titov Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 88 1 file changed, 88 insertions(+) diff --git a/drivers/gpu/drm

[PATCH v2 3/4] dt-bindings: msm: dsi-phy-28nm: Document msm8937 compatible

2024-06-23 Thread Barnabás Czémán
The MSM8937 SoC uses a slightly different 28nm dsi phy. Add a new compatible for it. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Barnabás Czémán --- Documentation/devicetree/bindings/display/msm/dsi-phy-28nm.yaml | 1 + Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml| 1

[PATCH v2 1/4] dt-bindings: display/msm: qcom, mdp5: Add msm8937 compatible

2024-06-23 Thread Barnabás Czémán
Add the compatible for the MDP5 found on MSM8937. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Barnabás Czémán --- Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml b

[PATCH v2 0/4] MSM8937 MDP/DSI PHY enablement

2024-06-23 Thread Barnabás Czémán
This patch series adds support for the MDP and DSI PHY as found on the MSM8937 platform. Signed-off-by: Barnabás Czémán --- Changes in v2: - Remove MDP_CAP_SRC_SPLIT from mdp5_cfg - Link to v1: https://lore.kernel.org/r/20240623-dsi-v1-0-4ab560eb5...@gmail.com --- Barnabás Czémán (2): dt

Re: [PATCH 2/4] drm/msm/mdp5: Add MDP5 configuration for MSM8937

2024-06-23 Thread Barnabás Czémán
On Sun, Jun 23, 2024 at 7:59 AM Dmitry Baryshkov wrote: > > On Sun, Jun 23, 2024 at 01:25:52AM GMT, Barnabás Czémán wrote: > > From: Daniil Titov > > > > Add the mdp5_cfg_hw entry for MDP5 version v1.14 found on msm8937. > > > > Signed-off-by: Daniil Titov

[PATCH 4/4] drm/msm/dsi: Add phy configuration for MSM8937

2024-06-22 Thread Barnabás Czémán
From: Daniil Titov Add phy configuration for 28nm dsi phy found on MSM8937 SoC. Only difference from existing msm8916 configuration is number of phy and io_start addresses. Signed-off-by: Daniil Titov Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/dsi/phy/dsi_phy.c | 2

[PATCH 2/4] drm/msm/mdp5: Add MDP5 configuration for MSM8937

2024-06-22 Thread Barnabás Czémán
From: Daniil Titov Add the mdp5_cfg_hw entry for MDP5 version v1.14 found on msm8937. Signed-off-by: Daniil Titov Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/disp/mdp5/mdp5_cfg.c | 89 1 file changed, 89 insertions(+) diff --git a/drivers/gpu/drm

[PATCH 3/4] dt-bindings: msm: dsi-phy-28nm: Document msm8937 compatible

2024-06-22 Thread Barnabás Czémán
The MSM8937 SoC uses a slightly different 28nm dsi phy. Add a new compatible for it. Signed-off-by: Barnabás Czémán --- Documentation/devicetree/bindings/display/msm/dsi-phy-28nm.yaml | 1 + Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml| 1 + 2 files changed, 2 insertions

[PATCH 1/4] dt-bindings: display/msm: qcom, mdp5: Add msm8937 compatible

2024-06-22 Thread Barnabás Czémán
Add the compatible for the MDP5 found on MSM8937. Signed-off-by: Barnabás Czémán --- Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml b/Documentation/devicetree/bindings

[PATCH 0/4] MSM8937 MDP/DSI PHY enablement

2024-06-22 Thread Barnabás Czémán
This patch series adds support for the MDP and DSI PHY as found on the MSM8937 platform. Signed-off-by: Barnabás Czémán --- Barnabás Czémán (2): dt-bindings: display/msm: qcom, mdp5: Add msm8937 compatible dt-bindings: msm: dsi-phy-28nm: Document msm8937 compatible Daniil Titov (2

[PATCH v2] drm/msm/adreno: Add A306A support

2024-06-20 Thread Barnabás Czémán
From: Otto Pflüger Add support for Adreno 306A GPU what is found in MSM8917 SoC. This GPU marketing name is Adreno 308. Signed-off-by: Otto Pflüger [use internal name of the GPU, reword the commit message] Signed-off-by: Barnabás Czémán --- Changes in v2: - Rebase on https

[PATCH v2] drm/msm/adreno: Add support for Adreno 505 GPU

2024-06-04 Thread Barnabás Czémán
From: Daniil Titov This GPU is found on SoCs such as MSM8937 (450 MHz), MSM8940 (475 MHz), SDM439 (650 MHz). Signed-off-by: Daniil Titov Signed-off-by: Barnabás Czémán --- Changes in v2: - use DRM_MSM_INACTIVE_PERIOD instead of 250 ms. - Link to v1: https://lore.kernel.org/r/20240604-a505-v1

Re: [PATCH] drm/msm/adreno: Add support for Adreno 505 GPU

2024-06-04 Thread Barnabás Czémán
On Tue, Jun 4, 2024 at 7:38 PM Konrad Dybcio wrote: > > > > On 6/4/24 19:33, Barnabás Czémán wrote: > > On Tue, Jun 4, 2024 at 7:06 PM Konrad Dybcio > > wrote: > >> > >> > >> > >> On 6/4/24 18:45, Barnabás Czémán wrote:

Re: [PATCH] drm/msm/adreno: Add support for Adreno 505 GPU

2024-06-04 Thread Barnabás Czémán
On Tue, Jun 4, 2024 at 7:06 PM Konrad Dybcio wrote: > > > > On 6/4/24 18:45, Barnabás Czémán wrote: > > On Tue, Jun 4, 2024 at 2:27 PM Barnabás Czémán wrote: > >> > >> On Tue, Jun 4, 2024 at 1:55 PM Konrad Dybcio > >> wrote: > >>>

Re: [PATCH] drm/msm/adreno: Add support for Adreno 505 GPU

2024-06-04 Thread Barnabás Czémán
On Tue, Jun 4, 2024 at 2:27 PM Barnabás Czémán wrote: > > On Tue, Jun 4, 2024 at 1:55 PM Konrad Dybcio wrote: > > > > > > > > On 6/4/24 02:20, Barnabás Czémán wrote: > > > From: Daniil Titov > > > > > > This GPU is found on SoCs such a

Re: [PATCH] drm/msm/adreno: Add support for Adreno 505 GPU

2024-06-04 Thread Barnabás Czémán
On Tue, Jun 4, 2024 at 1:55 PM Konrad Dybcio wrote: > > > > On 6/4/24 02:20, Barnabás Czémán wrote: > > From: Daniil Titov > > > > This GPU is found on SoCs such as MSM8937 (450 MHz), MSM8940 (475 MHz), > > SDM439 (650 MHz). > > > > Signed-off-by:

[PATCH] drm/msm/adreno: Add support for Adreno 505 GPU

2024-06-03 Thread Barnabás Czémán
From: Daniil Titov This GPU is found on SoCs such as MSM8937 (450 MHz), MSM8940 (475 MHz), SDM439 (650 MHz). Signed-off-by: Daniil Titov Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/adreno/a5xx_gpu.c | 29 + drivers/gpu/drm/msm/adreno

[PATCH v2] drm/msm/dpu: fix encoder irq wait skip

2024-06-03 Thread Barnabás Czémán
The irq_idx is unsigned so it cannot be lower than zero, better to change the condition to check if it is equal with zero. It could not cause any issue because a valid irq index starts from one. Fixes: 5a9d50150c2c ("drm/msm/dpu: shift IRQ indices by 1") Signed-off-by: Barna

[PATCH] drm/msm/dpu: guard ctl irq callback register/unregister

2024-06-03 Thread Barnabás Czémán
CTLs on older qualcomm SOCs like msm8953 and msm8996 has not got interrupts, so better to skip CTL irq callback register/unregister make dpu_ctl_cfg be able to define without intr_start. Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder_phys_cmd.c | 4 ++-- 1 file

[PATCH] drm/msm/dpu: fix encoder irq wait skip

2024-06-03 Thread Barnabás Czémán
The irq_idx is unsigned so it cannot be lower than zero, better to change the condition to check if it is equal with zero. It could not cause any issue because a valid irq index starts from one. Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/disp/dpu1/dpu_encoder.c | 2 +- 1 file

[PATCH] drm/msm/adreno: Add A306A support

2024-06-03 Thread Barnabás Czémán
From: Otto Pflüger Add support for Adreno 306A GPU what is found in MSM8917 SoC. This GPU marketing name is Adreno 308. Signed-off-by: Otto Pflüger [use internal name of the GPU, reword the commit message] Signed-off-by: Barnabás Czémán --- drivers/gpu/drm/msm/adreno/a3xx_gpu.c | 14

Re: [PATCH] drm/msm/dpu: guard ctl irq callback register/unregister

2024-06-03 Thread Barnabás Czémán
There was some previously sent patch series made by Dmitry for these soc, msm8996 was sent together by sdm660 but in the last version it was dropped. I have recreated msm8996 DPU support from that series but it will need some more test. I am testing msm8953 series but it is depend on msm8996.