Skip to content

Add support rockchip RGB output interface

Heiko Stuebner dri-devel linux-rockchip lkml 1 version Applied

Status from this message: applied to drm-misc-next

Get series with b4
b4 am [email protected]

Versions newest first

  1. v8 Latest3 patches 5 repliesApplied

Patches in v8 Applied

#Subject and filesSizeRepliesApplied
1/3drm/rockchip: add function to check if endpoint is a subdriverdrivers/gpu/drm/rockchip/rockchip_drm_drv.c drivers/gpu/drm/rockchip/rockchip_drm_drv.h+49 -01 reply
2/3drm/rockchip: Add support for Rockchip Soc RGB output interfacedrivers/gpu/drm/rockchip/Kconfig drivers/gpu/drm/rockchip/Makefile drivers/gpu/drm/rockchip/rockchip_drm_vop.c +3 more+222 -03 replies
3/3drm/rockchip: Add directly output rgb feature for px30drivers/gpu/drm/rockchip/rockchip_vop_reg.c+2 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchSean Paul
1/3
2/3R-b
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v8 thread

Cover letter [PATCH v8 0/3] Add support rockchip RGB output interface

This patches add support rockchip RGB output, Some Rockchip CRTCs, like rv1108 and px30 can directly output parallel and serial RGB data to panel or to conversion chip.
So add a feature-bit for vops to mark the ability for these direct outputs and add an internal encoder in that case, that can attach to bridge chips or panels.

Hi Sandy,

while reviewing my own code in patch1, I found that it was missing correct put calls for node and pdev and also made it behave better if no device is present.

While we don't need that right now, it makes it possible to distinguish between subdriver, external bridge or no device later on if needed.

I've also updated the documentation of the function a bit, so that people looking at it can grasp it hopefully easier :-)

And finally I've dropped the Review tag from Mark. He isn't at Rockchip for a while now and the driver did change over time a bit.

So if you have time, please take a final look at it.

Thanks
Heiko

Heiko Stuebner (1):
drm/rockchip: add function to check if endpoint is a subdriver

Sandy Huang (2):
drm/rockchip: Add support for Rockchip Soc RGB output interface drm/rockchip: Add directly output rgb feature for px30

 drivers/gpu/drm/rockchip/Kconfig            |  11 ++
 drivers/gpu/drm/rockchip/Makefile           |   1 +
 drivers/gpu/drm/rockchip/rockchip_drm_drv.c |  48 ++++++
 drivers/gpu/drm/rockchip/rockchip_drm_drv.h |   1 +
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c |  16 ++
 drivers/gpu/drm/rockchip/rockchip_drm_vop.h |   1 +
 drivers/gpu/drm/rockchip/rockchip_rgb.c     | 173 ++++++++++++++++++++
 drivers/gpu/drm/rockchip/rockchip_rgb.h     |  20 +++
 drivers/gpu/drm/rockchip/rockchip_vop_reg.c |   2 +
 9 files changed, 273 insertions(+)
 create mode 100644 drivers/gpu/drm/rockchip/rockchip_rgb.c
 create mode 100644 drivers/gpu/drm/rockchip/rockchip_rgb.h
Signature · 6 lines
2.17.0

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel