cron job: media_tree daily build: ERRORS

2018-12-07 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: Sat Dec 8 05:00:14 CET 2018 media-tree git hash:e159b6074c82fe31b79aad672e02fa204dbbc6d8 media_build

Re: [PATCH v2] [RFC v2] v4l2: add support for colorspace conversion for video capture

2018-12-07 Thread Hans Verkuil
On 12/07/2018 03:30 PM, Mauro Carvalho Chehab wrote: > Em Thu, 6 Sep 2018 11:02:28 +0200 > Hans Verkuil escreveu: > >> Hi Philipp, >> >> It is much appreciated that this old RFC of mine is picked up again. >> I always wanted to get this in, but I never had a dr

Re: [PATCH v5 00/12] imx-media: Fixes for interlaced capture

2018-12-07 Thread Hans Verkuil
Hi Steve, How to proceed with this w.r.t. the two gpu ipu patches? Are those going in first through the gpu tree? Or do they have to go in through our tree? In that case I need Acks from whoever maintains that code. Regards, Hans On 10/17/2018 02:00 AM, Steve Longerbeam wrote: > A set

Re: [RFC PATCH] media/Kconfig: always enable MEDIA_CONTROLLER and VIDEO_V4L2_SUBDEV_API

2018-12-07 Thread Hans Verkuil
On 12/07/2018 01:42 PM, Mauro Carvalho Chehab wrote: > Em Fri, 7 Dec 2018 12:47:24 +0100 > Hans Verkuil escreveu: > >> On 12/07/2018 12:26 PM, Mauro Carvalho Chehab wrote: >>> Em Fri, 7 Dec 2018 10:09:04 +0100 >>> Hans Verkuil escreveu: >>> >&g

Re: [PATCH v9 00/13] media: staging/imx7: add i.MX7 media driver

2018-12-07 Thread Hans Verkuil
lated with the sensor driver but with the testing and > core. > > The csi and mipi-csi entities pass all compliance tests. > > Cheers, > Rui > > v8->v9: > Hans Verkuil: > - Fix issues detected by checkpatch strict, still some left: > - bigger kconfig opt

Re: [PATCH v9 05/13] media: dt-bindings: add bindings for i.MX7 media driver

2018-12-07 Thread Hans Verkuil
On 11/22/2018 04:18 PM, Rui Miguel Silva wrote: > Add bindings documentation for i.MX7 media drivers. > The imx7 MIPI CSI2 and imx7 CMOS Sensor Interface. > > Signed-off-by: Rui Miguel Silva > Reviewed-by: Rob Herring > Acked-by: Sakari Ailus Please move this patch to the beginning of the

Re: [PATCH v9 01/13] media: staging/imx: refactor imx media device probe

2018-12-07 Thread Hans Verkuil
On 11/22/2018 04:18 PM, Rui Miguel Silva wrote: > Refactor and move media device initialization code to a new common > module, so it can be used by other devices, this will allow for example > a near to introduce imx7 CSI driver, to use this media device. > > Signed-off-by: Rui Miguel Silva >

[GIT PULL FOR v4.21] Various fixes/enhancements

2018-12-07 Thread Hans Verkuil
Note: there are a few patches that combine bindings with code changes. But since these are older patches and the bindings have already been reviewed I am not going to require the author to split them up. That's a bit overkill. If new patches arrive that have this problem, then I will request this

Re: [RFC PATCH] media/Kconfig: always enable MEDIA_CONTROLLER and VIDEO_V4L2_SUBDEV_API

2018-12-07 Thread Hans Verkuil
On 12/07/2018 12:26 PM, Mauro Carvalho Chehab wrote: > Em Fri, 7 Dec 2018 10:09:04 +0100 > Hans Verkuil escreveu: > >> This patch selects MEDIA_CONTROLLER for all camera, analog TV and >> digital TV drivers and selects VIDEO_V4L2_SUBDEV_API automatically. >> >&g

Re: [PATCH] media: cedrus: don't initialize pointers with zero

2018-12-07 Thread Hans Verkuil
On 12/07/2018 12:31 PM, Mauro Carvalho Chehab wrote: > Em Fri, 7 Dec 2018 12:14:50 +0100 > Hans Verkuil escreveu: > >> On 12/07/2018 11:56 AM, Mauro Carvalho Chehab wrote: >>> A common mistake is to assume that initializing a var with: >>> struct foo f

Re: [PATCH 4/5 RESEND] si470x-i2c: Add optional reset-gpio support

2018-12-07 Thread Hans Verkuil
Adding the actual author :-) Regards, Hans On 12/07/2018 12:25 PM, Michael Nazzareno Trimarchi wrote: > Hi > > On Fri, Dec 7, 2018 at 12:12 PM Hans Verkuil wrote: >> >> Subject: [PATCH 4/5] si470x-i2c: Add optional reset-gpio support >> Date: Wed, 5 Dec

Re: [PATCH v2 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-12-07 Thread Hans Verkuil
On 11/22/2018 04:52 AM, Matt Ranostay wrote: > Add initial support for MLX90640 thermal cameras which output an 32x24 > greyscale pixel image along with 2 rows of coefficent data. > > Because of this the data outputed is really 32x26 and needs the two rows > removed after using the coefficent

Re: [PATCH] media: cedrus: don't initialize pointers with zero

2018-12-07 Thread Hans Verkuil
On 12/07/2018 11:56 AM, Mauro Carvalho Chehab wrote: > A common mistake is to assume that initializing a var with: > struct foo f = { 0 }; > > Would initialize a zeroed struct. Actually, what this does is > to initialize the first element of the struct to zero. > > According to C99

[PATCH 4/5 RESEND] si470x-i2c: Add optional reset-gpio support

2018-12-07 Thread Hans Verkuil
Subject: [PATCH 4/5] si470x-i2c: Add optional reset-gpio support Date: Wed, 5 Dec 2018 16:47:49 +0100 From: Paweł Chmiel To: mche...@kernel.org, robh...@kernel.org, mark.rutl...@arm.com CC: hverk...@xs4all.nl, fischerdougl...@gmail.com, keesc...@chromium.org, linux-media@vger.kernel.org,

[RFC PATCH] media/Kconfig: always enable MEDIA_CONTROLLER and VIDEO_V4L2_SUBDEV_API

2018-12-07 Thread Hans Verkuil
. Complexity has always been the bane of media drivers, so reducing complexity at the expense of a bit more memory (which is a rounding error compared to the amount of video buffer memory needed) is IMHO a good thing. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/Kconfig b/drivers/media

cron job: media_tree daily build: ERRORS

2018-12-06 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: Fri Dec 7 05:00:15 CET 2018 media-tree git hash:3c28b91380dd1183347d32d87d820818031ebecf media_build

Invite for IRC meeting: Re: [PATCHv4 01/10] videodev2.h: add tag support

2018-12-06 Thread Hans Verkuil
) as well for Mauro. Let's pick Monday to start with, and if you want to join in, then let me know. If that day doesn't work for you, let me know what other days next week do work for you. Regards, Hans On 12/05/18 11:20, hverkuil-ci...@xs4all.nl wrote: > From: Hans Verkuil > > Ad

Re: [PATCH v5] media: imx: add mem2mem device

2018-12-06 Thread Hans Verkuil
On 12/06/18 00:13, Steve Longerbeam wrote: > > > On 12/5/18 10:50 AM, Hans Verkuil wrote: >> On 12/05/2018 02:20 AM, Steve Longerbeam wrote: >>> Hi Hans, Philipp, >>> >>> One comment on my side... >>> >>&g

Re: [PATCHv4 00/10] vb2/cedrus: add tag support

2018-12-06 Thread Hans Verkuil
between buffers - Added documentation - Added tag logging in v4l2-ioctl.c Hans Verkuil (10): videodev2.h: add tag support vb2: add tag support v4l2-ioctl.c: log v4l2_buffer tag buffer.rst: document the new buffer tag feature. buffer.rst: clean up timecode documentation v4l2-mem2mem: add

cron job: media_tree daily build: ERRORS

2018-12-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: Thu Dec 6 05:00:13 CET 2018 media-tree git hash:3c28b91380dd1183347d32d87d820818031ebecf media_build

Re: [PATCH v5] media: imx: add mem2mem device

2018-12-05 Thread Hans Verkuil
On 12/05/2018 02:20 AM, Steve Longerbeam wrote: > Hi Hans, Philipp, > > One comment on my side... > > On 12/3/18 7:21 AM, Hans Verkuil wrote: >> >>> +void imx_media_mem2mem_device_unregister(struct imx_media_video_dev *vdev) >>> +{ >>> +

Re: [PATCH] media: rockchip/vpu: fix a few alignments

2018-12-05 Thread Hans Verkuil
On 12/05/2018 07:43 PM, Mauro Carvalho Chehab wrote: > As reported by checkpatch.pl, some function calls have a wrong > alignment. > > Signed-off-by: Mauro Carvalho Chehab > --- > drivers/staging/media/rockchip/vpu/rk3288_vpu_hw_jpeg_enc.c | 4 ++-- >

[GIT PULL FOR v4.21] Rockchip VPU JPEG encoder driver

2018-12-05 Thread Hans Verkuil
Note regarding the first 'Revert' patch: that is this patch: https://patchwork.linuxtv.org/patch/52869/ It is currently pending for 4.20 as a fix, but since it is not merged upstream yet, our master branch still has those old bindings. I decided to first apply the Revert patch, then add the new

Re: [PATCH v11 4/4] media: add Rockchip VPU JPEG encoder driver

2018-12-05 Thread Hans Verkuil
On 11/30/18 18:34, Ezequiel Garcia wrote: > Add a mem2mem driver for the VPU available on Rockchip SoCs. > Currently only JPEG encoding is supported, for RK3399 and RK3288 > platforms. > > Signed-off-by: Ezequiel Garcia > --- > diff --git

[GIT FIXES FOR v4.20] cedrus: move control definitions to mpeg2-ctrls.h

2018-12-05 Thread Hans Verkuil
) Tag branch Hans Verkuil (2): mpeg2-ctrls.h: move MPEG2 state controls to non-public header extended-controls.rst: add note to the MPEG2 state controls Documentation/media/uapi/v4l/extended-controls.rst | 10

Re: [PATCH 1/1] media: Add a Kconfig option for the Request API

2018-12-05 Thread Hans Verkuil
patch itself disables request creation as well as does not advertise > them as buffer flags. The driver requiring requests (cedrus) now depends > on the Kconfig option as well. > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil > --- > I hope this covers now everything..

[GIT PULL FOR v4.21] vicodec cleanup

2018-12-05 Thread Hans Verkuil
The following changes since commit b2e9a4eda11fd2cb1e6714e9ad3f455c402568ff: media: firewire: Fix app_info parameter type in avc_ca{,_app}_info (2018-12-05 05:34:33 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.21h for you to fetch

[PATCHv4 11/10] extended-controls.rst: update the mpeg2 compound controls

2018-12-05 Thread Hans Verkuil
The layout of the compound controls has changed to fix 32/64 bit alignment issues and the use of tags instead of buffer indices to refer to buffers. Note that these controls are only used by the cedrus staging driver. Signed-off-by: Hans Verkuil --- .../media/uapi/v4l/extended-controls.rst

cron job: media_tree daily build: ERRORS

2018-12-04 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: Wed Dec 5 05:00:10 CET 2018 media-tree git hash:9b90dc85c718443a3e573a0ccf55900ff4fa73ae media_build

cron job: media_tree daily build: ERRORS

2018-12-03 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 Dec 4 05:00:13 CET 2018 media-tree git hash:9b90dc85c718443a3e573a0ccf55900ff4fa73ae media_build

[GIT FIXES FOR v4.20] seco-cec: add missing header

2018-12-03 Thread Hans Verkuil
The following changes since commit 708d75fe1c7c6e9abc5381b6fcc32b49830383d0: media: dvb-pll: don't re-validate tuner frequencies (2018-11-23 12:27:18 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.20p for you to fetch changes up to

Re: [PATCH v5] media: imx: add mem2mem device

2018-12-03 Thread Hans Verkuil
On 12/03/2018 12:48 PM, Philipp Zabel wrote: > Add a single imx-media mem2mem video device that uses the IPU IC PP > (image converter post processing) task for scaling and colorspace > conversion. > On i.MX6Q/DL SoCs with two IPUs currently only the first IPU is used. > > The hardware only

Re: [PATCHv2] videodev2.h: add V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF/CREATE_BUFS

2018-12-03 Thread Hans Verkuil
On 11/29/2018 10:30 AM, Hans Verkuil wrote: > Add new buffer capability flags to indicate if the VIDIOC_PREPARE_BUF or > VIDIOC_CREATE_BUFS ioctls are supported. > > The reason for this is that there is currently no way for an application > to detect if VIDIOC_PREPARE_BUF is im

Re: v4l controls API

2018-12-03 Thread Hans Verkuil
you have received this e-mail in error, >please notify the sender and delete all copies from your system. > -------- > > - Ursprüngliche Mail - > Von: "Hans Verkuil" > An: "Sebastian Sü

Re: v4l controls API

2018-12-03 Thread Hans Verkuil
On 12/03/2018 09:02 AM, Sebastian Süsens wrote: > Hello, > > I don't know how to get access to the v4l controls on a I2C camera sensor. > > My driver structure looks following: > > bridge driver-> csi-driver > -> sensor driver

cron job: media_tree daily build: OK

2018-12-02 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: Mon Dec 3 05:00:11 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

Re: [PATCH] pulse8-cec: return 0 when invalidating the logical address

2018-12-02 Thread Hans Verkuil
On 12/02/2018 04:25 PM, Torbjorn Jansson wrote: > On 2018-11-14 14:25, Hans Verkuil wrote: >> Return 0 when invalidating the logical address. The cec core produces >> a warning for drivers that do this. >> >> Signed-off-by: Hans Verkuil >> Reported-by: Torbj

cron job: media_tree daily build: OK

2018-12-01 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: Sun Dec 2 05:00:10 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

cron job: media_tree daily build: OK

2018-11-30 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: Sat Dec 1 05:00:11 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

cron job: media_tree daily build: ERRORS

2018-11-29 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: Fri Nov 30 05:00:11 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

[GIT PULL FOR v4.21] Various fixes/enhancements

2018-11-29 Thread Hans Verkuil
; media: em28xx: fix spelling mistake, "Cinnergy" -> "Cinergy" tda7432: fix spelling mistake "maximium" -> "maximum" Hans Verkuil (3): vivid: fix smatch warnings vivid: add req_validate error injection vicodec: move the GREY forma

[PATCHv2] videodev2.h: add V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF/CREATE_BUFS

2018-11-29 Thread Hans Verkuil
. You would like to know this before taking an irreversible action. Since we need V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF it makes sense to add V4L2_BUF_CAP_SUPPORTS_CREATE_BUFS as well because not all drivers support this ioctl. Signed-off-by: Hans Verkuil Acked-by: Sakari Ailus --- Changes since v1

[GIT FIXES FOR v4.20] Various fixes

2018-11-29 Thread Hans Verkuil
09d55681e8: vicodec: set state resolution from raw format (2018-11-29 09:00:20 +0100) Tag branch Dan Carpenter (1): media: cedrus: Fix a NULL vs IS_ERR() c

cron job: media_tree daily build: ERRORS

2018-11-28 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: Thu Nov 29 05:00:11 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

vicodec: set state resolution from raw format

2018-11-28 Thread Hans Verkuil
and OUTPUT formats. The real fix would be to correctly implement the stateful codec specification, but that will take more time. For now just prevent the buffer overrun. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/vicodec/vicodec-core.c b/drivers/media/platform/vicodec

[PATCH] vicodec: move the GREY format to the end of the list

2018-11-28 Thread Hans Verkuil
With the GREY format at the beginning, the default format selected by vicodec would be GREY instead of YUV420. That didn't make sense, so move it to the end of the list. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/vicodec/codec-v4l2-fwht.c b/drivers/media/platform

[PATCH] vivid: add req_validate error injection

2018-11-28 Thread Hans Verkuil
Add a new vivid button control to inject an error into the req_validate request callback. This will help testing with v4l2-compliance. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/vivid/vivid-core.c b/drivers/media/platform/vivid/vivid-core.c index c1b5976af3e6

cron job: media_tree daily build: ERRORS

2018-11-27 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: Wed Nov 28 05:00:12 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

[PATCH for v4.20] vb2: skip request checks for VIDIOC_PREPARE_BUF

2018-11-27 Thread Hans Verkuil
-by: Hans Verkuil --- diff --git a/drivers/media/common/videobuf2/videobuf2-v4l2.c b/drivers/media/common/videobuf2/videobuf2-v4l2.c index 1244c246d0c4..1ac1b3f334f6 100644 --- a/drivers/media/common/videobuf2/videobuf2-v4l2.c +++ b/drivers/media/common/videobuf2/videobuf2-v4l2.c @@ -332,10 +332,10

cron job: media_tree daily build: ERRORS

2018-11-26 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 Nov 27 05:00:11 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

[GIT PULL FOR v4.21] venus fixes

2018-11-26 Thread Hans Verkuil
The following changes since commit 708d75fe1c7c6e9abc5381b6fcc32b49830383d0: media: dvb-pll: don't re-validate tuner frequencies (2018-11-23 12:27:18 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.21f for you to fetch changes up to

Re: [PATCH v3] media: video-i2c: check if chip struct has set_power function

2018-11-26 Thread Hans Verkuil
>> defined. >> >> Cc: Sakari Ailus >> Cc: Hans Verkuil >> Cc: Mauro Carvalho Chehab >> Cc: Akinobu Mita >> Signed-off-by: Matt Ranostay >> --- >> >> Changes from v2: >> - split out from mlx90640 patch series >>

cron job: media_tree daily build: ERRORS

2018-11-25 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: Mon Nov 26 05:00:10 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

cron job: media_tree daily build: ERRORS

2018-11-24 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: Sun Nov 25 05:00:10 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

Re: [ragnatech:media-tree 32/140] drivers/media/platform/seco-cec/seco-cec.c:237:4: error: implicit declaration of function 'cec_transmit_attempt_done'

2018-11-24 Thread Hans Verkuil
On 11/24/2018 07:14 PM, Ettore Chimenti wrote: > Hi all, > Is this error relevant? > I tried compiling on 'ragnatech/media-tree' > (708d75fe1c7c6e9abc5381b6fcc32b49830383d0) without getting errors. This was fixed by this patch: https://patchwork.linuxtv.org/patch/53117/ Which is why it now

cron job: media_tree daily build: ERRORS

2018-11-23 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: Sat Nov 24 05:00:11 CET 2018 media-tree git hash:708d75fe1c7c6e9abc5381b6fcc32b49830383d0 media_build

Re: [PATCH] media: vb2: be sure to free on errors

2018-11-23 Thread Hans Verkuil
_mmap: move lock up") > Signed-off-by: Mauro Carvalho Chehab Reviewed-by: Hans Verkuil Hmm, that's embarrassing... I should have seen that smatch warning. Regards, Hans > --- > drivers/media/common/videobuf2/videobuf2-core.c | 3 ++- > 1 file changed, 2 insertions(+), 1

[PATCH] vivid: fix smatch warnings

2018-11-23 Thread Hans Verkuil
/vivid-core.c: drivers/media/platform/vivid/vivid-core.c:889 vivid_create_instance() warn: potentially one past the end of array 'dev->query_dv_timings_qmenu[dev->query_dv_timings_size]' Signed-off-by: Hans Verkuil --- drivers/media/platform/vivid/vivid-core.c | 24 +---

[PATCH] seco-cec: fix Makefile

2018-11-23 Thread Hans Verkuil
Fix the incorrect obj-y. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/platform/seco-cec/Makefile b/drivers/media/platform/seco-cec/Makefile index 09900b087d02..a3f2c6bd3ac0 100644 --- a/drivers/media/platform/seco-cec/Makefile +++ b/drivers/media/platform/seco-cec/Makefile @@ -1

[GIT PULL FOR v4.21 v2] mem2mem, venus and vb2 fixes/improvements

2018-11-23 Thread Hans Verkuil
Ezequiel Garcia (4): mem2mem: Require capture and output mutexes to match v4l2-ioctl.c: Simplify locking for m2m devices v4l2-mem2mem: Avoid calling .device_run in v4l2_m2m_job_finish media: cedrus: Get rid of interrupt bottom-half Hans Verkuil (1

[GIT PULL FOR v4.21 v2] Various fixes/improvements

2018-11-23 Thread Hans Verkuil
tls[] Hans Verkuil (2): vim2m/vicodec: set device_caps in video_device struct vidioc-enum-fmt.rst: update list of valid buftypes Julia Lawall (1): media: video-i2c: hwmon: constify vb2_ops structure Malathi Gottam (1): media: venus: change the default value of GOP s

[GIT PULL FOR v4.21 v2] Various fixes

2018-11-23 Thread Hans Verkuil
) Tag branch Hans Verkuil (6): vim2m: use cancel_delayed_work_sync instead of flush_schedule_work adv*/tc358743/ths8200: fill in min width/height/pixelclock vb2: check memory model for VIDIOC_CREATE_BUFS

[GIT PULL FOR v4.21 v2] Various fixes

2018-11-23 Thread Hans Verkuil
it tags/br-v4.21a2 for you to fetch changes up to 9001e4d520f11d344f10092d3217156ec10c6934: vivid: fill in media_device bus_info (2018-11-23 09:26:54 +0100) Tag branch ---

[GIT PULL FOR v4.21 v2] Various fixes (coda, rcar, pxp, others)

2018-11-23 Thread Hans Verkuil
Fabio Estevam (3): media: imx-pxp: Check the return value from clk_prepare_enable() media: imx-pxp: Check for pxp_soft_reset() error media: imx-pxp: Improve pxp_soft_reset() error message Hans Verkuil (3): vb2: vb2_mmap: move lock

cron job: media_tree daily build: WARNINGS

2018-11-22 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: Fri Nov 23 05:00:11 CET 2018 media-tree git hash:8e782fcf78275f505194e767c515202d4fd274bc media_build

Re: [GIT PULL FOR v4.18] v2: Various fixes/improvements

2018-11-22 Thread Hans Verkuil
On 11/22/2018 09:52 PM, Mauro Carvalho Chehab wrote: > Em Tue, 8 May 2018 12:48:45 +0200 > Hans Verkuil escreveu: > >> Fixes/improvements all over the place. >> >> Changes since v1: >> >> Replaced "media: media-device: fix ioctl function types"

Re: [PATCH] vim2m: use cancel_delayed_work_sync instead of flush_schedule_work

2018-11-22 Thread Hans Verkuil
On 11/07/2018 03:04 PM, Hans Verkuil wrote: > The use of flush_schedule_work() made no sense and caused a syzkaller error. > Replace with the correct cancel_delayed_work_sync(). > > Signed-off-by: Hans Verkuil Mistyped that SoB, this should of course be: Signed-off-by: Hans Verku

Re: [PATCH] media: video-i2c: don't use msleep for 1ms - 20ms

2018-11-22 Thread Hans Verkuil
) by usleep_range(2000, 3000). Please just repost patch 6/6 with this change merged in. Thanks! Hans > > Reported-by: Hans Verkuil > Cc: Matt Ranostay > Cc: Sakari Ailus > Cc: Hans Verkuil > Cc: Mauro Carvalho Chehab > Signed-off-by: Akinobu Mita > --- > This

[GIT FIXES FOR v4.20] Revert "media: dt-bindings: Document the Rockchip VPU bindings"

2018-11-22 Thread Hans Verkuil
The following changes since commit 5200ab6a32d6055428896a49ec9e3b1652c1a100: media: vidioc_cropcap -> vidioc_g_pixelaspect (2018-11-20 13:57:21 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-v4.20n for you to fetch changes up to

[PATCH for v4.4] Revert "media: videobuf2-core: don't call memop 'finish' when queueing"

2018-11-22 Thread Hans Verkuil
_dmabuf: 1 detach_dmabuf: 1 map_dmabuf: 805 unmap_dmabuf: 805 vb2: get_dmabuf: 0 num_users: 1609 vaddr: 0 cookie: 805 Reverting this patch solves this regression. Signed-off-by: Hans Verkuil --- Probably two reasons why this slipped through: 1) The patch was missing a Fixes: tag 2) I was p

[PATCH for v4.9] Revert "media: videobuf2-core: don't call memop 'finish' when queueing"

2018-11-22 Thread Hans Verkuil
_dmabuf: 1 detach_dmabuf: 1 map_dmabuf: 805 unmap_dmabuf: 805 vb2: get_dmabuf: 0 num_users: 1609 vaddr: 0 cookie: 805 Reverting this patch solves this regression. Signed-off-by: Hans Verkuil --- Probably two reasons why this slipped through: 1) The patch was missing a Fixes: tag 2) I was p

Re: [GIT PULL FOR v4.21] Add Rockchip VPU JPEG encoder

2018-11-22 Thread Hans Verkuil
Hi Ezeguiel, Just saw Tomasz' in-depth review and decided to drop this pull request. He found a few too many issues and I prefer those are addressed first. Sorry, still more work for you, on to v11! Regards, Hans On 11/22/2018 10:39 AM, Hans Verkuil wrote: > The following chan

[PATCH] dib0900: fix smatch warnings

2018-11-22 Thread Hans Verkuil
ate->rf_ramp' For no apparent reason this code casts away the const of the const u16 arrays, and it also takes the address of an array. While that's ignored in C I think smatch gets confused by it. Signed-off-by: Hans Verkuil --- drivers/media/dvb-frontends/dib0090.

[GIT FIXES FOR v4.20] gspca regression fix

2018-11-22 Thread Hans Verkuil
up to e3e33f1da1e0a266435c61394320e64588631a59: gspca: fix frame overflow error (2018-11-22 10:50:37 +0100) Tag branch ---- Hans Verkuil (1): gspca: fix frame overflow er

Re: [PATCH v10 1/4] media: dt-bindings: Document the Rockchip VPU bindings

2018-11-22 Thread Hans Verkuil
On 11/21/2018 08:16 PM, Ezequiel Garcia wrote: > Add devicetree binding documentation for Rockchip Video Processing > Unit IP. > > Reviewed-by: Rob Herring > Signed-off-by: Ezequiel Garcia This one has been merged already. Regards, Hans > --- > .../bindings/media/rockchip-vpu.txt

[GIT PULL FOR v4.21] Add Rockchip VPU JPEG encoder

2018-11-22 Thread Hans Verkuil
The following changes since commit 5200ab6a32d6055428896a49ec9e3b1652c1a100: media: vidioc_cropcap -> vidioc_g_pixelaspect (2018-11-20 13:57:21 -0500) are available in the Git repository at: git://linuxtv.org/hverkuil/media_tree.git tags/br-jpeg for you to fetch changes up to

Re: [PATCH 1/1] v4l: uAPI doc: Changing frame interval won't change format

2018-11-22 Thread Hans Verkuil
On 11/21/2018 06:33 PM, Sakari Ailus wrote: > Document that changing the frame interval has no effect on frame size. > While this was the assumption in the API, it was not documented as such. > > Signed-off-by: Sakari Ailus Acked-by: Hans Verkuil Thanks! Hans > --- &

