linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/9] Qualcomm video decoder/encoder driver
@ 2016-12-01  9:03 Stanimir Varbanov
  2016-12-01  9:03 ` [PATCH v4 1/9] media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management Stanimir Varbanov
                   ` (8 more replies)
  0 siblings, 9 replies; 21+ messages in thread
From: Stanimir Varbanov @ 2016-12-01  9:03 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Hans Verkuil
  Cc: Andy Gross, Bjorn Andersson, Stephen Boyd, Srinivas Kandagatla,
	linux-media, linux-kernel, linux-arm-msm, Stanimir Varbanov

Hi,

Here is version 4 of the Venus video driver.

The changes since v3 are:
  * the driver now use m2m APIs. In order to make possible to
use m2m I had to extend m2m APIs with few more helper functions
for buffer list manipulations.
  * addressed comments from Hans about buffer done on error path.
  * simplify s_selection in decoder.
  * avoid simple IRQ related wrappers in core.c and use HFI ones directly.
  * added kernel doc description of venus_core|inst structures.
  * replaced list_for_each_entry_safe with list_for_each_entry where
safer variants are not applicable.
  * revisit the locking per instance and come down to one lock per
instance.
  * added help text in the driver Kconfig option.
  * deleted custom venus_ctrl structure which duplicates v4l2_ctrl_config.
  * various cleanups on random places to avoid code duplications and
to reduce the code lines.
  * removed video memory (vmem) DT properties from binding document, this
will need more work.

The previous version can be found at https://lkml.org/lkml/2016/11/7/554

regards,
Stan
  
Stanimir Varbanov (9):
  media: v4l2-mem2mem: extend m2m APIs for more accurate buffer
    management
  doc: DT: venus: binding document for Qualcomm video driver
  MAINTAINERS: Add Qualcomm Venus video accelerator driver
  media: venus: adding core part and helper functions
  media: venus: vdec: add video decoder files
  media: venus: venc: add video encoder files
  media: venus: hfi: add Host Firmware Interface (HFI)
  media: venus: hfi: add Venus HFI files
  media: venus: enable building of Venus video driver

 .../devicetree/bindings/media/qcom,venus.txt       |   82 ++
 MAINTAINERS                                        |    8 +
 drivers/media/platform/Kconfig                     |   13 +
 drivers/media/platform/Makefile                    |    2 +
 drivers/media/platform/qcom/venus/Makefile         |   14 +
 drivers/media/platform/qcom/venus/core.c           |  474 ++++++
 drivers/media/platform/qcom/venus/core.h           |  296 ++++
 drivers/media/platform/qcom/venus/helpers.c        |  621 ++++++++
 drivers/media/platform/qcom/venus/helpers.h        |   41 +
 drivers/media/platform/qcom/venus/hfi.c            |  492 +++++++
 drivers/media/platform/qcom/venus/hfi.h            |  174 +++
 drivers/media/platform/qcom/venus/hfi_cmds.c       | 1256 ++++++++++++++++
 drivers/media/platform/qcom/venus/hfi_cmds.h       |  304 ++++
 drivers/media/platform/qcom/venus/hfi_helper.h     | 1045 ++++++++++++++
 drivers/media/platform/qcom/venus/hfi_msgs.c       | 1054 ++++++++++++++
 drivers/media/platform/qcom/venus/hfi_msgs.h       |  283 ++++
 drivers/media/platform/qcom/venus/hfi_venus.c      | 1508 ++++++++++++++++++++
 drivers/media/platform/qcom/venus/hfi_venus.h      |   23 +
 drivers/media/platform/qcom/venus/hfi_venus_io.h   |   98 ++
 drivers/media/platform/qcom/venus/vdec.c           |  976 +++++++++++++
 drivers/media/platform/qcom/venus/vdec.h           |   32 +
 drivers/media/platform/qcom/venus/vdec_ctrls.c     |  149 ++
 drivers/media/platform/qcom/venus/venc.c           | 1099 ++++++++++++++
 drivers/media/platform/qcom/venus/venc.h           |   32 +
 drivers/media/platform/qcom/venus/venc_ctrls.c     |  258 ++++
 drivers/media/v4l2-core/v4l2-mem2mem.c             |   37 +
 include/media/v4l2-mem2mem.h                       |   83 ++
 27 files changed, 10454 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/media/qcom,venus.txt
 create mode 100644 drivers/media/platform/qcom/venus/Makefile
 create mode 100644 drivers/media/platform/qcom/venus/core.c
 create mode 100644 drivers/media/platform/qcom/venus/core.h
 create mode 100644 drivers/media/platform/qcom/venus/helpers.c
 create mode 100644 drivers/media/platform/qcom/venus/helpers.h
 create mode 100644 drivers/media/platform/qcom/venus/hfi.c
 create mode 100644 drivers/media/platform/qcom/venus/hfi.h
 create mode 100644 drivers/media/platform/qcom/venus/hfi_cmds.c
 create mode 100644 drivers/media/platform/qcom/venus/hfi_cmds.h
 create mode 100644 drivers/media/platform/qcom/venus/hfi_helper.h
 create mode 100644 drivers/media/platform/qcom/venus/hfi_msgs.c
 create mode 100644 drivers/media/platform/qcom/venus/hfi_msgs.h
 create mode 100644 drivers/media/platform/qcom/venus/hfi_venus.c
 create mode 100644 drivers/media/platform/qcom/venus/hfi_venus.h
 create mode 100644 drivers/media/platform/qcom/venus/hfi_venus_io.h
 create mode 100644 drivers/media/platform/qcom/venus/vdec.c
 create mode 100644 drivers/media/platform/qcom/venus/vdec.h
 create mode 100644 drivers/media/platform/qcom/venus/vdec_ctrls.c
 create mode 100644 drivers/media/platform/qcom/venus/venc.c
 create mode 100644 drivers/media/platform/qcom/venus/venc.h
 create mode 100644 drivers/media/platform/qcom/venus/venc_ctrls.c

