Message ID | 1497883719-12410-11-git-send-email-todor.tomov@linaro.org (mailing list archive) |
---|---|
State | Not Applicable, archived |
Delegated to: | Andy Gross |
Headers | show |
Hi Todor, [auto build test ERROR on linuxtv-media/master] [also build test ERROR on v4.12-rc6 next-20170620] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Todor-Tomov/Qualcomm-8x16-Camera-Subsystem-driver/20170620-132806 base: git://linuxtv.org/media_tree.git master config: ia64-allmodconfig (attached as .config) compiler: ia64-linux-gcc (GCC) 6.2.0 reproduce: wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=ia64 All errors (new ones prefixed by >>): >> drivers/media/platform/qcom/camss-8x16/video.c:53:32: error: 'V4L2_PIX_FMT_SRGGB12P' undeclared here (not in a function) { MEDIA_BUS_FMT_SBGGR12_1X12, V4L2_PIX_FMT_SRGGB12P, 12 }, ^~~~~~~~~~~~~~~~~~~~~ >> drivers/media/platform/qcom/camss-8x16/video.c:54:32: error: 'V4L2_PIX_FMT_SGBRG12P' undeclared here (not in a function) { MEDIA_BUS_FMT_SGBRG12_1X12, V4L2_PIX_FMT_SGBRG12P, 12 }, ^~~~~~~~~~~~~~~~~~~~~ >> drivers/media/platform/qcom/camss-8x16/video.c:55:32: error: 'V4L2_PIX_FMT_SGRBG12P' undeclared here (not in a function) { MEDIA_BUS_FMT_SGRBG12_1X12, V4L2_PIX_FMT_SGRBG12P, 12 }, ^~~~~~~~~~~~~~~~~~~~~ vim +/V4L2_PIX_FMT_SRGGB12P +53 drivers/media/platform/qcom/camss-8x16/video.c 58991044 Todor Tomov 2017-06-19 47 { MEDIA_BUS_FMT_SGRBG8_1X8, V4L2_PIX_FMT_SGRBG8, 8 }, 58991044 Todor Tomov 2017-06-19 48 { MEDIA_BUS_FMT_SRGGB8_1X8, V4L2_PIX_FMT_SRGGB8, 8 }, 58991044 Todor Tomov 2017-06-19 49 { MEDIA_BUS_FMT_SBGGR10_1X10, V4L2_PIX_FMT_SBGGR10P, 10 }, 58991044 Todor Tomov 2017-06-19 50 { MEDIA_BUS_FMT_SGBRG10_1X10, V4L2_PIX_FMT_SGBRG10P, 10 }, 58991044 Todor Tomov 2017-06-19 51 { MEDIA_BUS_FMT_SGRBG10_1X10, V4L2_PIX_FMT_SGRBG10P, 10 }, 58991044 Todor Tomov 2017-06-19 52 { MEDIA_BUS_FMT_SRGGB10_1X10, V4L2_PIX_FMT_SRGGB10P, 10 }, 58991044 Todor Tomov 2017-06-19 @53 { MEDIA_BUS_FMT_SBGGR12_1X12, V4L2_PIX_FMT_SRGGB12P, 12 }, 58991044 Todor Tomov 2017-06-19 @54 { MEDIA_BUS_FMT_SGBRG12_1X12, V4L2_PIX_FMT_SGBRG12P, 12 }, 58991044 Todor Tomov 2017-06-19 @55 { MEDIA_BUS_FMT_SGRBG12_1X12, V4L2_PIX_FMT_SGRBG12P, 12 }, 58991044 Todor Tomov 2017-06-19 56 { MEDIA_BUS_FMT_SRGGB12_1X12, V4L2_PIX_FMT_SRGGB12P, 12 } 58991044 Todor Tomov 2017-06-19 57 }; 58991044 Todor Tomov 2017-06-19 58 :::::: The code at line 53 was first introduced by commit :::::: 589910444c8d657c5d9992f6ebf1c0bf5a75e68a media: camss: Add files which handle the video device nodes :::::: TO: Todor Tomov <todor.tomov@linaro.org> :::::: CC: 0day robot <fengguang.wu@intel.com> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Hi, (for everyone's information:) This error is caused by a missing patch [1] which is needed by this patchset. The relevant patch has been reviewed and accepted but merging was delayed until there is a driver actually using the formats which the patch adds. I'll include the relevant patch in my next version of the patchset so we will avoid this error next time. [1] https://git.linuxtv.org/sailus/media_tree.git/commit/?h=packed12-postponed&id=549c02da6eed8dc4566632a9af9233bf99ba99d8 Best regards, Todor On 06/20/2017 01:30 PM, kbuild test robot wrote: > Hi Todor, > > [auto build test ERROR on linuxtv-media/master] > [also build test ERROR on v4.12-rc6 next-20170620] > [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] > > url: https://github.com/0day-ci/linux/commits/Todor-Tomov/Qualcomm-8x16-Camera-Subsystem-driver/20170620-132806 > base: git://linuxtv.org/media_tree.git master > config: ia64-allmodconfig (attached as .config) > compiler: ia64-linux-gcc (GCC) 6.2.0 > reproduce: > wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=ia64 > > All errors (new ones prefixed by >>): > >>> drivers/media/platform/qcom/camss-8x16/video.c:53:32: error: 'V4L2_PIX_FMT_SRGGB12P' undeclared here (not in a function) > { MEDIA_BUS_FMT_SBGGR12_1X12, V4L2_PIX_FMT_SRGGB12P, 12 }, > ^~~~~~~~~~~~~~~~~~~~~ >>> drivers/media/platform/qcom/camss-8x16/video.c:54:32: error: 'V4L2_PIX_FMT_SGBRG12P' undeclared here (not in a function) > { MEDIA_BUS_FMT_SGBRG12_1X12, V4L2_PIX_FMT_SGBRG12P, 12 }, > ^~~~~~~~~~~~~~~~~~~~~ >>> drivers/media/platform/qcom/camss-8x16/video.c:55:32: error: 'V4L2_PIX_FMT_SGRBG12P' undeclared here (not in a function) > { MEDIA_BUS_FMT_SGRBG12_1X12, V4L2_PIX_FMT_SGRBG12P, 12 }, > ^~~~~~~~~~~~~~~~~~~~~ > > vim +/V4L2_PIX_FMT_SRGGB12P +53 drivers/media/platform/qcom/camss-8x16/video.c > > 58991044 Todor Tomov 2017-06-19 47 { MEDIA_BUS_FMT_SGRBG8_1X8, V4L2_PIX_FMT_SGRBG8, 8 }, > 58991044 Todor Tomov 2017-06-19 48 { MEDIA_BUS_FMT_SRGGB8_1X8, V4L2_PIX_FMT_SRGGB8, 8 }, > 58991044 Todor Tomov 2017-06-19 49 { MEDIA_BUS_FMT_SBGGR10_1X10, V4L2_PIX_FMT_SBGGR10P, 10 }, > 58991044 Todor Tomov 2017-06-19 50 { MEDIA_BUS_FMT_SGBRG10_1X10, V4L2_PIX_FMT_SGBRG10P, 10 }, > 58991044 Todor Tomov 2017-06-19 51 { MEDIA_BUS_FMT_SGRBG10_1X10, V4L2_PIX_FMT_SGRBG10P, 10 }, > 58991044 Todor Tomov 2017-06-19 52 { MEDIA_BUS_FMT_SRGGB10_1X10, V4L2_PIX_FMT_SRGGB10P, 10 }, > 58991044 Todor Tomov 2017-06-19 @53 { MEDIA_BUS_FMT_SBGGR12_1X12, V4L2_PIX_FMT_SRGGB12P, 12 }, > 58991044 Todor Tomov 2017-06-19 @54 { MEDIA_BUS_FMT_SGBRG12_1X12, V4L2_PIX_FMT_SGBRG12P, 12 }, > 58991044 Todor Tomov 2017-06-19 @55 { MEDIA_BUS_FMT_SGRBG12_1X12, V4L2_PIX_FMT_SGRBG12P, 12 }, > 58991044 Todor Tomov 2017-06-19 56 { MEDIA_BUS_FMT_SRGGB12_1X12, V4L2_PIX_FMT_SRGGB12P, 12 } > 58991044 Todor Tomov 2017-06-19 57 }; > 58991044 Todor Tomov 2017-06-19 58 > > :::::: The code at line 53 was first introduced by commit > :::::: 589910444c8d657c5d9992f6ebf1c0bf5a75e68a media: camss: Add files which handle the video device nodes > > :::::: TO: Todor Tomov <todor.tomov@linaro.org> > :::::: CC: 0day robot <fengguang.wu@intel.com> > > --- > 0-DAY kernel test infrastructure Open Source Technology Center > https://lists.01.org/pipermail/kbuild-all Intel Corporation >
diff --git a/drivers/media/platform/Kconfig b/drivers/media/platform/Kconfig index 041cb80..cf69c41 100644 --- a/drivers/media/platform/Kconfig +++ b/drivers/media/platform/Kconfig @@ -100,6 +100,12 @@ config VIDEO_PXA27x ---help--- This is a v4l2 driver for the PXA27x Quick Capture Interface +config VIDEO_QCOM_CAMSS + tristate "Qualcomm 8x16 V4L2 Camera Subsystem driver" + depends on VIDEO_V4L2 && VIDEO_V4L2_SUBDEV_API + depends on (ARCH_QCOM && IOMMU_DMA) || COMPILE_TEST + select VIDEOBUF2_DMA_SG + config VIDEO_S3C_CAMIF tristate "Samsung S3C24XX/S3C64XX SoC Camera Interface driver" depends on VIDEO_V4L2 && I2C && VIDEO_V4L2_SUBDEV_API diff --git a/drivers/media/platform/Makefile b/drivers/media/platform/Makefile index 63303d6..f083b8a 100644 --- a/drivers/media/platform/Makefile +++ b/drivers/media/platform/Makefile @@ -77,3 +77,5 @@ obj-$(CONFIG_VIDEO_MEDIATEK_VCODEC) += mtk-vcodec/ obj-$(CONFIG_VIDEO_MEDIATEK_MDP) += mtk-mdp/ obj-$(CONFIG_VIDEO_MEDIATEK_JPEG) += mtk-jpeg/ + +obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom/camss-8x16/ diff --git a/drivers/media/platform/qcom/camss-8x16/Makefile b/drivers/media/platform/qcom/camss-8x16/Makefile new file mode 100644 index 0000000..4a6b08f --- /dev/null +++ b/drivers/media/platform/qcom/camss-8x16/Makefile @@ -0,0 +1,11 @@ +# Makefile for Qualcomm CAMSS driver + +qcom-camss-objs += \ + camss.o \ + csid.o \ + csiphy.o \ + ispif.o \ + vfe.o \ + video.o \ + +obj-$(CONFIG_VIDEO_QCOM_CAMSS) += qcom-camss.o
Add Makefile and update platform/Kconfig and platform/Makefile to enable building of the QCom CAMSS driver. Signed-off-by: Todor Tomov <todor.tomov@linaro.org> --- drivers/media/platform/Kconfig | 6 ++++++ drivers/media/platform/Makefile | 2 ++ drivers/media/platform/qcom/camss-8x16/Makefile | 11 +++++++++++ 3 files changed, 19 insertions(+) create mode 100644 drivers/media/platform/qcom/camss-8x16/Makefile