Re: [PATCH v2 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-22 Thread Hans Verkuil
On 11/22/2018 04:52 AM, Matt Ranostay wrote: > Add initial support for MLX90640 thermal cameras which output an 32x24 > greyscale pixel image along with 2 rows of coefficent data. > > Because of this the data outputed is really 32x26 and needs the two rows > removed after using the coefficent

cron job: media_tree daily build: WARNINGS

2018-11-21 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: Thu Nov 22 05:00:11 CET 2018 media-tree git hash:5200ab6a32d6055428896a49ec9e3b1652c1a100 media_build

[RFCv4 PATCH 3/3] vimc: add property test code

2018-11-21 Thread Hans Verkuil
From: Hans Verkuil Add properties to entities and pads to be able to test the properties API. Signed-off-by: Hans Verkuil --- drivers/media/platform/vimc/vimc-common.c | 50 +++ 1 file changed, 50 insertions(+) diff --git a/drivers/media/platform/vimc/vimc-common.c b

[RFCv4 PATCH 0/3] This RFC patch series implements properties for the media controller.

2018-11-21 Thread Hans Verkuil
agree with this approach, then I can make a final patch series, adding documentation etc. Regards, Hans Hans Verkuil (3): uapi/linux/media.h: add property support media controller: add properties support vimc: add property test code drivers/media/media-device.c | 335

[RFCv4 PATCH 1/3] uapi/linux/media.h: add property support

2018-11-21 Thread Hans Verkuil
From: Hans Verkuil Add a new topology struct that includes properties and adds index fields to quickly find references from one object to another in the topology arrays. Signed-off-by: Hans Verkuil --- include/uapi/linux/media.h | 88 -- 1 file changed, 84

[RFCv4 PATCH 2/3] media controller: add properties support

2018-11-21 Thread Hans Verkuil
From: Hans Verkuil Add support for properties. In this initial implementation properties can be added to entities and pads. In addition, properties can be nested. Since this patch adds the topology_idx to the graph objects it is now easy to fill in the index fields in the topology to allow

Re: [PATCH v9 3/3] media: add Rockchip VPU JPEG encoder driver

2018-11-21 Thread Hans Verkuil
On 11/20/2018 10:20 PM, Ezequiel Garcia wrote: > Add a mem2mem driver for the VPU available on Rockchip SoCs. > Currently only JPEG encoding is supported, for RK3399 and RK3288 > platforms. > > Signed-off-by: Ezequiel Garcia > --- > MAINTAINERS | 7 + >

Re: [PATCH v8 00/12] media: staging/imx7: add i.MX7 media driver

2018-11-21 Thread Hans Verkuil
On 11/21/2018 12:15 PM, Rui Miguel Silva wrote: > Hi, > This series introduces the Media driver to work with the i.MX7 SoC. it uses > the > already existing imx media core drivers but since the i.MX7, contrary to > i.MX5/6, do not have an IPU and because of that some changes in the imx media >

[GIT PULL FOR v4.21] Various fixes/improvements

2018-11-21 Thread Hans Verkuil
ous number of planes media: vicodec: Add support of greyscale format media: vicodec: Add support for 4 planes formats Eric Biggers (1): media: v4l: constify v4l2_ioctls[] Hans Verkuil (2): vim2m/vicodec: set device_caps in video_device struct vidioc-enum-fmt.rst: upd

[PATCH v2] vim2m/vicodec: set device_caps in video_device struct

2018-11-21 Thread Hans Verkuil
Instead of setting device_caps/capabilities in the querycap ioctl, set it in struct video_device instead. Signed-off-by: Hans Verkuil --- Changes in v2: vfd->device_caps was only set for the first of the two video devices. Set it for the second video_device as well. --- drivers/media/platf

cron job: media_tree daily build: WARNINGS

2018-11-20 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: Wed Nov 21 05:00:13 CET 2018 media-tree git hash:5200ab6a32d6055428896a49ec9e3b1652c1a100 media_build

Re: [PATCH v8 3/3] media: add Rockchip VPU JPEG encoder driver

2018-11-20 Thread Hans Verkuil
On 11/19/2018 04:29 PM, Ezequiel Garcia wrote: > Add a mem2mem driver for the VPU available on Rockchip SoCs. > Currently only JPEG encoding is supported, for RK3399 and RK3288 > platforms. > > Signed-off-by: Ezequiel Garcia > --- > MAINTAINERS | 7 + >

[PATCH for v4.20] gspca: fix frame overflow error

2018-11-20 Thread Hans Verkuil
: 1f5965c4dfd7 ("media: gspca: convert to vb2") Signed-off-by: Hans Verkuil Tested-off-by: Hans Verkuil Reported-by: softwarebugs Cc: # for v4.18 and up --- diff --git a/drivers/media/usb/gspca/gspca.c b/drivers/media/usb/gspca/gspca.c index fce9d6f4b7c9..3137f5d89d80 100644 ---

Re: [PATCH] videodev2.h: add V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF/CREATE_BUFS

2018-11-20 Thread Hans Verkuil
On 11/20/2018 10:27 AM, Sakari Ailus wrote: > Hi Hans, > > On Tue, Nov 20, 2018 at 09:58:43AM +0100, Hans Verkuil wrote: >> Add new buffer capability flags to indicate if the VIDIOC_PREPARE_BUF or >> VIDIOC_CREATE_BUFS ioctls are supported. > > Are there practic

[GIT PULL FOR v4.21] mem2mem, venus and vb2 fixes/improvements

2018-11-20 Thread Hans Verkuil
Ezequiel Garcia (4): mem2mem: Require capture and output mutexes to match v4l2-ioctl.c: Simplify locking for m2m devices v4l2-mem2mem: Avoid calling .device_run in v4l2_m2m_job_finish media: cedrus: Get rid of interrupt bottom-half Hans Verkuil (1): videobuf2-v4l2

[PATCH] videodev2.h: add V4L2_BUF_CAP_SUPPORTS_PREPARE_BUF/CREATE_BUFS

2018-11-20 Thread Hans Verkuil
Add new buffer capability flags to indicate if the VIDIOC_PREPARE_BUF or VIDIOC_CREATE_BUFS ioctls are supported. Signed-off-by: Hans Verkuil --- Note: the flag bits will change since there are two other patches that add flags, so the numbering will change. --- diff --git a/Documentation/media

Re: [PATCH 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-20 Thread Hans Verkuil
On 11/19/2018 09:54 PM, Matt Ranostay wrote: > On Mon, Nov 19, 2018 at 6:26 AM Hans Verkuil wrote: >> >> On 11/01/2018 05:15 AM, Matt Ranostay wrote: >>> Add initial support for MLX90640 thermal cameras which output an 32x24 >>> greyscale pixel image alo

cron job: media_tree daily build: WARNINGS

2018-11-19 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 Nov 20 05:00:12 CET 2018 media-tree git hash:fbe57dde7126d1b2712ab5ea93fb9d15f89de708 media_build

[PATCH] videobuf2-v4l2: drop WARN_ON in vb2_warn_zero_bytesused()

2018-11-19 Thread Hans Verkuil
. Signed-off-by: Hans Verkuil --- diff --git a/drivers/media/common/videobuf2/videobuf2-v4l2.c b/drivers/media/common/videobuf2/videobuf2-v4l2.c index a17033ab2c22..713326ef4e72 100644 --- a/drivers/media/common/videobuf2/videobuf2-v4l2.c +++ b/drivers/media/common/videobuf2/videobuf2-v4l2.c @@ -158,7

Re: [PATCH v4 6/6] media: video-i2c: support runtime PM

2018-11-19 Thread Hans Verkuil
On 11/19/2018 03:26 PM, Hans Verkuil wrote: > On 10/20/2018 04:26 PM, Akinobu Mita wrote: >> AMG88xx has a register for setting operating mode. This adds support >> runtime PM by changing the operating mode. >> >> The instruction for changing sleep mode to normal mo

[GIT PULL FOR v4.21] Various fixes/improvements

2018-11-19 Thread Hans Verkuil
): media: v4l: constify v4l2_ioctls[] Hans Verkuil (2): vim2m/vicodec: set device_caps in video_device struct vidioc-enum-fmt.rst: update list of valid buftypes Julia Lawall (1): media: video-i2c: hwmon: constify vb2_ops structure Malathi Gottam (1): media: venus: change

Re: [PATCH 2/2] media: video-i2c: add Melexis MLX90640 thermal camera support

2018-11-19 Thread Hans Verkuil
On 11/01/2018 05:15 AM, Matt Ranostay wrote: > Add initial support for MLX90640 thermal cameras which output an 32x24 > greyscale pixel image along with 2 rows of coefficent data. > > Because of this the data outputed is really 32x26 and needs the two rows > removed after using the coefficent

Re: [PATCH v4 6/6] media: video-i2c: support runtime PM

2018-11-19 Thread Hans Verkuil
https://docid81hrs3j1.cloudfront.net/medialibrary/2017/11/PANA-S-A0002141979-1.pdf > > Cc: Matt Ranostay > Cc: Sakari Ailus > Cc: Hans Verkuil > Cc: Mauro Carvalho Chehab > Reviewed-by: Matt Ranostay > Acked-by: Sakari Ailus > Signed-off-by: Akinobu Mita > --- > * v

  1   2   3   4   5   6   7   8   9   10   >