From patchwork Mon Dec 10 21:08:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sakari Ailus X-Patchwork-Id: 10722529 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 57AD215A6 for ; Mon, 10 Dec 2018 21:08:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 44CD82A799 for ; Mon, 10 Dec 2018 21:08:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 37B1C2A987; Mon, 10 Dec 2018 21:08:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A90242A799 for ; Mon, 10 Dec 2018 21:08:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727778AbeLJVIt (ORCPT ); Mon, 10 Dec 2018 16:08:49 -0500 Received: from nblzone-211-213.nblnetworks.fi ([83.145.211.213]:59340 "EHLO hillosipuli.retiisi.org.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727143AbeLJVIt (ORCPT ); Mon, 10 Dec 2018 16:08:49 -0500 Received: from valkosipuli.localdomain (valkosipuli.retiisi.org.uk [IPv6:2001:1bc8:1a6:d3d5::80:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hillosipuli.retiisi.org.uk (Postfix) with ESMTPS id 4055E634C7F for ; Mon, 10 Dec 2018 23:08:43 +0200 (EET) Received: from sailus by valkosipuli.localdomain with local (Exim 4.89) (envelope-from ) id 1gWSnD-0000M3-8y for linux-media@vger.kernel.org; Mon, 10 Dec 2018 23:08:43 +0200 Date: Mon, 10 Dec 2018 23:08:43 +0200 From: sakari.ailus@iki.fi To: linux-media@vger.kernel.org Subject: [GIT PULL for 4.20] META_OUTPUT buffer type and the ipu3 staging driver Message-ID: <20181210210843.wsh5y2l6g5f462cz@valkosipuli.retiisi.org.uk> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Mauro, Here's the ipu3 staging driver plus the META_OUTPUT buffer type needed to pass the parameters for the device. If you think this there's still time to get this to 4.20, then please pull. The non-staging patches have been around for more than half a year and they're relatively simple. I'll soon post the refreshed patches for v4l2-compliance. The following changes since commit e159b6074c82fe31b79aad672e02fa204dbbc6d8: media: vimc: fix start stream when link is disabled (2018-12-07 13:08:41 -0500) are available in the git repository at: ssh://linuxtv.org/git/sailus/media_tree.git tags/ipu3-v8-4.20-1-sign for you to fetch changes up to c3dbe400969918d7f694af6b29beebdbbc3b7d92: ipu3-imgu: Fix compiler warnings (2018-12-10 14:21:29 +0200) ---------------------------------------------------------------- ipu3 staging driver for 4.20 ---------------------------------------------------------------- Cao,Bing Bu (1): media: staging/intel-ipu3: Add dual pipe support Sakari Ailus (3): v4l: Add support for V4L2_BUF_TYPE_META_OUTPUT docs-rst: v4l: Document V4L2_BUF_TYPE_META_OUTPUT interface ipu3-imgu: Fix compiler warnings Tomasz Figa (2): media: staging/intel-ipu3: mmu: Implement driver media: staging/intel-ipu3: Implement DMA mapping functions Yong Zhi (11): media: staging/intel-ipu3: abi: Add register definitions and enum media: staging/intel-ipu3: abi: Add structs media: staging/intel-ipu3: css: Add dma buff pool utility functions media: staging/intel-ipu3: css: Add support for firmware management media: staging/intel-ipu3: css: Add static settings for image pipeline media: staging/intel-ipu3: css: Compute and program ccs media: staging/intel-ipu3: css: Initialize css hardware media: staging/intel-ipu3: Add css pipeline programming media: staging/intel-ipu3: Add v4l2 driver based on media framework media: staging/intel-ipu3: Add imgu top level pci device driver media: staging/intel-ipu3: Add Intel IPU3 meta data uAPI Documentation/media/uapi/v4l/buffer.rst | 3 + Documentation/media/uapi/v4l/dev-meta.rst | 33 +- Documentation/media/uapi/v4l/vidioc-querycap.rst | 3 + Documentation/media/videodev2.h.rst.exceptions | 2 + drivers/media/common/videobuf2/videobuf2-v4l2.c | 1 + drivers/media/v4l2-core/v4l2-compat-ioctl32.c | 2 + drivers/media/v4l2-core/v4l2-dev.c | 12 +- drivers/media/v4l2-core/v4l2-ioctl.c | 23 + drivers/staging/media/Kconfig | 2 + drivers/staging/media/Makefile | 1 + drivers/staging/media/ipu3/Kconfig | 14 + drivers/staging/media/ipu3/Makefile | 11 + drivers/staging/media/ipu3/TODO | 23 + drivers/staging/media/ipu3/include/intel-ipu3.h | 2785 +++++++ drivers/staging/media/ipu3/ipu3-abi.h | 2011 +++++ drivers/staging/media/ipu3/ipu3-css-fw.c | 265 + drivers/staging/media/ipu3/ipu3-css-fw.h | 188 + drivers/staging/media/ipu3/ipu3-css-params.c | 2943 +++++++ drivers/staging/media/ipu3/ipu3-css-params.h | 28 + drivers/staging/media/ipu3/ipu3-css-pool.c | 100 + drivers/staging/media/ipu3/ipu3-css-pool.h | 55 + drivers/staging/media/ipu3/ipu3-css.c | 2391 ++++++ drivers/staging/media/ipu3/ipu3-css.h | 213 + drivers/staging/media/ipu3/ipu3-dmamap.c | 270 + drivers/staging/media/ipu3/ipu3-dmamap.h | 22 + drivers/staging/media/ipu3/ipu3-mmu.c | 561 ++ drivers/staging/media/ipu3/ipu3-mmu.h | 35 + drivers/staging/media/ipu3/ipu3-tables.c | 9609 ++++++++++++++++++++++ drivers/staging/media/ipu3/ipu3-tables.h | 66 + drivers/staging/media/ipu3/ipu3-v4l2.c | 1419 ++++ drivers/staging/media/ipu3/ipu3.c | 830 ++ drivers/staging/media/ipu3/ipu3.h | 168 + include/media/v4l2-ioctl.h | 17 + include/uapi/linux/videodev2.h | 2 + 34 files changed, 24091 insertions(+), 17 deletions(-) create mode 100644 drivers/staging/media/ipu3/Kconfig create mode 100644 drivers/staging/media/ipu3/Makefile create mode 100644 drivers/staging/media/ipu3/TODO create mode 100644 drivers/staging/media/ipu3/include/intel-ipu3.h create mode 100644 drivers/staging/media/ipu3/ipu3-abi.h create mode 100644 drivers/staging/media/ipu3/ipu3-css-fw.c create mode 100644 drivers/staging/media/ipu3/ipu3-css-fw.h create mode 100644 drivers/staging/media/ipu3/ipu3-css-params.c create mode 100644 drivers/staging/media/ipu3/ipu3-css-params.h create mode 100644 drivers/staging/media/ipu3/ipu3-css-pool.c create mode 100644 drivers/staging/media/ipu3/ipu3-css-pool.h create mode 100644 drivers/staging/media/ipu3/ipu3-css.c create mode 100644 drivers/staging/media/ipu3/ipu3-css.h create mode 100644 drivers/staging/media/ipu3/ipu3-dmamap.c create mode 100644 drivers/staging/media/ipu3/ipu3-dmamap.h create mode 100644 drivers/staging/media/ipu3/ipu3-mmu.c create mode 100644 drivers/staging/media/ipu3/ipu3-mmu.h create mode 100644 drivers/staging/media/ipu3/ipu3-tables.c create mode 100644 drivers/staging/media/ipu3/ipu3-tables.h create mode 100644 drivers/staging/media/ipu3/ipu3-v4l2.c create mode 100644 drivers/staging/media/ipu3/ipu3.c create mode 100644 drivers/staging/media/ipu3/ipu3.h