Hi Mauro, Second attempt to add the venus driver. Regards, Hans The following changes since commit acec3630155763c170c7ae6508cf973355464508: [media] s3c-camif: fix arguments position in a function call (2017-06-13 14:21:24 -0300) are available in the git repository at: git://linuxtv.org/hverkuil/media_tree.git venus for you to fetch changes up to 3bf1c3aacb172db8fcbd25c62b042fc265c5a494: media: venus: enable building with COMPILE_TEST (2017-06-16 09:59:36 +0200) ---------------------------------------------------------------- Stanimir Varbanov (19): 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 media: venus: hfi: fix mutex unlock media: venus: hfi_cmds: fix variable dereferenced before check media: venus: helpers: fix variable dereferenced before check media: venus: hfi_venus: fix variable dereferenced before check media: venus: hfi_msgs: fix set but not used variables media: venus: vdec: fix compile error in vdec_close media: venus: venc: fix compile error in venc_close media: venus: vdec: add support for min buffers for capture media: venus: update firmware path with linux-firmware place media: venus: enable building with COMPILE_TEST Documentation/devicetree/bindings/media/qcom,venus.txt | 107 +++ MAINTAINERS | 8 + drivers/media/platform/Kconfig | 13 + drivers/media/platform/Makefile | 2 + drivers/media/platform/qcom/venus/Makefile | 11 + drivers/media/platform/qcom/venus/core.c | 390 +++++++++++ drivers/media/platform/qcom/venus/core.h | 324 +++++++++ drivers/media/platform/qcom/venus/firmware.c | 108 +++ drivers/media/platform/qcom/venus/firmware.h | 23 + drivers/media/platform/qcom/venus/helpers.c | 725 ++++++++++++++++++++ drivers/media/platform/qcom/venus/helpers.h | 45 ++ drivers/media/platform/qcom/venus/hfi.c | 522 +++++++++++++++ drivers/media/platform/qcom/venus/hfi.h | 175 +++++ drivers/media/platform/qcom/venus/hfi_cmds.c | 1259 +++++++++++++++++++++++++++++++++++ drivers/media/platform/qcom/venus/hfi_cmds.h | 304 +++++++++ drivers/media/platform/qcom/venus/hfi_helper.h | 1050 +++++++++++++++++++++++++++++ drivers/media/platform/qcom/venus/hfi_msgs.c | 1052 +++++++++++++++++++++++++++++ drivers/media/platform/qcom/venus/hfi_msgs.h | 283 ++++++++ drivers/media/platform/qcom/venus/hfi_venus.c | 1572 ++++++++++++++++++++++++++++++++++++++++++++ drivers/media/platform/qcom/venus/hfi_venus.h | 23 + drivers/media/platform/qcom/venus/hfi_venus_io.h | 113 ++++ drivers/media/platform/qcom/venus/vdec.c | 1162 ++++++++++++++++++++++++++++++++ drivers/media/platform/qcom/venus/vdec.h | 23 + drivers/media/platform/qcom/venus/vdec_ctrls.c | 158 +++++ drivers/media/platform/qcom/venus/venc.c | 1283 ++++++++++++++++++++++++++++++++++++ drivers/media/platform/qcom/venus/venc.h | 23 + drivers/media/platform/qcom/venus/venc_ctrls.c | 270 ++++++++ drivers/media/v4l2-core/v4l2-mem2mem.c | 37 ++ include/media/v4l2-mem2mem.h | 92 +++ 29 files changed, 11157 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/firmware.c create mode 100644 drivers/media/platform/qcom/venus/firmware.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