-- 
2.7.4

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2017-01-10 12:07 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-01  9:03 [PATCH v4 0/9] Qualcomm video decoder/encoder driver Stanimir Varbanov
2016-12-01  9:03 ` [PATCH v4 1/9] media: v4l2-mem2mem: extend m2m APIs for more accurate buffer management Stanimir Varbanov
2016-12-03  0:56   ` kbuild test robot
2016-12-05 11:25   ` Hans Verkuil
2016-12-05 12:26     ` Stanimir Varbanov
2016-12-01  9:03 ` [PATCH v4 2/9] doc: DT: venus: binding document for Qualcomm video driver Stanimir Varbanov
2016-12-06  0:22   ` Rob Herring
2016-12-01  9:03 ` [PATCH v4 3/9] MAINTAINERS: Add Qualcomm Venus video accelerator driver Stanimir Varbanov
2016-12-01  9:03 ` [PATCH v4 4/9] media: venus: adding core part and helper functions Stanimir Varbanov
2016-12-01  9:03 ` [PATCH v4 5/9] media: venus: vdec: add video decoder files Stanimir Varbanov
2016-12-05 11:32   ` Hans Verkuil
2016-12-05 12:25     ` Stanimir Varbanov
2016-12-01  9:03 ` [PATCH v4 6/9] media: venus: venc: add video encoder files Stanimir Varbanov
2016-12-01  9:03 ` [PATCH v4 7/9] media: venus: hfi: add Host Firmware Interface (HFI) Stanimir Varbanov
2016-12-01  9:03 ` [PATCH v4 8/9] media: venus: hfi: add Venus HFI files Stanimir Varbanov
2016-12-05 12:05   ` Hans Verkuil
2016-12-05 12:20     ` Stanimir Varbanov
2017-01-09 13:04       ` Hans Verkuil
2017-01-10 12:07         ` Stanimir Varbanov
2016-12-01  9:03 ` [PATCH v4 9/9] media: venus: enable building of Venus video driver Stanimir Varbanov
2016-12-03  0:07   ` kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).