Received: by 10.223.185.82 with SMTP id b18csp129185wrg; Thu, 8 Mar 2018 21:06:39 -0800 (PST) X-Google-Smtp-Source: AG47ELu4krYifnT4Gq+4iKp9FX8bqhcKuYiSKKMWLnnlYm2AWj+k7i+/KmH90Jf0Od+B9ZoJ+uoK X-Received: by 2002:a17:902:e83:: with SMTP id 3-v6mr26248215plx.158.1520571999243; Thu, 08 Mar 2018 21:06:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520571999; cv=none; d=google.com; s=arc-20160816; b=z2GOhcnEAWn6/zQcAy+OAUhyukT8dvQ8BdrZALzjhBU4upQrT0lDyygIQtF7LnhjHU PamCvlMR0NKHuxWJ9mqpm2pVoTFuSIeifpOqLLSHUuHDdwnSPglJ/N1UAtFcNpi8ouz8 /r3q+rWgEWtbgcRtaAXMOx+gL4K78u9xdsdALAB2aIUebEBsxUrroSi12kPw/MK9enei 1obkp8DCJSwJhwgOx65skcexJ1JSO+YhV78mqFdr3ghBiGSxbo6jg8SZ7SrX9ObFCdxr fC0UBhy0p1yUICZLaPToB/QJDzYcC3iiftux2oNuC3UGSYhoFKHV+kdCVJ7fuhOuoO3I pZpQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=vnAfGkeC38qotsDma1M8wdDBCCJ0E2yO5ad4HYWLI64=; b=x2aTQESwI/REuZHZg1a5n/59I1drM3lM4g7HsN9JsQIk3OHJyuZVN9ADaBh/0jfJM/ uSCuXnQAgScgwH1G5nN2UWHWJJIOxtWj8rE93twQy6/dlvCA9wa19fdWwm9joZuiaFxe TjGq0s91ahcSbRli157iN31+LutQxDna1JNEntAHWU2v6SG4lRO3g41hpsEeQepAuVcS 02nVq/4GaoGQmqkAlnMgOu02mkmZp0cwcGkqH1Xodtk7vxL5jIGhl11bZkz98r26QpDB NZOmYpHIAGACQFtoQFw1E58HHbBh6eyGmeYpGQVk06fCKqJxmCgtVHLoXPgR/J8z+twm Ow7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ntgC8dfo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si191095plr.440.2018.03.08.21.06.24; Thu, 08 Mar 2018 21:06:39 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ntgC8dfo; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751202AbeCIFFc (ORCPT + 99 others); Fri, 9 Mar 2018 00:05:32 -0500 Received: from mail-qt0-f196.google.com ([209.85.216.196]:43202 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750742AbeCIFFa (ORCPT ); Fri, 9 Mar 2018 00:05:30 -0500 Received: by mail-qt0-f196.google.com with SMTP id d26so9449697qtk.10; Thu, 08 Mar 2018 21:05:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=vnAfGkeC38qotsDma1M8wdDBCCJ0E2yO5ad4HYWLI64=; b=ntgC8dfoEb6oBx81OlXFCbFBW3IEdqDJhxATQgH5+KwJOmSA2O+jDz04Gj4TO6oCYK 9pgnwWZC3V695jK36xA0EBLfM8Bgy5Y6AzqAz59ah/c8lG9a00Gv3hkqMAYbSLAsNB1b U1jlngyHeM1ujayl152cz6zRr+/LZMSI97+nyxr2xEq1g8V5KIWSbkVia/xwmj15k6XM npXXRr5CKZ1BIE+3HxhyqyvxIkqk185VeT986faaWJaIEJqoIbukjqo4B9PcUnUmr03j erDPPfi0Su6wzQwLzKU8ZoPOlUeym/52r5UO9puV4sc9WKovDSWQgkt2mMU0VTi7trns abrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=vnAfGkeC38qotsDma1M8wdDBCCJ0E2yO5ad4HYWLI64=; b=Y1OFgMR+1+KXLcMl67lMwek4qGPIJgy8HhqTUL4ysNT0C399effuvGgliuXagAPFcd 6JwwDUUU5lGWJ+y1/pA1aDuiIpDBeZWEwQfizHVi5fDv0uBC7cctxDwOzp6/C2/8kCrQ 7tHwvH+nuFCsSz6YYh+ukthhapT1G8S8Ggwxu3DVLG5Rdw2saTGzG+9zIZIWj6M/aifs oj0llzpA9uAIUDyUn9kHdNZGBzcG3bthddaEJWkaOuLxJ8sjAYE2eeQ3DsX+CKH9K72K 0a3KsMkkyIYhCOqEXtor51mnEwBm/Lgj2nFxpj/V0tTu2EhXaGYgpXB00QD3bH9zvGMT jPFg== X-Gm-Message-State: AElRT7HhGcujmexAMQI5uOujdeRGGGlcMvM8Bmzik5wVhkQLR0HJ0gb7 A3MZlB3EIL/tzLmEVqq6b9N27ETGabFQ6nQ/cTTUMA== X-Received: by 10.200.19.202 with SMTP id i10mr43600079qtj.132.1520571929227; Thu, 08 Mar 2018 21:05:29 -0800 (PST) MIME-Version: 1.0 Received: by 10.140.80.148 with HTTP; Thu, 8 Mar 2018 21:05:28 -0800 (PST) In-Reply-To: <20180309040903.hhkhylvs6q6lvqjy@tarshish> References: <20180308094807.9443-1-jacob-chen@iotwrt.com> <20180308120200.wpcjnbglf4x32vrp@tarshish> <20180309040903.hhkhylvs6q6lvqjy@tarshish> From: Jacob Chen Date: Fri, 9 Mar 2018 13:05:28 +0800 Message-ID: Subject: Re: [PATCH v6 00/17] Rockchip ISP1 Driver To: Baruch Siach Cc: "open list:ARM/Rockchip SoC..." , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mauro Carvalho Chehab , Linux Media Mailing List , Sakari Ailus , Hans Verkuil , Tomasz Figa , Shunqian Zheng , Laurent Pinchart , =?UTF-8?B?6ZKf5Lul5bSH?= , Eddie Cai , Jeffy Chen , devicetree@vger.kernel.org, Heiko Stuebner Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Baruch, 2018-03-09 12:09 GMT+08:00 Baruch Siach : > Hi Jacob, > > On Fri, Mar 09, 2018 at 08:53:57AM +0800, Jacob Chen wrote: >> 2018-03-08 20:02 GMT+08:00 Baruch Siach : >> > 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/r= k3399 >> >> 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 wa= iting >> >> tomasz's patches. >> > >> > Which tree is this series based on? On top of v4.16-rc4 I get the buil= d >> > failure below. The V4L2_BUF_TYPE_META_OUTPUT macro, for example, is no= t even >> > in media_tree.git. >> >> This series is based on v4.16-rc4 with below patch. >> https://patchwork.kernel.org/patch/9792001/ > > This patch does not apply on v4.16-rc4. I also tried v2 of this patch wit= h the > same result: > > https://patchwork.linuxtv.org/patch/44682/ It need resolve merge conflict. > > Can you push your series to a public git repo branch? > Sure, I have push it to my github. https://github.com/wzyy2/linux/tree/4.16-rc4 This commit might be a bit of a mess https://github.com/wzyy2/linux/commit/ff68323c4804adc10f64836ea1be172c54a9d= 6c6 > Thanks, > baruch > >> > drivers/media/platform/rockchip/isp1/isp_params.c:1321:3: error: =E2= =80=98const struct v4l2_ioctl_ops=E2=80=99 has no member named =E2=80=98vid= ioc_enum_fmt_meta_out=E2=80=99; did you mean =E2=80=98vidioc_enum_fmt_meta_= cap=E2=80=99? >> > .vidioc_enum_fmt_meta_out =3D rkisp1_params_enum_fmt_meta_out, >> > ^~~~~~~~~~~~~~~~~~~~~~~~ >> > vidioc_enum_fmt_meta_cap >> > drivers/media/platform/rockchip/isp1/isp_params.c:1321:30: error: init= ialization from incompatible pointer type [-Werror=3Dincompatible-pointer-t= ypes] >> > .vidioc_enum_fmt_meta_out =3D rkisp1_params_enum_fmt_meta_out, >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > drivers/media/platform/rockchip/isp1/isp_params.c:1321:30: note: (near= initialization for =E2=80=98rkisp1_params_ioctl.vidioc_g_std=E2=80=99) >> > drivers/media/platform/rockchip/isp1/isp_params.c:1322:3: error: =E2= =80=98const struct v4l2_ioctl_ops=E2=80=99 has no member named =E2=80=98vid= ioc_g_fmt_meta_out=E2=80=99; did you mean =E2=80=98vidioc_g_fmt_meta_cap=E2= =80=99? >> > .vidioc_g_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, >> > ^~~~~~~~~~~~~~~~~~~~~ >> > vidioc_g_fmt_meta_cap >> > drivers/media/platform/rockchip/isp1/isp_params.c:1322:27: error: init= ialization from incompatible pointer type [-Werror=3Dincompatible-pointer-t= ypes] >> > .vidioc_g_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > drivers/media/platform/rockchip/isp1/isp_params.c:1322:27: note: (near= initialization for =E2=80=98rkisp1_params_ioctl.vidioc_s_std=E2=80=99) >> > drivers/media/platform/rockchip/isp1/isp_params.c:1323:3: error: =E2= =80=98const struct v4l2_ioctl_ops=E2=80=99 has no member named =E2=80=98vid= ioc_s_fmt_meta_out=E2=80=99; did you mean =E2=80=98vidioc_s_fmt_meta_cap=E2= =80=99? >> > .vidioc_s_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, >> > ^~~~~~~~~~~~~~~~~~~~~ >> > vidioc_s_fmt_meta_cap >> > drivers/media/platform/rockchip/isp1/isp_params.c:1323:27: error: init= ialization from incompatible pointer type [-Werror=3Dincompatible-pointer-t= ypes] >> > .vidioc_s_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > drivers/media/platform/rockchip/isp1/isp_params.c:1323:27: note: (near= initialization for =E2=80=98rkisp1_params_ioctl.vidioc_querystd=E2=80=99) >> > drivers/media/platform/rockchip/isp1/isp_params.c:1324:3: error: =E2= =80=98const struct v4l2_ioctl_ops=E2=80=99 has no member named =E2=80=98vid= ioc_try_fmt_meta_out=E2=80=99; did you mean =E2=80=98vidioc_try_fmt_meta_ca= p=E2=80=99? >> > .vidioc_try_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, >> > ^~~~~~~~~~~~~~~~~~~~~~~ >> > vidioc_try_fmt_meta_cap >> > drivers/media/platform/rockchip/isp1/isp_params.c:1324:29: error: init= ialization from incompatible pointer type [-Werror=3Dincompatible-pointer-t= ypes] >> > .vidioc_try_fmt_meta_out =3D rkisp1_params_g_fmt_meta_out, >> > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> > drivers/media/platform/rockchip/isp1/isp_params.c:1324:29: note: (near= initialization for =E2=80=98rkisp1_params_ioctl.vidioc_enum_input=E2=80=99= ) >> > drivers/media/platform/rockchip/isp1/isp_params.c: In function =E2=80= =98rkisp1_params_init_vb2_queue=E2=80=99: >> > drivers/media/platform/rockchip/isp1/isp_params.c:1462:12: error: =E2= =80=98V4L2_BUF_TYPE_META_OUTPUT=E2=80=99 undeclared (first use in this func= tion); did you mean =E2=80=98V4L2_BUF_TYPE_SDR_OUTPUT=E2=80=99? >> > q->type =3D 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 =E2=80= =98rkisp1_register_params_vdev=E2=80=99: >> > drivers/media/platform/rockchip/isp1/isp_params.c:1507:43: error: =E2= =80=98V4L2_CAP_META_OUTPUT=E2=80=99 undeclared (first use in this function)= ; did you mean =E2=80=98V4L2_CAP_VBI_OUTPUT=E2=80=99? >> > vdev->device_caps =3D 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-p= arams.rst >> >> create mode 100644 Documentation/media/uapi/v4l/pixfmt-meta-rkisp1-s= tat.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 > > -- > http://baruch.siach.name/blog/ ~. .~ Tk Open Syst= ems > =3D}------------------------------------------------ooO--U--Ooo----------= --{=3D > - baruch@tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -