Skip to content

drm/vc4: VEC (SDTV) output support

Eric Anholt dri-devel lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6drm/vc4: Fix ->clock_select setting for the VEC encoderdrivers/gpu/drm/vc4/vc4_crtc.c drivers/gpu/drm/vc4/vc4_drv.h drivers/gpu/drm/vc4/vc4_regs.h+26 -160 replies
2/6drm: Add TV connector states to drm_connector_statedrivers/gpu/drm/drm_atomic.c include/drm/drm_connector.h+82 -02 replies
3/6drm/vc4: Add support for the VEC (Video Encoder) IPdrivers/gpu/drm/vc4/Makefile drivers/gpu/drm/vc4/vc4_debugfs.c drivers/gpu/drm/vc4/vc4_drv.c +2 more+665 -00 replies
4/6drm/vc4: Document VEC DT bindingDocumentation/devicetree/bindings/display/brcm,bcm-vc4.txt+14 -00 replies
5/6ARM: bcm/dt: Add VEC node in bcm283x.dtsiarch/arm/boot/dts/bcm283x.dtsi+8 -00 replies
6/6ARM: bcm/dt: Enable the VEC IP on all RaspberryPi boardsarch/arm/boot/dts/bcm2835-rpi.dtsi+5 -00 replies

Reviews trailers per patch

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

PatchDaniel Vetter
1/6
2/6R-b
3/6
4/6
5/6
6/6

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

Read the v1 thread

Cover letter [PATCH 0/6] drm/vc4: VEC (SDTV) output support

Here's a series from Boris for enabling SDTV output on VC4. There are two other patches to the clk subsystem necessary to get it working, which I'm in the process of reviewing.

I've tested it on composite input of a monitor I had laying around, and it's basically working. Booting with the firmware bringing up SDTV, I get an image "fine" (to the extent that SDTV is ever fine). If I boot with firmware bringing up HDMI and switch to VEC later, then the image is gray, but the clock got set to 106Mhz instead of 108 so this is probably not a DRM bug.

This series was entirely written by Boris, but I've got the permission to send it out so it's being routed through me.

Boris Brezillon (6):
drm/vc4: Fix ->clock_select setting for the VEC encoder
drm: Add TV connector states to drm_connector_state drm/vc4: Add support for the VEC (Video Encoder) IP drm/vc4: Document VEC DT binding
ARM: bcm/dt: Add VEC node in bcm283x.dtsi
ARM: bcm/dt: Enable the VEC IP on all RaspberryPi boards

 .../devicetree/bindings/display/brcm,bcm-vc4.txt   |  14 +
 arch/arm/boot/dts/bcm2835-rpi.dtsi                 |   5 +
 arch/arm/boot/dts/bcm283x.dtsi                     |   8 +
 drivers/gpu/drm/drm_atomic.c                       |  50 ++
 drivers/gpu/drm/vc4/Makefile                       |   1 +
 drivers/gpu/drm/vc4/vc4_crtc.c                     |  38 +-
 drivers/gpu/drm/vc4/vc4_debugfs.c                  |   1 +
 drivers/gpu/drm/vc4/vc4_drv.c                      |   1 +
 drivers/gpu/drm/vc4/vc4_drv.h                      |   6 +
 drivers/gpu/drm/vc4/vc4_regs.h                     |   3 +-
 drivers/gpu/drm/vc4/vc4_vec.c                      | 657 +++++++++++++++++++++
 include/drm/drm_connector.h                        |  32 +
 12 files changed, 800 insertions(+), 16 deletions(-)
 create mode 100644 drivers/gpu/drm/vc4/vc4_vec.c
Signature · 6 lines
2.10.2

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