Received: by 10.223.185.116 with SMTP id b49csp6227655wrg; Thu, 8 Mar 2018 04:04:41 -0800 (PST) X-Google-Smtp-Source: AG47ELtEA1N/1GRiprpV+tyx04orKugv2FoCqc9OfI+UoHC3loELK47G7w7VLeOdynoHxFm9LcKy X-Received: by 2002:a17:902:9349:: with SMTP id g9-v6mr14001906plp.319.1520510681245; Thu, 08 Mar 2018 04:04:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520510681; cv=none; d=google.com; s=arc-20160816; b=Q77c4gqpU4ztv1o5cOyyIabNne2O4SwkIuHog9fRA9OfA0gvCxD/8fngjLmyRTUoG+ KxwNRMIDoemQxvHHmzLvG8CpAaOmhjSQzu0sxhhqm7SwNsO/eiDtcWxNZamM7aL3oBCg LlbQQ48FyMGEPEIVShob/qSWZXc/fEG5htkA6jePsywxdUXvJVCZuVOgZC+sf2C0Y2ti iPS5FuKEDEATu+2R08EkrjxjWldCPwMCegFCyAGDLIPvlJVVrSrAWvl3tgOTxD3aRgtu Hxpo+djEDZRjk3FbKdt1c54f+/cduehWEsn2qTa9oMgOSZD/5DiGFDkVSr5VbN65BPuv FJ+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=EZRKPYc6ifRR3llAXrV8TjIZHiqc5vD1b2+h6X7lMHU=; b=e/NXzIE66SRYMQl24h5V8uwiYhxYiLYvyCk6na/g9plaNEyLPRkOR+M8T+kRYMkAKY 0hcm8MAB3h568oPpVeXcdr+4ZJH9L2LHgv0Yf7rYcT2fVmhTFDaejq31DqrAJoyJzCtv 6525owEdLvmq2G4coBgAaq0NWlmqsw1mDRkbsHInAlJ2+Wxcp2LpgqCb15M7PPO3pl4m tqGdQm7rqoacC3cTSbXYt5ww0EHeyhTzSZsbK+7aFpKjcfKGqYNDVRTonsUqQNLuN6CD FxZddNhALtUsn1dbPAP7vyzvxfdf72ekuaBy6VZ+JO9BhaWpVierA1VEglnEbYrEFPGl VeWw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t18si15755280pfg.246.2018.03.08.04.04.26; Thu, 08 Mar 2018 04:04:41 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755830AbeCHMCH (ORCPT + 99 others); Thu, 8 Mar 2018 07:02:07 -0500 Received: from guitar.tcltek.co.il ([192.115.133.116]:56054 "EHLO mx.tkos.co.il" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755449AbeCHMCF (ORCPT ); Thu, 8 Mar 2018 07:02:05 -0500 Received: from tarshish (unknown [10.0.8.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx.tkos.co.il (Postfix) with ESMTPS id D5ADF44047B; Thu, 8 Mar 2018 14:02:01 +0200 (IST) Date: Thu, 8 Mar 2018 14:02:00 +0200 From: Baruch Siach To: Jacob Chen Cc: linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, mchehab@kernel.org, linux-media@vger.kernel.org, sakari.ailus@linux.intel.com, hans.verkuil@cisco.com, tfiga@chromium.org, zhengsq@rock-chips.com, laurent.pinchart@ideasonboard.com, zyc@rock-chips.com, eddie.cai.linux@gmail.com, jeffy.chen@rock-chips.com, devicetree@vger.kernel.org, heiko@sntech.de, Jacob Chen Subject: Re: [PATCH v6 00/17] Rockchip ISP1 Driver Message-ID: <20180308120200.wpcjnbglf4x32vrp@tarshish> References: <20180308094807.9443-1-jacob-chen@iotwrt.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20180308094807.9443-1-jacob-chen@iotwrt.com> User-Agent: NeoMutt/20171215 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jacob, On Thu, Mar 08, 2018 at 05:47:50PM +0800, Jacob Chen wrote: > This patch series add a ISP(Camera) v4l2 driver for rockchip rk3288/rk3399 > SoC. > > Wiki Pages: > http://opensource.rock-chips.com/wiki_Rockchip-isp1 > > The deprecated g_mbus_config op is not dropped in V6 because i am waiting > tomasz's patches. Which tree is this series based on? On top of v4.16-rc4 I get the build failure below. The V4L2_BUF_TYPE_META_OUTPUT macro, for example, is not even in media_tree.git. drivers/media/platform/rockchip/isp1/isp_params.c:1321:3: error: ‘const struct v4l2_ioctl_ops’ has no member named ‘vidioc_enum_fmt_meta_out’; did you mean ‘vidioc_enum_fmt_meta_cap’? .vidioc_enum_fmt_meta_out = rkisp1_params_enum_fmt_meta_out, ^~~~~~~~~~~~~~~~~~~~~~~~ vidioc_enum_fmt_meta_cap drivers/media/platform/rockchip/isp1/isp_params.c:1321:30: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .vidioc_enum_fmt_meta_out = rkisp1_params_enum_fmt_meta_out, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/rockchip/isp1/isp_params.c:1321:30: note: (near initialization for ‘rkisp1_params_ioctl.vidioc_g_std’) drivers/media/platform/rockchip/isp1/isp_params.c:1322:3: error: ‘const struct v4l2_ioctl_ops’ has no member named ‘vidioc_g_fmt_meta_out’; did you mean ‘vidioc_g_fmt_meta_cap’? .vidioc_g_fmt_meta_out = rkisp1_params_g_fmt_meta_out, ^~~~~~~~~~~~~~~~~~~~~ vidioc_g_fmt_meta_cap drivers/media/platform/rockchip/isp1/isp_params.c:1322:27: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .vidioc_g_fmt_meta_out = rkisp1_params_g_fmt_meta_out, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/rockchip/isp1/isp_params.c:1322:27: note: (near initialization for ‘rkisp1_params_ioctl.vidioc_s_std’) drivers/media/platform/rockchip/isp1/isp_params.c:1323:3: error: ‘const struct v4l2_ioctl_ops’ has no member named ‘vidioc_s_fmt_meta_out’; did you mean ‘vidioc_s_fmt_meta_cap’? .vidioc_s_fmt_meta_out = rkisp1_params_g_fmt_meta_out, ^~~~~~~~~~~~~~~~~~~~~ vidioc_s_fmt_meta_cap drivers/media/platform/rockchip/isp1/isp_params.c:1323:27: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .vidioc_s_fmt_meta_out = rkisp1_params_g_fmt_meta_out, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/rockchip/isp1/isp_params.c:1323:27: note: (near initialization for ‘rkisp1_params_ioctl.vidioc_querystd’) drivers/media/platform/rockchip/isp1/isp_params.c:1324:3: error: ‘const struct v4l2_ioctl_ops’ has no member named ‘vidioc_try_fmt_meta_out’; did you mean ‘vidioc_try_fmt_meta_cap’? .vidioc_try_fmt_meta_out = rkisp1_params_g_fmt_meta_out, ^~~~~~~~~~~~~~~~~~~~~~~ vidioc_try_fmt_meta_cap drivers/media/platform/rockchip/isp1/isp_params.c:1324:29: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .vidioc_try_fmt_meta_out = rkisp1_params_g_fmt_meta_out, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ drivers/media/platform/rockchip/isp1/isp_params.c:1324:29: note: (near initialization for ‘rkisp1_params_ioctl.vidioc_enum_input’) drivers/media/platform/rockchip/isp1/isp_params.c: In function ‘rkisp1_params_init_vb2_queue’: drivers/media/platform/rockchip/isp1/isp_params.c:1462:12: error: ‘V4L2_BUF_TYPE_META_OUTPUT’ undeclared (first use in this function); did you mean ‘V4L2_BUF_TYPE_SDR_OUTPUT’? q->type = V4L2_BUF_TYPE_META_OUTPUT; ^~~~~~~~~~~~~~~~~~~~~~~~~ V4L2_BUF_TYPE_SDR_OUTPUT drivers/media/platform/rockchip/isp1/isp_params.c:1462:12: note: each undeclared identifier is reported only once for each function it appears in CC drivers/media/platform/rockchip/isp1/mipi_dphy_sy.o drivers/media/platform/rockchip/isp1/isp_params.c: In function ‘rkisp1_register_params_vdev’: drivers/media/platform/rockchip/isp1/isp_params.c:1507:43: error: ‘V4L2_CAP_META_OUTPUT’ undeclared (first use in this function); did you mean ‘V4L2_CAP_VBI_OUTPUT’? vdev->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_META_OUTPUT; ^~~~~~~~~~~~~~~~~~~~ V4L2_CAP_VBI_OUTPUT Thanks, baruch > Jacob Chen (12): > media: doc: add document for rkisp1 meta buffer format > media: rkisp1: add Rockchip MIPI Synopsys DPHY driver > media: rkisp1: add Rockchip ISP1 subdev driver > media: rkisp1: add ISP1 statistics driver > media: rkisp1: add ISP1 params driver > media: rkisp1: add capture device driver > media: rkisp1: add rockchip isp1 core driver > dt-bindings: Document the Rockchip ISP1 bindings > dt-bindings: Document the Rockchip MIPI RX D-PHY bindings > ARM: dts: rockchip: add isp node for rk3288 > ARM: dts: rockchip: add rx0 mipi-phy for rk3288 > MAINTAINERS: add entry for Rockchip ISP1 driver > > Jeffy Chen (1): > media: rkisp1: Add user space ABI definitions > > Shunqian Zheng (3): > media: videodev2.h, v4l2-ioctl: add rkisp1 meta buffer format > arm64: dts: rockchip: add isp0 node for rk3399 > arm64: dts: rockchip: add rx0 mipi-phy for rk3399 > > Wen Nuan (1): > ARM: dts: rockchip: Add dts mipi-dphy TXRX1 node for rk3288 > > .../devicetree/bindings/media/rockchip-isp1.txt | 69 + > .../bindings/media/rockchip-mipi-dphy.txt | 90 + > Documentation/media/uapi/v4l/meta-formats.rst | 2 + > .../media/uapi/v4l/pixfmt-meta-rkisp1-params.rst | 20 + > .../media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst | 18 + > MAINTAINERS | 10 + > arch/arm/boot/dts/rk3288.dtsi | 33 + > arch/arm64/boot/dts/rockchip/rk3399.dtsi | 25 + > drivers/media/platform/Kconfig | 10 + > drivers/media/platform/Makefile | 1 + > drivers/media/platform/rockchip/isp1/Makefile | 8 + > drivers/media/platform/rockchip/isp1/capture.c | 1751 ++++++++++++++++++++ > drivers/media/platform/rockchip/isp1/capture.h | 167 ++ > drivers/media/platform/rockchip/isp1/common.h | 110 ++ > drivers/media/platform/rockchip/isp1/dev.c | 626 +++++++ > drivers/media/platform/rockchip/isp1/dev.h | 93 ++ > drivers/media/platform/rockchip/isp1/isp_params.c | 1539 +++++++++++++++++ > drivers/media/platform/rockchip/isp1/isp_params.h | 49 + > drivers/media/platform/rockchip/isp1/isp_stats.c | 508 ++++++ > drivers/media/platform/rockchip/isp1/isp_stats.h | 58 + > .../media/platform/rockchip/isp1/mipi_dphy_sy.c | 868 ++++++++++ > .../media/platform/rockchip/isp1/mipi_dphy_sy.h | 15 + > drivers/media/platform/rockchip/isp1/regs.c | 239 +++ > drivers/media/platform/rockchip/isp1/regs.h | 1550 +++++++++++++++++ > drivers/media/platform/rockchip/isp1/rkisp1.c | 1177 +++++++++++++ > drivers/media/platform/rockchip/isp1/rkisp1.h | 105 ++ > drivers/media/v4l2-core/v4l2-ioctl.c | 2 + > include/uapi/linux/rkisp1-config.h | 798 +++++++++ > include/uapi/linux/videodev2.h | 4 + > 29 files changed, 9945 insertions(+) > create mode 100644 Documentation/devicetree/bindings/media/rockchip-isp1.txt > create mode 100644 Documentation/devicetree/bindings/media/rockchip-mipi-dphy.txt > create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-params.rst > create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-stat.rst > create mode 100644 drivers/media/platform/rockchip/isp1/Makefile > create mode 100644 drivers/media/platform/rockchip/isp1/capture.c > create mode 100644 drivers/media/platform/rockchip/isp1/capture.h > create mode 100644 drivers/media/platform/rockchip/isp1/common.h > create mode 100644 drivers/media/platform/rockchip/isp1/dev.c > create mode 100644 drivers/media/platform/rockchip/isp1/dev.h > create mode 100644 drivers/media/platform/rockchip/isp1/isp_params.c > create mode 100644 drivers/media/platform/rockchip/isp1/isp_params.h > create mode 100644 drivers/media/platform/rockchip/isp1/isp_stats.c > create mode 100644 drivers/media/platform/rockchip/isp1/isp_stats.h > create mode 100644 drivers/media/platform/rockchip/isp1/mipi_dphy_sy.c > create mode 100644 drivers/media/platform/rockchip/isp1/mipi_dphy_sy.h > create mode 100644 drivers/media/platform/rockchip/isp1/regs.c > create mode 100644 drivers/media/platform/rockchip/isp1/regs.h > create mode 100644 drivers/media/platform/rockchip/isp1/rkisp1.c > create mode 100644 drivers/media/platform/rockchip/isp1/rkisp1.h > create mode 100644 include/uapi/linux/rkisp1-config.h > > -- > 2.16.1 > -- http://baruch.siach.name/blog/ ~. .~ Tk Open Systems =}------------------------------------------------ooO--U--Ooo------------{= - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -