All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v5 00/23] drm/rockchip: RK356x VOP2 support
@ 2022-02-09  9:53 ` Sascha Hauer
  0 siblings, 0 replies; 182+ messages in thread
From: Sascha Hauer @ 2022-02-09  9:53 UTC (permalink / raw)
  To: dri-devel
  Cc: devicetree, Benjamin Gaignard, Peter Geis, Sascha Hauer,
	Sandy Huang, linux-rockchip, Michael Riesch, kernel, Andy Yan,
	linux-arm-kernel

This is v5 of adding RK356x VOP2 support. I've dropped the patches that
Heiko already applied, for testing either apply to linux-next or pick
the missing clk patches from v4.

I consider this series being ready for primetime now. One problem might
be patch 1 [drm/encoder: Add of_graph port to struct drm_encoder] to
which I need an ack from Dave and/or Daniel I guess.

I collected the Acks from Rob I got so far. [dt-bindings: display:
rockchip: Add binding for VOP2] doesn't have an ack yet, but it should
be ready now in v5.

Sascha

Changes since v4:
- Reorder patches in a way that binding/dts/driver patches are closer together
- Drop clk patches already applied by Heiko

Changes since v3:
- added changelog to each patch
- Add 4k support to hdmi driver
- rebase on v5.17-rc1

Changes since v2:
- Add pin names to HDMI supply pin description
- Add hclk support to HDMI driver
- Dual license rockchip-vop2 binding, update binding
- Add HDMI connector to board dts files
- drop unnecessary gamma_lut registers from vop2
- Update dclk_vop[012] clock handling, no longer hacks needed
- Complete regmap conversion

Changes since v1:
- drop all unnecessary waiting for frames within atomic modeset and plane update
- Cluster subwin support removed
- gamma support removed
- unnecessary irq_lock removed
- interrupt handling simplified
- simplified zpos handling
- drop is_alpha_support(), use fb->format->has_alpha instead
- use devm_regulator_get() rather than devm_regulator_get_optional() for hdmi regulators
- Use fixed number of planes per video port
- Drop homegrown regmap code from vop2 driver (not complete yet)
- Add separate include file for vop2 driver to not pollute the vop include

Andy Yan (1):
  drm: rockchip: Add VOP2 driver

Benjamin Gaignard (1):
  dt-bindings: display: rockchip: dw-hdmi: Add compatible for rk3568
    HDMI

Douglas Anderson (2):
  drm/rockchip: dw_hdmi: Use auto-generated tables
  drm/rockchip: dw_hdmi: Set cur_ctr to 0 always

Michael Riesch (1):
  arm64: dts: rockchip: enable vop2 and hdmi tx on quartz64a

Nickey Yang (1):
  drm/rockchip: dw_hdmi: add default 594Mhz clk for 4K@60hz

Sascha Hauer (17):
  drm/encoder: Add of_graph port to struct drm_encoder
  drm/rockchip: dw_hdmi: Do not leave clock enabled in error case
  drm/rockchip: dw_hdmi: rename vpll clock to reference clock
  dt-bindings: display: rockchip: dw-hdmi: use "ref" as clock name
  arm64: dts: rockchip: rk3399: rename HDMI ref clock to 'ref'
  drm/rockchip: dw_hdmi: add rk3568 support
  drm/rockchip: dw_hdmi: add regulator support
  dt-bindings: display: rockchip: dw-hdmi: Add regulator support
  drm/rockchip: dw_hdmi: Add support for hclk
  dt-bindings: display: rockchip: dw-hdmi: Add additional clock
  drm/rockchip: dw_hdmi: drop mode_valid hook
  dt-bindings: display: rockchip: dw-hdmi: Make unwedge pinctrl optional
  arm64: dts: rockchip: rk356x: Add VOP2 nodes
  arm64: dts: rockchip: rk356x: Add HDMI nodes
  arm64: dts: rockchip: rk3568-evb: Enable VOP2 and hdmi
  drm/rockchip: Make VOP driver optional
  dt-bindings: display: rockchip: Add binding for VOP2

 .../display/rockchip/rockchip,dw-hdmi.yaml    |   29 +-
 .../display/rockchip/rockchip-vop2.yaml       |  140 +
 arch/arm64/boot/dts/rockchip/rk3399.dtsi      |    2 +-
 .../boot/dts/rockchip/rk3566-quartz64-a.dts   |   48 +
 arch/arm64/boot/dts/rockchip/rk3566.dtsi      |    4 +
 .../boot/dts/rockchip/rk3568-evb1-v10.dts     |   48 +
 arch/arm64/boot/dts/rockchip/rk3568.dtsi      |    4 +
 arch/arm64/boot/dts/rockchip/rk356x.dtsi      |   86 +
 drivers/gpu/drm/rockchip/Kconfig              |   14 +
 drivers/gpu/drm/rockchip/Makefile             |    4 +-
 drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c   |  293 +-
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c   |    3 +-
 drivers/gpu/drm/rockchip/rockchip_drm_drv.h   |    7 +-
 drivers/gpu/drm/rockchip/rockchip_drm_fb.c    |    2 +
 drivers/gpu/drm/rockchip/rockchip_drm_vop.h   |   15 +
 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c  | 2689 +++++++++++++++++
 drivers/gpu/drm/rockchip/rockchip_drm_vop2.h  |  480 +++
 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c  |  285 ++
 include/drm/drm_encoder.h                     |    2 +
 include/dt-bindings/soc/rockchip,vop2.h       |   14 +
 20 files changed, 4045 insertions(+), 124 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/display/rockchip/rockchip-vop2.yaml
 create mode 100644 drivers/gpu/drm/rockchip/rockchip_drm_vop2.c
 create mode 100644 drivers/gpu/drm/rockchip/rockchip_drm_vop2.h
 create mode 100644 drivers/gpu/drm/rockchip/rockchip_vop2_reg.c
 create mode 100644 include/dt-bindings/soc/rockchip,vop2.h

-- 
2.30.2


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

end of thread, other threads:[~2022-02-16 13:47 UTC | newest]

Thread overview: 182+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-09  9:53 [PATCH v5 00/23] drm/rockchip: RK356x VOP2 support Sascha Hauer
2022-02-09  9:53 ` Sascha Hauer
2022-02-09  9:53 ` Sascha Hauer
2022-02-09  9:53 ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 01/23] drm/encoder: Add of_graph port to struct drm_encoder Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09 10:07   ` Sascha Hauer
2022-02-09 10:07     ` Sascha Hauer
2022-02-09 10:07     ` Sascha Hauer
2022-02-09 10:07     ` Sascha Hauer
2022-02-09 11:12     ` Jani Nikula
2022-02-09 11:12       ` Jani Nikula
2022-02-09 11:12       ` Jani Nikula
2022-02-09 11:12       ` Jani Nikula
2022-02-10 11:52       ` Sascha Hauer
2022-02-10 11:52         ` Sascha Hauer
2022-02-10 11:52         ` Sascha Hauer
2022-02-10 11:52         ` Sascha Hauer
2022-02-10 15:22         ` Sascha Hauer
2022-02-10 15:22           ` Sascha Hauer
2022-02-10 15:22           ` Sascha Hauer
2022-02-10 15:22           ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 02/23] drm/rockchip: dw_hdmi: Do not leave clock enabled in error case Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09 10:03   ` Heiko Stübner
2022-02-09 10:03     ` Heiko Stübner
2022-02-09 10:03     ` Heiko Stübner
2022-02-09 10:03     ` Heiko Stübner
2022-02-09  9:53 ` [PATCH v5 03/23] drm/rockchip: dw_hdmi: rename vpll clock to reference clock Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 04/23] dt-bindings: display: rockchip: dw-hdmi: use "ref" as clock name Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 05/23] arm64: dts: rockchip: rk3399: rename HDMI ref clock to 'ref' Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 06/23] drm/rockchip: dw_hdmi: add rk3568 support Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 07/23] dt-bindings: display: rockchip: dw-hdmi: Add compatible for rk3568 HDMI Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 08/23] drm/rockchip: dw_hdmi: add regulator support Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 09/23] dt-bindings: display: rockchip: dw-hdmi: Add " Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 10/23] drm/rockchip: dw_hdmi: Add support for hclk Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-15 19:50   ` Dmitry Osipenko
2022-02-15 19:50     ` Dmitry Osipenko
2022-02-15 19:50     ` Dmitry Osipenko
2022-02-15 19:50     ` Dmitry Osipenko
2022-02-09  9:53 ` [PATCH v5 11/23] dt-bindings: display: rockchip: dw-hdmi: Add additional clock Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 12/23] drm/rockchip: dw_hdmi: Use auto-generated tables Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09 10:06   ` Heiko Stübner
2022-02-09 10:06     ` Heiko Stübner
2022-02-09 10:06     ` Heiko Stübner
2022-02-09 10:06     ` Heiko Stübner
2022-02-09  9:53 ` [PATCH v5 13/23] drm/rockchip: dw_hdmi: drop mode_valid hook Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 14/23] drm/rockchip: dw_hdmi: Set cur_ctr to 0 always Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 15/23] drm/rockchip: dw_hdmi: add default 594Mhz clk for 4K@60hz Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 16/23] dt-bindings: display: rockchip: dw-hdmi: Make unwedge pinctrl optional Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 17/23] arm64: dts: rockchip: rk356x: Add VOP2 nodes Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 18/23] arm64: dts: rockchip: rk356x: Add HDMI nodes Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 19/23] arm64: dts: rockchip: rk3568-evb: Enable VOP2 and hdmi Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-10  0:10   ` Johan Jonker
2022-02-10  0:10     ` Johan Jonker
2022-02-10  0:10     ` Johan Jonker
2022-02-10  0:10     ` Johan Jonker
2022-02-10 11:47     ` Sascha Hauer
2022-02-10 11:47       ` Sascha Hauer
2022-02-10 11:47       ` Sascha Hauer
2022-02-10 11:47       ` Sascha Hauer
2022-02-10 13:15       ` Johan Jonker
2022-02-10 13:15         ` Johan Jonker
2022-02-10 13:15         ` Johan Jonker
2022-02-10 13:15         ` Johan Jonker
2022-02-10 13:37         ` Sascha Hauer
2022-02-10 13:37           ` Sascha Hauer
2022-02-10 13:37           ` Sascha Hauer
2022-02-10 13:37           ` Sascha Hauer
2022-02-10 13:51           ` Heiko Stübner
2022-02-10 13:51             ` Heiko Stübner
2022-02-10 13:51             ` Heiko Stübner
2022-02-10 13:51             ` Heiko Stübner
2022-02-09  9:53 ` [PATCH v5 20/23] arm64: dts: rockchip: enable vop2 and hdmi tx on quartz64a Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 21/23] drm/rockchip: Make VOP driver optional Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53 ` [PATCH v5 22/23] drm: rockchip: Add VOP2 driver Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09 20:13   ` Aw: " Frank Wunderlich
2022-02-09 20:13     ` Frank Wunderlich
2022-02-09 20:13     ` Frank Wunderlich
2022-02-09 20:13     ` Frank Wunderlich
2022-02-10  6:50   ` Michael Riesch
2022-02-10  6:50     ` Michael Riesch
2022-02-10  6:50     ` Michael Riesch
2022-02-15 19:47   ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-15 19:47   ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-15 19:47   ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-15 19:47     ` Dmitry Osipenko
2022-02-16 10:39   ` Dmitry Osipenko
2022-02-16 10:39     ` Dmitry Osipenko
2022-02-16 10:39     ` Dmitry Osipenko
2022-02-16 10:39     ` Dmitry Osipenko
2022-02-16 11:22     ` Sascha Hauer
2022-02-16 11:22       ` Sascha Hauer
2022-02-16 11:22       ` Sascha Hauer
2022-02-16 11:22       ` Sascha Hauer
2022-02-16 12:23       ` Dmitry Osipenko
2022-02-16 12:23         ` Dmitry Osipenko
2022-02-16 12:23         ` Dmitry Osipenko
2022-02-16 12:23         ` Dmitry Osipenko
2022-02-09  9:53 ` [PATCH v5 23/23] dt-bindings: display: rockchip: Add binding for VOP2 Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09  9:53   ` Sascha Hauer
2022-02-09 18:56   ` Rob Herring
2022-02-09 18:56     ` Rob Herring
2022-02-09 18:56     ` Rob Herring
2022-02-09 18:56     ` Rob Herring
2022-02-09 17:44 ` Aw: [PATCH v5 00/23] drm/rockchip: RK356x VOP2 support Frank Wunderlich
2022-02-09 17:44   ` Frank Wunderlich
2022-02-09 17:44   ` Frank Wunderlich
2022-02-09 17:44   ` Frank Wunderlich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.