[RFC 0/3] vsp1 writeback prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series presents an initial version of a write back video node for the VSP
DRM pipeline, utilising the existing vsp1_video base where possible.

The current version limits the output of the video node to match the frames
presented by updates from the CRTC atomic flush events. Matching the output rate
against the vsync/display rate has proven more difficult and I wanted to get
this out for review early.

This series is based on renesas-drivers-2016-10-25-v4.9-rc2, and has been
tested on a Salvator-H3. An updated/recent firmware is essential on this target
otherwise WPF underruns will occur.

This output can be tested with kmstest to generate frames and yavta to capture:

Terminal 1:
 # kmstest --flip --sync

Terminal 2:
 # yavta -c60 -n8 -f RGB24 -s1024x768 \
	--file=frame-rgb24-1024x768-#.bin /dev/$VIDEO

$VIDEO must be determined for your platform and represents the WPF Video node
from the VSP-D. On Salvator-H3, on renesas-drivers-2016-10-25-v4.9-rc2 this is
active at /dev/video28

Kieran Bingham (3):
  Revert "[media] v4l: vsp1: Supply frames to the DU continuously"
  v4l: vsp1: allow entities to have multiple source pads
  v4l: vsp1: Provide a writeback video device

 drivers/media/platform/vsp1/vsp1.h        |   1 +
 drivers/media/platform/vsp1/vsp1_bru.c    |   2 +-
 drivers/media/platform/vsp1/vsp1_clu.c    |   2 +-
 drivers/media/platform/vsp1/vsp1_drm.c    |  20 ++++
 drivers/media/platform/vsp1/vsp1_drv.c    |   5 +-
 drivers/media/platform/vsp1/vsp1_entity.c |  15 +--
 drivers/media/platform/vsp1/vsp1_entity.h |   3 +-
 drivers/media/platform/vsp1/vsp1_histo.c  |   2 +-
 drivers/media/platform/vsp1/vsp1_hsit.c   |   2 +-
 drivers/media/platform/vsp1/vsp1_lif.c    |   2 +-
 drivers/media/platform/vsp1/vsp1_lut.c    |   2 +-
 drivers/media/platform/vsp1/vsp1_rpf.c    |   2 +-
 drivers/media/platform/vsp1/vsp1_rwpf.c   |  15 ++-
 drivers/media/platform/vsp1/vsp1_rwpf.h   |   2 +
 drivers/media/platform/vsp1/vsp1_sru.c    |   2 +-
 drivers/media/platform/vsp1/vsp1_uds.c    |   2 +-
 drivers/media/platform/vsp1/vsp1_video.c  | 172 +++++++++++++++++++++++++++---
 drivers/media/platform/vsp1/vsp1_video.h  |   5 +
 drivers/media/platform/vsp1/vsp1_wpf.c    |  23 +++-
 19 files changed, 238 insertions(+), 41 deletions(-)

-- 
2.7.4




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux