Re: [PATCH 01/12] videodev2.h, v4l2-ioctl: add IPU3 meta buffer format

2017-06-05 Thread Tomasz Figa
Uhm, +Laurent. Sorry for the noise. On Tue, Jun 6, 2017 at 1:30 PM, Tomasz Figa wrote: > Hi Yong, > > On Tue, Jun 6, 2017 at 5:39 AM, Yong Zhi wrote: >> Add the IPU3 specific processing parameter format >> V4L2_META_FMT_IPU3_PARAMS and metadata formats >>

cron job: media_tree daily build: WARNINGS

2017-06-05 Thread Hans Verkuil
This message is generated daily by a cron job that builds media_tree for the kernels and architectures in the list below. Results of the daily build of media_tree: date: Tue Jun 6 05:00:16 CEST 2017 media-tree git hash:af3a8480646cf5816528c44210dd4a70fb2026e9 media_build

Re: [PATCH 01/12] videodev2.h, v4l2-ioctl: add IPU3 meta buffer format

2017-06-05 Thread Tomasz Figa
Hi Yong, On Tue, Jun 6, 2017 at 5:39 AM, Yong Zhi wrote: > Add the IPU3 specific processing parameter format > V4L2_META_FMT_IPU3_PARAMS and metadata formats > for 3A and other statistics: Please see my comments inline. > > V4L2_META_FMT_IPU3_PARAMS >

Re: [PATCH 00/12] Intel IPU3 ImgU patchset

2017-06-05 Thread Alan Cox
> data structures used by the firmware and the hardware. On top of that, > the algorithms require highly specialized user space to make meaningful > use of them. For these reasons it has been chosen video buffers to pass > the parameters to the device. You should provide a pointer to the relevant

Re: [PATCH 01/12] videodev2.h, v4l2-ioctl: add IPU3 meta buffer format

2017-06-05 Thread Alan Cox
On Mon, 5 Jun 2017 15:39:06 -0500 Yong Zhi wrote: > Add the IPU3 specific processing parameter format > V4L2_META_FMT_IPU3_PARAMS and metadata formats > for 3A and other statistics: > > V4L2_META_FMT_IPU3_PARAMS > V4L2_META_FMT_IPU3_STAT_3A >

[PATCH 10/12] intel-ipu3: css pipeline

2017-06-05 Thread Yong Zhi
Add css pipeline and v4l code Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/ipu3-css.c | 1739 ++- drivers/media/pci/intel/ipu3/ipu3-css.h | 85 ++ 2 files changed, 1818 insertions(+), 6 deletions(-) diff --git

[PATCH 07/12] intel-ipu3: css: firmware management

2017-06-05 Thread Yong Zhi
Functions to load and install imgu FW blobs Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/ipu3-abi.h| 1572 drivers/media/pci/intel/ipu3/ipu3-css-fw.c | 272 + drivers/media/pci/intel/ipu3/ipu3-css-fw.h | 215

[PATCH 04/12] intel-ipu3: Add user space ABI definitions

2017-06-05 Thread Yong Zhi
Signed-off-by: Yong Zhi --- include/uapi/linux/intel-ipu3.h | 2182 +++ 1 file changed, 2182 insertions(+) create mode 100644 include/uapi/linux/intel-ipu3.h diff --git a/include/uapi/linux/intel-ipu3.h b/include/uapi/linux/intel-ipu3.h

[PATCH 08/12] intel-ipu3: params: compute and program ccs

2017-06-05 Thread Yong Zhi
A collection of routines that are mainly responsible to calculate the acc parameters. Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/ipu3-css-params.c | 3113 drivers/media/pci/intel/ipu3/ipu3-css-params.h | 105 +

[PATCH 12/12] intel-ipu3: imgu top level pci device

2017-06-05 Thread Yong Zhi
Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/Kconfig | 15 + drivers/media/pci/intel/ipu3/Makefile | 6 + drivers/media/pci/intel/ipu3/ipu3.c | 712 ++ drivers/media/pci/intel/ipu3/ipu3.h | 184 + 4 files changed,

[PATCH 09/12] intel-ipu3: css hardware setup

2017-06-05 Thread Yong Zhi
Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/ipu3-css.c | 515 drivers/media/pci/intel/ipu3/ipu3-css.h | 5 + 2 files changed, 520 insertions(+) create mode 100644 drivers/media/pci/intel/ipu3/ipu3-css.c diff --git

[PATCH 11/12] intel-ipu3: Add imgu v4l2 driver

2017-06-05 Thread Yong Zhi
ipu3 imgu video device based on v4l2, vb2 and media controller framework. Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/ipu3-v4l2.c | 723 +++ 1 file changed, 723 insertions(+) create mode 100644

[PATCH 06/12] intel-ipu3: css: imgu dma buff pool

2017-06-05 Thread Yong Zhi
The pools are used to store previous parameters set by user with the parameter queue. Due to pipelining, there needs to be multiple sets (up to four) of parameters which are queued in a host-to-sp queue. Signed-off-by: Yong Zhi ---

[PATCH 03/12] intel-ipu3: Add DMA API implementation

2017-06-05 Thread Yong Zhi
IPU3 mmu based DMA mapping driver Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/Kconfig | 6 + drivers/media/pci/intel/ipu3/Makefile | 1 + drivers/media/pci/intel/ipu3/ipu3-dmamap.c | 408 +

[PATCH 00/12] Intel IPU3 ImgU patchset

2017-06-05 Thread Yong Zhi
This patchset adds support for the Intel IPU3 (Image Processing Unit) ImgU which is essentially a modern memory-to-memory ISP. It implements raw Bayer to YUV image format conversion as well as a large number of other pixel processing algorithms for improving the image quality. Meta data formats

[PATCH 02/12] intel-ipu3: mmu: implement driver

2017-06-05 Thread Yong Zhi
From: Tuukka Toivonen This driver translates Intel IPU3 internal virtual address to physical address. Signed-off-by: Yong Zhi --- drivers/media/pci/intel/ipu3/Kconfig| 11 + drivers/media/pci/intel/ipu3/Makefile | 1 +

[PATCH 01/12] videodev2.h, v4l2-ioctl: add IPU3 meta buffer format

2017-06-05 Thread Yong Zhi
Add the IPU3 specific processing parameter format V4L2_META_FMT_IPU3_PARAMS and metadata formats for 3A and other statistics: V4L2_META_FMT_IPU3_PARAMS V4L2_META_FMT_IPU3_STAT_3A V4L2_META_FMT_IPU3_STAT_DVS V4L2_META_FMT_IPU3_STAT_LACE Signed-off-by: Yong Zhi ---

Re: Firmware for staging atomisp driver

2017-06-05 Thread Alan Cox
> I'm asking because that is hard to believe given e.g. the recursion bug > I've just fixed. It was kind of working yes (with libxcam and a simple test tool). The recursion one was my fault. I didn't mean that one to go upstream as I was still debugging it. The older code handled it right until

Question about Large Custom Coefficients for V4L2 sub-device drivers

2017-06-05 Thread Rohit Athavale
Hello Media Community, I am working on a scaler and gamma correction V4L2 sub-device based drivers. A common theme to both of them is that the kernel driver is expected bring-up these devices in a working (good) configuration. As it turns out these coefficients are tailor-made or are fairly

Re: [PATCH] media: platform: s3c-camif: fix arguments position in function call

2017-06-05 Thread Gustavo A. R. Silva
Hi Sylwester, Quoting Sylwester Nawrocki : On 06/02/2017 05:43 AM, Gustavo A. R. Silva wrote: Hi Sylwester, Here is another patch in case you decide that it is better to apply this one. Thanks, I applied this patch. In future please put any comments only after the

Re: [PATCH 5/9] [media] s5p-jpeg: Add IOMMU support

2017-06-05 Thread Sylwester Nawrocki
On 06/02/2017 06:02 PM, Thierry Escande wrote: From: Tony K Nadackal This patch adds support for IOMMU s5p-jpeg driver if the Exynos IOMMU and ARM DMA IOMMU configurations are supported. The address space is created with size limited to 256M and base address set to

Re: [PATCH 7/9] [media] s5p-jpeg: Change sclk_jpeg to 166MHz for Exynos5250

2017-06-05 Thread Sylwester Nawrocki
On 06/02/2017 11:58 PM, Jacek Anaszewski wrote: On 06/02/2017 06:02 PM, Thierry Escande wrote: From: henryhsu The default clock parent of jpeg on Exynos5250 is fin_pll, which is 24MHz. We have to change the clock parent to CPLL, which is 333MHz, and set sclk_jpeg to

Re: [PATCH] media: platform: s3c-camif: fix arguments position in function call

2017-06-05 Thread Sylwester Nawrocki
On 06/02/2017 05:43 AM, Gustavo A. R. Silva wrote: Hi Sylwester, Here is another patch in case you decide that it is better to apply this one. Thanks, I applied this patch. In future please put any comments only after the scissors ("---") line, the comments can be then discarded