Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1532656

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

From Eric Anholt <eric@anholt.net>
Newsgroups linux.kernel
Subject [PATCH 0/6] drm/vc4: VEC (SDTV) output support
Date 2016-11-29 19:50 +0100
Message-ID <sIVDz-3IZ-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

-- 
2.10.2

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH 0/6] drm/vc4: VEC (SDTV) output support Eric Anholt <eric@anholt.net> - 2016-11-29 19:50 +0100
  [PATCH 2/6] drm: Add TV connector states to drm_connector_state Eric Anholt <eric@anholt.net> - 2016-11-29 19:50 +0100
    Re: [PATCH 2/6] drm: Add TV connector states to drm_connector_state Daniel Vetter <daniel@ffwll.ch> - 2016-11-29 21:20 +0100
      Re: [PATCH 2/6] drm: Add TV connector states to drm_connector_state Boris Brezillon <boris.brezillon@free-electrons.com> - 2016-12-01 09:30 +0100
  [PATCH 6/6] ARM: bcm/dt: Enable the VEC IP on all RaspberryPi boards Eric Anholt <eric@anholt.net> - 2016-11-29 19:50 +0100
  [PATCH 3/6] drm/vc4: Add support for the VEC (Video Encoder) IP Eric Anholt <eric@anholt.net> - 2016-11-29 19:50 +0100
  [PATCH 4/6] drm/vc4: Document VEC DT binding Eric Anholt <eric@anholt.net> - 2016-11-29 19:50 +0100

csiph-web