[RESEND PATCH v2 0/7] drm/vc4: VEC (SDTV) output support

2016-12-09 Thread Boris Brezillon
On Fri, 9 Dec 2016 08:22:37 +0100 (CET)
Stefan Wahren  wrote:

> Hi,
> 
> > Boris Brezillon  hat am 2. Dezember 
> > 2016 um 14:48 geschrieben:
> > 
> > 
> > Sorry for the noise, but I forgot to Cc the DT maintainers.
> > 
> > Here is the 2nd version of the VC4/VEC series.
> > 
> > We still miss the two clock patches mentioned by Eric in the first
> > version to make the encoder work no matter the setting applied by the
> > bootloader.  
> 
> are there any advices to test this feature?

Apply these patches [1][2][3][4] in addition to this series, and you
should see the SDTV output when running modetest (this is what I used
to test/debug the driver).

This is the command I use to test the SDTV output in NTSC mode

modetest -s 39:720x480

> 
> Is it possible to use an old Raspberry Pi B (256 MB RAM) for this?

I did most of my test on a RPi-2, but IIRC, Eric tested it on a RPi
(don't know which model).

> 
> Thanks
> 
> Stefan

[1]https://patchwork.kernel.org/patch/9442127/
[2]https://patchwork.kernel.org/patch/9456911/
[3]https://patchwork.kernel.org/patch/9456909/
[4]https://patchwork.kernel.org/patch/9456731/


[RESEND PATCH v2 0/7] drm/vc4: VEC (SDTV) output support

2016-12-09 Thread Stefan Wahren
Hi,

> Boris Brezillon  hat am 2. Dezember 
> 2016 um 14:48 geschrieben:
> 
> 
> Sorry for the noise, but I forgot to Cc the DT maintainers.
> 
> Here is the 2nd version of the VC4/VEC series.
> 
> We still miss the two clock patches mentioned by Eric in the first
> version to make the encoder work no matter the setting applied by the
> bootloader.

are there any advices to test this feature?

Is it possible to use an old Raspberry Pi B (256 MB RAM) for this?

Thanks

Stefan


[RESEND PATCH v2 0/7] drm/vc4: VEC (SDTV) output support

2016-12-02 Thread Eric Anholt
Boris Brezillon  writes:

> Sorry for the noise, but I forgot to Cc the DT maintainers.
>
> Here is the 2nd version of the VC4/VEC series.
>
> We still miss the two clock patches mentioned by Eric in the first
> version to make the encoder work no matter the setting applied by the
> bootloader.

I'm happy with the series and I'm just waiting for the DT ack.
-- next part --
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: 



[RESEND PATCH v2 0/7] drm/vc4: VEC (SDTV) output support

2016-12-02 Thread Boris Brezillon
Sorry for the noise, but I forgot to Cc the DT maintainers.

Here is the 2nd version of the VC4/VEC series.

We still miss the two clock patches mentioned by Eric in the first
version to make the encoder work no matter the setting applied by the
bootloader.

Regards,

Boris

Boris Brezillon (7):
  drm/vc4: Fix ->clock_select setting for the VEC encoder
  drm: Turn DRM_MODE_SUBCONNECTOR_xx definitions into an enum
  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 RaspeberryPi 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 +
 include/uapi/drm/drm_mode.h|  18 +-
 13 files changed, 810 insertions(+), 24 deletions(-)
 create mode 100644 drivers/gpu/drm/vc4/vc4_vec.c

-- 
2.7.4