[PATCH v2 0/4] Add Rockchip VP8 Video Decoder Driver

Jung Zhao jung.zhao at rock-chips.com
Wed Feb 17 02:41:13 PST 2016


The purpose of this series is to add Rockchip VPU driver for
hw video codec in Rockchip's RK3229 and RK3288 SOCs. Rockchip
Video VPU Driver is able to handle video decoding of in a
range of formats(Now only support VP8, and more formats will
be supported in future).

The VPU driver depends on Request API[1] and RK IOMMU[2].

[1]http://www.spinics.net/lists/linux-media/msg95733.html
[2]http://www.gossamer-threads.com/lists/linux/kernel/2347458

Since VP8 headers and controls for the V4L2 API and framework
and the changes to videobuf2 were authored and written by
Pawel Osciak <posciak at chromium.org> and Tomasz Figa <tfiga at chromium.org>.
These parts are 'NOT FOR REVIEW' and will be submitted by
themselves. But these patches are very important for Rockchip VPU
Driver, I cherrypick them from Chromium OS Tree[3] and use
for reference here.

[3]https://chromium.googlesource.com/chromiumos/third_party/kernel


Changes in v2:
- add [NOT FOR REVIEW] tag for patches from Chromium OS Tree(Tomasz)
- update copyright message
- list all the related signed-off names
- make commit message more readable(Enric)
- fix format error of commit message(Tomasz)

Jung Zhao (1):
  media: vcodec: rockchip: Add Rockchip VP8 decoder driver

Pawel Osciak (2):
  [NOT FOR REVIEW] v4l: Add private compound control type.
  [NOT FOR REVIEW] v4l: Add VP8 low-level decoder API controls.

Tomasz Figa (1):
  [NOT FOR REVIEW] videobuf2-dc: Let drivers specify DMA attrs

 drivers/media/platform/Kconfig                     |   11 +
 drivers/media/platform/Makefile                    |    1 +
 drivers/media/platform/rockchip-vpu/Makefile       |    7 +
 .../media/platform/rockchip-vpu/rkvpu_hw_vp8d.c    |  798 ++++++++++
 .../platform/rockchip-vpu/rockchip_vp8d_regs.h     | 1594 ++++++++++++++++++++
 drivers/media/platform/rockchip-vpu/rockchip_vpu.c |  803 ++++++++++
 .../platform/rockchip-vpu/rockchip_vpu_common.h    |  439 ++++++
 .../media/platform/rockchip-vpu/rockchip_vpu_dec.c | 1007 +++++++++++++
 .../media/platform/rockchip-vpu/rockchip_vpu_dec.h |   33 +
 .../media/platform/rockchip-vpu/rockchip_vpu_hw.c  |  295 ++++
 .../media/platform/rockchip-vpu/rockchip_vpu_hw.h  |  100 ++
 drivers/media/v4l2-core/v4l2-ctrls.c               |   13 +
 drivers/media/v4l2-core/v4l2-ioctl.c               |    1 +
 drivers/media/v4l2-core/videobuf2-dma-contig.c     |   33 +-
 include/media/v4l2-ctrls.h                         |    2 +
 include/media/videobuf2-dma-contig.h               |   11 +-
 include/uapi/linux/v4l2-controls.h                 |   94 ++
 include/uapi/linux/videodev2.h                     |    5 +
 18 files changed, 5235 insertions(+), 12 deletions(-)
 create mode 100644 drivers/media/platform/rockchip-vpu/Makefile
 create mode 100644 drivers/media/platform/rockchip-vpu/rkvpu_hw_vp8d.c
 create mode 100644 drivers/media/platform/rockchip-vpu/rockchip_vp8d_regs.h
 create mode 100644 drivers/media/platform/rockchip-vpu/rockchip_vpu.c
 create mode 100644 drivers/media/platform/rockchip-vpu/rockchip_vpu_common.h
 create mode 100644 drivers/media/platform/rockchip-vpu/rockchip_vpu_dec.c
 create mode 100644 drivers/media/platform/rockchip-vpu/rockchip_vpu_dec.h
 create mode 100644 drivers/media/platform/rockchip-vpu/rockchip_vpu_hw.c
 create mode 100644 drivers/media/platform/rockchip-vpu/rockchip_vpu_hw.h

-- 
1.9.1




More information about the Linux-rockchip mailing list