linux-arm-msm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] drm/msm/dpu1: Add DMA2, DMA3 clock control to enum
@ 2021-09-01 18:11 AngeloGioacchino Del Regno
  2021-09-01 18:11 ` [PATCH 2/3] drm/msm/dpu1: Add MSM8998 to hw catalog AngeloGioacchino Del Regno
                   ` (3 more replies)
  0 siblings, 4 replies; 17+ messages in thread
From: AngeloGioacchino Del Regno @ 2021-09-01 18:11 UTC (permalink / raw)
  To: robdclark
  Cc: sean, airlied, daniel, dmitry.baryshkov, abhinavk, robh+dt,
	linux-arm-msm, dri-devel, freedreno, linux-kernel, konrad.dybcio,
	marijn.suijten, martin.botka, ~postmarketos/upstreaming,
	phone-devel, paul.bouchara, devicetree,
	AngeloGioacchino Del Regno

The enum dpu_clk_ctrl_type misses DPU_CLK_CTRL_DMA{2,3} even though
this driver does actually handle both, if present: add the two in
preparation for adding support for SoCs having them.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@somainline.org>
---
 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
index d2a945a27cfa..059e1402b7d0 100644
--- a/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
+++ b/drivers/gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h
@@ -432,6 +432,8 @@ enum dpu_clk_ctrl_type {
 	DPU_CLK_CTRL_RGB3,
 	DPU_CLK_CTRL_DMA0,
 	DPU_CLK_CTRL_DMA1,
+	DPU_CLK_CTRL_DMA2,
+	DPU_CLK_CTRL_DMA3,
 	DPU_CLK_CTRL_CURSOR0,
 	DPU_CLK_CTRL_CURSOR1,
 	DPU_CLK_CTRL_INLINE_ROT0_SSPP,
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [PATCH 0/3] MSM8998 DPU1 support
@ 2022-01-13 14:51 Jami Kettunen
  2022-01-13 14:51 ` [PATCH 3/3] dt-bindings: display: msm: Add binding for msm8998 dpu Jami Kettunen
  0 siblings, 1 reply; 17+ messages in thread
From: Jami Kettunen @ 2022-01-13 14:51 UTC (permalink / raw)
  To: linux-arm-msm
  Cc: ~postmarketos/upstreaming, AngeloGioacchino Del Regno,
	Konrad Dybcio, Martin Botka, Marijn Suijten, Jeffrey Hugo,
	Jami Kettunen

Changes in v2:
- Not disabling the example of dpu-msm8998.yaml (patch 3/3)
- Rebased on linus/master as of 2022-01-13

This series brings up functionality for MSM8998 in the DPU, driver which
is mostly the same as SDM845 (just a few variations).

I (Jami) am doing the sending instead of Angelo as he is still rather
busy.

Tested on the following MSM8998 smartphones:
- OnePlus 5/5T (cmd mode panels)

AngeloGioacchino Del Regno (3):
  drm/msm/dpu1: Add DMA2, DMA3 clock control to enum
  drm/msm/dpu1: Add MSM8998 to hw catalog
  dt-bindings: display: msm: Add binding for msm8998 dpu

 .../bindings/display/msm/dpu-msm8998.yaml     | 219 ++++++++++++
 .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.c    | 329 +++++++++++++++++-
 .../gpu/drm/msm/disp/dpu1/dpu_hw_catalog.h    |   2 +
 drivers/gpu/drm/msm/disp/dpu1/dpu_kms.c       |   1 +
 drivers/gpu/drm/msm/msm_drv.c                 |   1 +
 5 files changed, 541 insertions(+), 11 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/msm/dpu-msm8998.yaml

-- 
2.34.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2022-02-09  2:41 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-01 18:11 [PATCH 1/3] drm/msm/dpu1: Add DMA2, DMA3 clock control to enum AngeloGioacchino Del Regno
2021-09-01 18:11 ` [PATCH 2/3] drm/msm/dpu1: Add MSM8998 to hw catalog AngeloGioacchino Del Regno
2021-09-02 22:25   ` Dmitry Baryshkov
2021-09-03 18:23   ` Dmitry Baryshkov
2021-09-07 19:12   ` [Freedreno] " Jeffrey Hugo
2021-09-08  8:25     ` Dmitry Baryshkov
2021-09-08 14:22       ` Jeffrey Hugo
2021-09-09 13:46         ` Dmitry Baryshkov
2021-09-09 18:00           ` AngeloGioacchino Del Regno
2021-09-01 18:11 ` [PATCH 3/3] dt-bindings: display: msm: Add binding for msm8998 dpu AngeloGioacchino Del Regno
2021-09-07 18:37   ` Rob Herring
2021-11-25 11:53     ` Dmitry Baryshkov
2021-11-25 15:26       ` AngeloGioacchino Del Regno
2021-09-02 22:21 ` [PATCH 1/3] drm/msm/dpu1: Add DMA2, DMA3 clock control to enum Dmitry Baryshkov
2021-09-03 18:24 ` Dmitry Baryshkov
2022-01-13 14:51 [PATCH 0/3] MSM8998 DPU1 support Jami Kettunen
2022-01-13 14:51 ` [PATCH 3/3] dt-bindings: display: msm: Add binding for msm8998 dpu Jami Kettunen
2022-02-09  2:23   ` Rob Herring

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).