[git:media_stage/master] media: pvrusb2: remove unused struct 'debugifc_mask_item'

2024-05-31 Thread Hans Verkuil
t;V4L/DVB (6691): pvrusb2: Rework pipeline state control"). Remove it. Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Hans Verkuil drivers/media/usb/pvrusb2/pvrusb2-debugifc.c | 5 - 1 file changed, 5 deletions(-) --- diff --git a/drivers/media/usb/pvrusb2/pvrusb2-debugifc.c

[git:media_stage/master] media: opera1: remove unused struct 'rc_map_opera_table'

2024-05-31 Thread Hans Verkuil
("[media] rc: Name RC keymap tables as rc_map_table"). Remove it. Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Hans Verkuil drivers/media/usb/dvb-usb/opera1.c | 4 1 file changed, 4 deletions(-) --- diff --git a/drivers/media/usb/dvb-usb/opera1.c b/drivers/media/u

[git:media_stage/master] media: allegro: nal-hevc: Replace array[1] with array[N]

2024-05-31 Thread Hans Verkuil
Signed-off-by: Hans Verkuil [hverkuil: fix typo in subject and commit log] drivers/media/platform/allegro-dvt/nal-hevc.h | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/platform/allegro-dvt/nal-hevc.h b/drivers/media/platform/allegro-dvt/nal-hevc.h index eb

[git:media_stage/master] media: dvb-frontends: dib7000p: remove unused struct 'i2c_device'

2024-05-31 Thread Hans Verkuil
713d54a8bd81 ("[media] DiB7090: add support for the dib7090 based") but is unused. Remove it. Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Hans Verkuil drivers/media/dvb-frontends/dib7000p.c | 5 - 1 file changed, 5 deletions(-) --- diff --git a/drivers/media/dvb-frontends/dib

[git:media_stage/master] media: siano: Refactor struct sms_msg_data

2024-05-31 Thread Hans Verkuil
: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/common/siano/smscoreapi.c | 10 +- drivers/media/common/siano

[git:media_stage/master] media: pci: cx18: Use flex arrays for struct cx18_scb

2024-05-31 Thread Hans Verkuil
-and-one-element-arrays) Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/pci/cx18/cx18-scb.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/media/pci/cx18/cx18-scb.h b/drivers/media/pci/cx18/cx18-scb.h index f7105421dd25..841edc0712ab

[git:media_stage/master] media: xilinx: Refactor struct xvip_dma

2024-05-31 Thread Hans Verkuil
: drivers/media/platform/xilinx/xilinx-dma.h:100:19-22: WARNING use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) Signed-off-by: Ricardo Ribalda Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil

[git:media_stage/master] media: siano: Remove unused structures

2024-05-31 Thread Hans Verkuil
://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/common/siano/smscoreapi.h | 14 -- 1 file changed, 14 deletions(-) --- diff --git a/drivers/media/common/siano

[git:media_stage/master] media: siano: Use flex arrays for sms_firmware

2024-05-31 Thread Hans Verkuil
NG use flexible-array member instead (https://www.kernel.org/doc/html/latest/process/deprecated.html#zero-length-and-one-element-arrays) Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/common/siano/smscoreapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---

[git:media_stage/master] media: pci/ivtv: Use managed version of pci_enable_device

2024-05-31 Thread Hans Verkuil
the device in its previous state. pcim_ will take care of this. Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/pci/ivtv/ivtv-driver.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- diff --git a/drivers/media/pci/ivtv/ivtv-driver.c b/drivers/media/pci/ivtv/ivtv

[git:media_stage/master] media: pci/ivtv: Replace ioremap with devm_ variants

2024-05-31 Thread Hans Verkuil
nc_mem' from ioremap() not released on lines: 1296. Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/pci/ivtv/ivtv-driver.c | 51 +--- 1 file changed, 12 insertions(+), 39 deletions(-) --- diff --git a/drivers/media/pci/ivtv/ivtv-drive

[git:media_stage/master] media: pci/ivtv: Replace request_mem_region with devm_ variant

2024-05-31 Thread Hans Verkuil
simplifies the error handling. Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/pci/ivtv/ivtv-driver.c | 45 +++- 1 file changed, 14 insertions(+), 31 deletions(-) --- diff --git a/drivers/media/pci/ivtv/ivtv-driver.c b/drivers/media/pci/ivtv

[git:media_stage/master] media: rockchip: rga: fix sequence number handling

2024-05-31 Thread Hans Verkuil
track of the CAPTURE and OUTPUT sequence numbers, and set the sequence numbers in the source and destination buffers. Signed-off-by: Michael Tretter Signed-off-by: Hans Verkuil drivers/media/platform/rockchip/rga/rga-buf.c | 5 + drivers/media/platform/rockchip/rga/rga.c | 4

[git:media_stage/master] Documentation: media: Fix v4l2_ctrl_vp8_frame struct

2024-05-31 Thread Hans Verkuil
-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/Documentation/userspace-api/media/v4l/ext-ctrls-codec-stateless.rst b/Documentation/userspace-api/media/v4l/ext-ctrls-codec

[git:media_stage/master] media: amphion: remove unused struct 'vpu_malone_frame_buffer'

2024-05-31 Thread Hans Verkuil
the original commit 145e936380ed ("media: amphion: implement malone decoder rpc interface"). Remove it. Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Hans Verkuil drivers/media/platform/amphion/vpu_malone.c | 5 - 1 file changed, 5 deletions(-) --- diff --git a/drivers/media/platfo

[git:media_stage/master] media: tegra-vde: remove unused struct 'tegra_vde_h264_frame'

2024-05-31 Thread Hans Verkuil
313db7d235a0 ("media: staging: tegra-vde: Remove legacy UAPI support"). Remove it. Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Hans Verkuil drivers/media/platform/nvidia/tegra-vde/h264.c | 5 - drivers/media/platform/nvidia/tegra-vde/vde.h | 1 - 2 files changed, 6

[git:media_stage/master] media: m2m-deinterlace: remove unused struct 'vb2_dc_conf'

2024-05-31 Thread Hans Verkuil
8f0755c06b90 ("[media] media: Add mem2mem deinterlacing driver"). Remove it. Signed-off-by: Dr. David Alan Gilbert Signed-off-by: Hans Verkuil drivers/media/platform/m2m-deinterlace.c | 4 1 file changed, 4 deletions(-) --- diff --git a/drivers/media/platform/m2m-deinterlace.c b/dri

[git:media_stage/fixes] media: mei: csi: Put the IPU device reference

2024-05-30 Thread Hans Verkuil
that reference. Do that now. Fixes: 33116eb12c6b ("media: ivsc: csi: Use IPU bridge") Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ivsc/mei_csi.c | 1 + 1 file changed, 1 insertion(+) --- diff --git a/drivers/media/pci/intel/ivsc/mei_csi.c b/drivers

[git:media_stage/fixes] media: mei: csi: Warn less verbosely of a missing device fwnode

2024-05-30 Thread Hans Verkuil
but this also happens if the ACPI DSDT has graph port nodes on sensor device(s) but not on the IVSC device. Use a more meaningful warning message to tell about this. Fixes: 33116eb12c6b ("media: ivsc: csi: Use IPU bridge") Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers

[git:media_stage/fixes] media: intel/ipu6: update the maximum supported csi2 port number to 6

2024-05-30 Thread Hans Verkuil
of 4. Fixes: 25fedc021985 ("media: intel/ipu6: add Intel IPU6 PCI device driver") Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers

[git:media_stage/fixes] media: intel/ipu6: add csi2 port sanity check in notifier bound

2024-05-30 Thread Hans Verkuil
main input system driver") Signed-off-by: Bingbu Cao [Sakari Ailus: Fix spelling of "nports" field.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys.c | 6 ++ 1 file changed, 6 insertions(+) --- diff --git a/drivers/media

[git:media_stage/fixes] media: intel/ipu6: Fix some redundant resources freeing in ipu6_pci_remove()

2024-05-28 Thread Hans Verkuil
Christophe JAILLET Reviewed-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6.c | 3 --- 1 file changed, 3 deletions(-) --- diff --git a/drivers/media/pci/intel/ipu6/ipu6.c b/drivers/media/pci/intel/ipu6/ipu6.c index d2bebd208461..f587f6092

[git:media_stage/fixes] media: intel/ipu6: Fix an error handling path in isys_probe()

2024-05-28 Thread Hans Verkuil
: add the main input system driver") Signed-off-by: Christophe JAILLET Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys.c | 27 ++- 1 file changed, 18 insertions(+), 9 deletions(-) --- diff --git a/drivers/media/pci/intel

[git:media_stage/fixes] media: intel/ipu6: fix the buffer flags caused by wrong parentheses

2024-05-28 Thread Hans Verkuil
, the FL_INCOMING flag is never taken an account. Fix it by wrapping the ternary conditional operation with parentheses. Fixes: 3c1dfb5a69cf ("media: intel/ipu6: input system video nodes and buffer queues") Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil dri

[git:media_stage/fixes] media: intel/ipu6: Move isys_remove() close to isys_probe()

2024-05-28 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys.c | 70 1 file changed, 35 insertions(+), 35 deletions(-) --- diff --git a/drivers/media/pci/intel/ipu6/ipu6-isys.c b/drivers/media/pci/intel/ipu6/ipu6-isys.c index 5992138c7290..7ce2047a09b5 100644

[git:media_stage/fixes] media: Documentation: v4l: Fix ACTIVE route flag

2024-05-28 Thread Hans Verkuil
. This was meant to be V4L2_SUBDEV_STREAM_FL_ACTIVE as it's a flag, not an IOCTL. Fix it. Fixes: cd2c75454d74 ("media: Documentation: Document S_ROUTING behaviour") Reported-by: Samuel Wein PhD Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/userspace-api/med

[git:media_stage/fixes] media: mgb4: Fix double debugfs remove

2024-05-27 Thread Hans Verkuil
and then again on a child which causes a kernel panic. Signed-off-by: Martin Tůma Signed-off-by: Hans Verkuil Fixes: 0ab13674a9bd ("media: pci: mgb4: Added Digiteq Automotive MGB4 driver") Cc: [hverkuil: added Fixes/Cc tags] drivers/media/pci/mgb4/mgb4_core.c | 7 --- 1 file changed, 4

[git:media_stage/fixes] media: mgb4: Fix double debugfs remove

2024-05-27 Thread Hans Verkuil
and then again on a child which causes a kernel panic. Signed-off-by: Martin Tůma Signed-off-by: Hans Verkuil drivers/media/pci/mgb4/mgb4_core.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/pci/mgb4/mgb4_core.c b/drivers/media/pci/mgb4/mgb4_core.c index

[git:media_stage/master] media: mediatek: vcodec: Handle VP9 superframe bitstream with 8 sub-frames

2024-05-27 Thread Hans Verkuil
-by: Hans Verkuil .../media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) --- diff --git a/drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.c b/drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp9_if.c

[git:media_stage/master] media: mediatek: vcodec: support 36 bits physical address

2024-05-27 Thread Hans Verkuil
the type from unsigned int to dma_addr_t to be able to access the high bits of the address. Signed-off-by: Yunfei Dong Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Hans Verkuil drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_vp8_if.c | 2

[git:media_stage/master] media: mediatek: vcodec: adding lock to protect decoder context list

2024-05-27 Thread Hans Verkuil
Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Hans Verkuil drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c | 4 ++-- drivers/media/platform/mediatek/vcodec/decoder/mtk_vcodec_dec_drv.c | 5 + drivers/media/platform/mediatek/vcod

[git:media_stage/master] media: mediatek: vcodec: adding lock to protect encoder context list

2024-05-27 Thread Hans Verkuil
Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Hans Verkuil drivers/media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c | 4 ++-- drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_drv.c | 5 + drivers/media/platform/mediatek/vcod

[git:media_stage/master] media: mediatek: vcodec: Fix oops when HEVC init fails

2024-05-27 Thread Hans Verkuil
f9401660 b900127f b900227f (f9400400) Signed-off-by: Nicolas Dufresne Fixes: 2674486aac7d ("media: mediatek: vcodec: support stateless hevc decoder") Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Hans Verkuil .../platform/mediatek/vcodec/de

[git:media_tree/master] media: ov2740: Ensure proper reset sequence on probe()

2024-05-16 Thread Hans Verkuil
-by: Hans de Goede Tested-by: Stanislaw Gruszka Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c/ov2740.c index 57906df7be4e

[git:media_tree/master] Merge tag 'media-fixes-unicam-20240510' of https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage

2024-05-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Merge tag 'media-fixes-unicam-20240510' of https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage Author: Hans Verkuil Date:Fri May 10 09:53:11 2024 +0200 bcm2835

[git:media_tree/master] Revert "media: v4l2-ctrls: show all owned controls in log_status"

2024-05-16 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Revert "media: v4l2-ctrls: show all owned controls in log_status" Author: Hans Verkuil Date:Fri May 10 09:11:46 2024 +0200 This reverts commit 9801b5b28c6929139d6fc8d739

[git:media_tree/master] media: bcm2835-unicam: Depend on COMMON_CLK

2024-05-16 Thread Hans Verkuil
COMMON_CLK. Fixes: 392cd78d495f ("media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202405112243.2mlrt7li-...@intel.com/ Signed-off-by: Laurent Pinchart Reviewed-by: Dave Stevenson Signed-of

[git:media_tree/master] media: intel/ipu6: Don't print user-triggerable errors to kernel log

2024-05-16 Thread Hans Verkuil
conditions that have no relation to driver or hardware issues. Fixes: 3c1dfb5a69cf ("media: intel/ipu6: input system video nodes and buffer queues") Signed-off-by: Sakari Ailus Reviewed-by: Bingbu Cao Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-queue.c | 10 +---

Re: [PATCH v15 00/16] Add audio support in v4l2 framework

2024-05-15 Thread Hans Verkuil
Hi Jaroslav, On 5/13/24 13:56, Jaroslav Kysela wrote: > On 09. 05. 24 13:13, Jaroslav Kysela wrote: >> On 09. 05. 24 12:44, Shengjiu Wang wrote: > mem2mem is just like the decoder in the compress pipeline. which is > one of the components in the pipeline. I was thinking of

[git:media_stage/master] media: bcm2835-unicam: Depend on COMMON_CLK

2024-05-14 Thread Hans Verkuil
COMMON_CLK. Fixes: 392cd78d495f ("media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface") Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202405112243.2mlrt7li-...@intel.com/ Signed-off-by: Laurent Pinchart Reviewed-by: Dave Stevenson Signed-of

[git:edid-decode/master] edid-decode: minor modifications to README and emscripten path

2024-05-10 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: edid-decode: minor modifications to README and emscripten path Author: Hans Verkuil Date:Fri May 10 11:40:32 2024 +0200 Use 'build' and 'build-wasm' as the build directories (i.e

[git:edid-decode/master] edid-decode: build: add support for building with meson

2024-05-10 Thread Hans Verkuil
/install with meson * Fix installing for the wasm-build Signed-off-by: Sebastian Wick Signed-off-by: Hans Verkuil Makefile | 50 - README| 28 +++ emscripten/wasm-crossfile.txt | 14

[git:media_stage/master] media: ov2740: Ensure proper reset sequence on probe()

2024-05-10 Thread Hans Verkuil
-by: Hans de Goede Tested-by: Stanislaw Gruszka Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/i2c/ov2740.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) --- diff --git a/drivers/media/i2c/ov2740.c b/drivers/media/i2c/ov2740.c index 57906df7be4e

[git:media_stage/master] media: intel/ipu6: Don't print user-triggerable errors to kernel log

2024-05-10 Thread Hans Verkuil
conditions that have no relation to driver or hardware issues. Fixes: 3c1dfb5a69cf ("media: intel/ipu6: input system video nodes and buffer queues") Signed-off-by: Sakari Ailus Reviewed-by: Bingbu Cao Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-queue.c | 10 +---

[git:media_stage/master] Revert "media: v4l2-ctrls: show all owned controls in log_status"

2024-05-10 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Revert "media: v4l2-ctrls: show all owned controls in log_status" Author: Hans Verkuil Date:Fri May 10 09:11:46 2024 +0200 This reverts commit 9801b5b28c6929139d6fc8d739

[git:media_stage/master] Merge tag 'media-fixes-unicam-20240510' of https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage

2024-05-10 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued: Subject: Merge tag 'media-fixes-unicam-20240510' of https://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux into media_stage Author: Hans Verkuil Date:Fri May 10 09:53:11 2024 +0200 bcm2835

[git:v4l-utils/master] v4l-utils: test-media: add dmesg -n info before modprobes

2024-05-10 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l-utils: test-media: add dmesg -n info before modprobes Author: Hans Verkuil Date:Fri May 10 09:42:13 2024 +0200 Sometimes

Re: [PATCH v15 00/16] Add audio support in v4l2 framework

2024-05-08 Thread Hans Verkuil
On 06/05/2024 10:49, Shengjiu Wang wrote: > On Fri, May 3, 2024 at 4:42 PM Mauro Carvalho Chehab > wrote: >> >> Em Fri, 3 May 2024 10:47:19 +0900 >> Mark Brown escreveu: >> >>> On Thu, May 02, 2024 at 10:26:43AM +0100, Mauro Carvalho Chehab wrote: Mauro Carvalho Chehab escreveu: >>> >

[git:v4l-utils/master] v4l2-compliance: do not warn for unexpected vivid_ro_ctrl values

2024-05-08 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-compliance: do not warn for unexpected vivid_ro_ctrl values Author: Hans Verkuil Date:Wed May 8 08:59:46 2024 +0200 The vivid

[git:media_stage/master] media: uvcvideo: Refactor iterators

2024-05-04 Thread Hans Verkuil
Senozhatsky Reviewed-by: Laurent Pinchart Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/usb/uvc/uvc_ctrl.c | 24 +--- 1 file changed, 13 insertions(+), 11 deletions(-) --- diff --git a/drivers/media/usb/uvc/uvc_ctrl.c b/drivers/media/usb/uvc/uvc_ctrl.c

[git:media_stage/master] media: cec.h: Fix kerneldoc

2024-05-04 Thread Hans Verkuil
: warning: Function parameter or struct member 'is_claiming_log_addrs' not described in 'cec_adapter' Signed-off-by: Ricardo Ribalda Reviewed-by: Hans Verkuil Signed-off-by: Hans Verkuil include/media/cec.h | 1 + 1 file changed, 1 insertion(+) --- diff --git a/include/media/cec.h b/include

[git:media_stage/master] media: v4l: async: refactor v4l2_async_create_ancillary_links

2024-05-04 Thread Hans Verkuil
if CONFIG_MEDIA_CONTROLLER is not enabled. This makes cocci happier: drivers/media/v4l2-core/v4l2-async.c:331:23-30: ERROR: PTR_ERR applied after initialization to constant on line 319 Signed-off-by: Ricardo Ribalda Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-async.c | 8 1 file changed, 4

Re: [PATCH v15 00/16] Add audio support in v4l2 framework

2024-04-30 Thread Hans Verkuil
On 30/04/2024 10:21, Sebastian Fricke wrote: > Hey Shengjiu, > > first of all thanks for all of this work and I am very sorry for only > emerging this late into the series, I sadly didn't notice it earlier. > > I would like to voice a few concerns about the general idea of adding > Audio support

[git:v4l-utils/master] sync-with-kernel.sh: add v4l2-dv-timings.h

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: sync-with-kernel.sh: add v4l2-dv-timings.h Author: Hans Verkuil Date:Mon Apr 29 15:40:09 2024 +0200 The v4l2-dv-timings.h header

[git:media_stage/master] media: v4l: subdev: Copy argument back to user also for S_ROUTING

2024-04-29 Thread Hans Verkuil
array arguments back to the user. Signed-off-by: Sakari Ailus Reviewed-by: Julien Massot Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-ioctl.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/v4l2-core/v4l2

[git:media_stage/master] media: uapi: Add generic serial metadata mbus formats

2024-04-29 Thread Hans Verkuil
is that these formats are parsed by software only, after capturing the data to system memory. Also add a definition for "Data Unit" to cover what is essentially a pixel but is not image data. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil Documentation/use

[git:media_stage/master] media: v4l2-subdev: Clearly document that the crop API won't be extended

2024-04-29 Thread Hans Verkuil
, deprecated by the selection API. Despite this, it has recently been extended with streams support. In hindsight this was a mistake. Make sure it doesn't happen again by clearly documenting that no new extensions will be accepted. Suggested-by: Hans Verkuil Signed-off-by: Laurent Pinchart Acked

[git:media_stage/master] media: Documentation: Add "stream" into glossary

2024-04-29 Thread Hans Verkuil
ntation. Signed-off-by: Sakari Ailus Reviewed-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil Documentation/userspace-api/media/glossary.rst | 5 + 1 file changed, 5 insertions(+) --- diff --git a/Documentation/userspace-api/media/glossary.rst b/Documen

[git:media_stage/master] media: v4l: subdev: Add a function to lock two sub-device states, use it

2024-04-29 Thread Hans Verkuil
Reviewed-by: Julien Massot Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-subdev.c | 12 --- include/media/v4l2-subdev.h | 40 +++ 2 files changed, 44 insertions(+), 8 deletions(-) --- diff --git

[git:media_stage/master] media: Documentation: Additional streams generally don't harm capture

2024-04-29 Thread Hans Verkuil
Pinchart Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/dev-subdev.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- diff --git a/Documentation/userspace-api/media/v4l/dev-subdev.rst b/Documentation/userspace-api/media/v4l/dev-subdev.rst index f375b820ab68

[git:media_stage/master] media: uapi: v4l: Add generic 8-bit metadata format definitions

2024-04-29 Thread Hans Verkuil
pipeline where the internal pad of the source sub-device defines the specific format of the data (using an mbus code). Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../userspace-api/media/v4l/dev-subdev.rst | 2 + .../userspace-api/media/v4l/meta

[git:media_stage/master] media: v4l: Set line based metadata flag in V4L2 core

2024-04-29 Thread Hans Verkuil
based on the format after returning the driver callback for enumerating formats. This way the drivers don't need to care about the flag. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-ioctl.c | 16 include

[git:media_stage/master] media: uapi: Document which mbus format fields are valid for metadata

2024-04-29 Thread Hans Verkuil
to define which fields in struct v4l2_mbus_format are applicable to them (not many). Signed-off-by: Sakari Ailus Reviewed-by: Tomi Valkeinen Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../userspace-api/media/v4l/subdev-formats.rst | 15 --- include/uapi

[git:media_stage/master] media: v4l: Support line-based metadata capture

2024-04-29 Thread Hans Verkuil
Pinchart Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/dev-meta.rst | 21 + .../userspace-api/media/v4l/vidioc-enum-fmt.rst | 7 +++ .../userspace-api/media/videodev2.h.rst.exceptions | 1 + drivers/media/v4l2-core/v4l2-ioctl.c| 5

[git:media_stage/master] media: Documentation: Document S_ROUTING behaviour

2024-04-29 Thread Hans Verkuil
that produce streams the streams are static and some can be enabled and disabled, whereas in devices that just transport them or write them to memory, more configurability is allowed. Document this. Signed-off-by: Sakari Ailus Reviewed-by: Julien Massot Reviewed-by: Laurent Pinchart Signed-off-by: Hans

[git:v4l-utils/master] utils: media-ctl: Support changed routing API

2024-04-29 Thread Hans Verkuil
v4l2_subdev_routing. ENOSPC error code is no longer used, i.e. having room for fewer routes than exist in the configuration is not considered an error anymore. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil utils/media-ctl/libv4l2subdev.c | 4 +++- 1 file changed, 3 insertions(+), 1

[git:v4l-utils/master] v4l2-info: support V4L2_FMT_FLAG_META_LINE_BASED

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-info: support V4L2_FMT_FLAG_META_LINE_BASED Author: Hans Verkuil Date:Mon Apr 29 15:07:28 2024 +0200 Detect if this flag

[git:v4l-utils/master] sync-with-kernel.sh: filter V4L2_META_FMT_GENERIC_ defines

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: sync-with-kernel.sh: filter V4L2_META_FMT_GENERIC_ defines Author: Hans Verkuil Date:Mon Apr 29 15:04:37 2024 +0200 These meta

[git:v4l-utils/master] v4l-utils: sync-with-kernel

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l-utils: sync-with-kernel Author: Hans Verkuil Date:Mon Apr 29 15:05:39 2024 +0200 Update v4l-utils to the latest kernel headers

[git:v4l-utils/master] v4l2-compliance: Add tests for V4L2_FMT_FLAG_META_LINE_BASED flag

2024-04-29 Thread Hans Verkuil
Signed-off-by: Hans Verkuil utils/v4l2-compliance/v4l2-test-formats.cpp | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=de8f9eeab55ff7e6b181f468a40282028aad89dd diff --git a/utils/v4l2-compliance/v4l2-test

[git:v4l-utils/master] v4l2-compliance: Support the changed routing API

2024-04-29 Thread Hans Verkuil
of struct v4l2_subdev_routing. ENOSPC error code is no longer used, i.e. having room for fewer routes than exist in the configuration is not considered an error anymore. Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil utils/v4l2-compliance/v4l2-compliance.cpp | 12 +++- utils

[git:media_stage/master] media: v4l: subdev: Add trivial set_routing support

2024-04-29 Thread Hans Verkuil
. Essentially this means returning the same information G_ROUTING call would have done. Signed-off-by: Sakari Ailus Co-developed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Reviewed-by: Julien Massot Signed-off-by: Hans Verkuil drivers/media/v4l2-core/v4l2-subdev.c | 14 ++ 1

[git:media_stage/master] media: v4l: Add V4L2-PIX-FMT-Y12P format

2024-04-29 Thread Hans Verkuil
-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/userspace-api/media/v4l/pixfmt-yuv-luma.rst | 11 +++ drivers/media/v4l2-core/v4l2-ioctl.c | 1 + include/uapi/linux/videodev2.h

[git:media_stage/master] media: v4l: subdev: Add len_routes field to struct v4l2_subdev_routing

2024-04-29 Thread Hans Verkuil
manually patched the code to enable this uAPI must update their code. The patch also increases the number of reserved fields in struct v4l2_subdev_routing. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../media/v4l/vidioc-subdev-g-routing.rst

[git:media_stage/master] media: v4l: Add V4L2-PIX-FMT-Y14P format

2024-04-29 Thread Hans Verkuil
bytes in the documentation array. Signed-off-by: Jean-Michel Hautbois Reviewed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil .../userspace-api/media/v4l/pixfmt-yuv-luma.rst| 37 ++ drivers/media/v4l2-core

[git:media_stage/master] media: v4l: subdev: Return routes set using S_ROUTING

2024-04-29 Thread Hans Verkuil
this in documentation. Signed-off-by: Sakari Ailus Reviewed-by: Laurent Pinchart Signed-off-by: Hans Verkuil .../userspace-api/media/v4l/vidioc-subdev-g-routing.rst | 7 ++- drivers/media/v4l2-core/v4l2-subdev.c| 12 +++- 2 files changed, 13 insertions(+), 6

[git:media_stage/master] dt-bindings: media: Add bindings for bcm2835-unicam

2024-04-29 Thread Hans Verkuil
Signed-off-by: Hans Verkuil .../bindings/media/brcm,bcm2835-unicam.yaml| 127 + MAINTAINERS| 6 + 2 files changed, 133 insertions(+) --- diff --git a/Documentation/devicetree/bindings/media/brcm,bcm2835-unicam.yaml b

[git:media_stage/master] media: bcm2835-unicam: Add support for CCP2/CSI2 camera interface

2024-04-29 Thread Hans Verkuil
-by: Jean-Michel Hautbois Signed-off-by: Jean-Michel Hautbois Co-developed-by: Laurent Pinchart Signed-off-by: Laurent Pinchart [Sakari Ailus: Squash fixes by Laurent.] Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil MAINTAINERS|1 + drivers

[git:media_stage/master] media: ivsc: csi: Use IPU bridge

2024-04-29 Thread Hans Verkuil
-by: Hans Verkuil drivers/media/pci/intel/ivsc/mei_csi.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) --- diff --git a/drivers/media/pci/intel/ivsc/mei_csi.c b/drivers/media/pci/intel/ivsc/mei_csi.c index 55e0c60c420c..89b582a221ab 100644 --- a/drivers/media/pci

[git:media_stage/master] media: ipu6: Add PCI device table header

2024-04-29 Thread Hans Verkuil
bridge as well so place the table in a header. Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil include/media/ipu6-pci-table.h | 28 1 file changed, 28 insertions(+) --- diff --git a/include/media/ipu6-pci-table.h b/include/media/ipu6-pci-table.h new file mode

[git:media_stage/master] media: intel/ipu6: add Intel IPU6 PCI device driver

2024-04-29 Thread Hans Verkuil
Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-platform-regs.h | 179 + drivers/media/pci/intel/ipu6/ipu6.c | 922 ++ drivers/media/pci/intel/ipu6/ipu6.h | 342 3 files changed, 1443

[git:media_stage/master] media: intel/ipu6: add IPU auxiliary devices

2024-04-29 Thread Hans Verkuil
to implement the power sequence dependency. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-bus.c | 165 drivers/media/pci/intel/ipu6/ipu6-bus.h | 58 +++ 2 files changed, 223 insertions

[git:media_stage/master] media: intel/ipu6: add IPU6 buttress interface driver

2024-04-29 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-buttress.c | 912 + drivers/media/pci/intel/ipu6/ipu6-buttress.h | 92 +++ .../pci/intel/ipu6/ipu6-platform-buttress-regs.h | 226 + 3 files changed, 1230 insertions(+) --- diff --git a/drivers

[git:media_stage/master] media: intel/ipu6: add syscom interfaces between firmware and driver

2024-04-29 Thread Hans Verkuil
to reside the read and write indices which are updated by consumer and producer. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-fw-com.c | 413 + drivers/media/pci/intel/ipu6/ipu6-fw-com.h | 47

[git:media_stage/master] media: intel/ipu6: input system ABI between firmware and driver

2024-04-29 Thread Hans Verkuil
stream configuration, control command, capture request and response. Signed-off-by: Bingbu Cao Co-developed-by: Sakari Ailus Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-fw-isys.c | 487 +++ drivers/media/pci/intel/ipu6/ipu6-fw

[git:media_stage/master] media: intel/ipu6: CPD parsing for get firmware components

2024-04-29 Thread Hans Verkuil
-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-cpd.c | 362 drivers/media/pci/intel/ipu6/ipu6-cpd.h | 105 + 2 files changed, 467 insertions(+) --- diff --git a/drivers/media/pci/intel/ipu6/ipu6-cpd.c b/drivers/media/pci/intel/ipu6/ipu6-cpd.c

[git:media_stage/master] media: intel/ipu6: add the main input system driver

2024-04-29 Thread Hans Verkuil
up device nodes. Signed-off-by: Bingbu Cao Signed-off-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys.c | 1368 ++ drivers/media/pci/intel/ipu6/ipu6-isys.h | 206 + drivers/media/pci/intel/ipu6

[git:media_stage/master] media: intel/ipu6: add IPU6 DMA mapping API and MMU table

2024-04-29 Thread Hans Verkuil
-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-dma.c | 502 +++ drivers/media/pci/intel/ipu6/ipu6-dma.h | 19 + drivers/media/pci/intel/ipu6/ipu6-mmu.c | 845 drivers/media/pci/intel

[git:media_stage/master] media: intel/ipu6: add the CSI2 DPHY implementation

2024-04-29 Thread Hans Verkuil
for the hardware set in isys_probe(). Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-dwc-phy.c | 536 + drivers/media/pci/intel/ipu6/ipu6-isys-jsl-phy.c | 242 drivers/media/pci/intel/ipu6/ipu6-isys-mcd-phy.c

[git:media_stage/master] media: intel/ipu6: add IPU6 CSI2 receiver v4l2 sub-device

2024-04-29 Thread Hans Verkuil
-device represent one single CSI2 hardware port which be linked with external sub-device such camera sensor by linked with ISYS CSI2's sink pad. The CSI2 source pad is linked to the sink pad of video capture device. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil

[git:media_stage/master] media: intel/ipu6: input system video nodes and buffer queues

2024-04-29 Thread Hans Verkuil
Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-queue.c | 809 +++ drivers/media/pci/intel/ipu6/ipu6-isys-queue.h | 78 ++ drivers/media/pci/intel/ipu6/ipu6-isys-video.c | 1249 drivers/media/pci/intel/ipu6/ipu6-isys-video.h | 132

[git:media_stage/master] media: MAINTAINERS: add maintainers for Intel IPU6 input system driver

2024-04-29 Thread Hans Verkuil
. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil MAINTAINERS | 10 ++ 1 file changed, 10 insertions(+) --- diff --git a/MAINTAINERS b/MAINTAINERS index 037d065fb8bb..5a178aaf21b3 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11005,6 +11005,16 @@ F

[git:media_stage/master] media: intel/ipu6: support line-based metadata capture support

2024-04-29 Thread Hans Verkuil
. This patch adds the support for metadata capture in IPU6 ISYS driver. Signed-off-by: Hongju Wang Signed-off-by: Bingbu Cao Co-developed-by: Sakari Ailus Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/ipu6/ipu6-isys-csi2.c | 5 + drivers/media/pci/intel

[git:media_stage/master] media: intel/ipu6: add Kconfig and Makefile

2024-04-29 Thread Hans Verkuil
-by: Andreas Helbech Kleist Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil drivers/media/pci/intel/Kconfig | 1 + drivers/media/pci/intel/Makefile | 1 + drivers/media/pci/intel/ipu6/Kconfig | 18 ++ drivers/media/pci/intel/ipu6/Makefile | 23

[git:media_stage/master] media: Documentation: add Intel IPU6 ISYS driver admin-guide doc

2024-04-29 Thread Hans Verkuil
driver, and gives an example that how user can do imaging capture with tools. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/admin-guide/media/ipu6-isys.rst | 161 ++ .../admin-guide/media/ipu6_isys_graph.svg | 548

[git:media_stage/master] media: Documentation: add documentation of Intel IPU6 driver and hardware overview

2024-04-29 Thread Hans Verkuil
hardware and describe the main the components of IPU6 driver. Signed-off-by: Bingbu Cao Signed-off-by: Sakari Ailus Signed-off-by: Hans Verkuil Documentation/driver-api/media/drivers/index.rst | 1 + Documentation/driver-api/media/drivers/ipu6.rst | 205 +++ 2 files changed

[git:media_stage/master] media: uapi: v4l: Don't expose generic metadata formats to userspace

2024-04-29 Thread Hans Verkuil
private to the kernel for now. Signed-off-by: Laurent Pinchart Signed-off-by: Hans Verkuil include/uapi/linux/videodev2.h | 2 ++ 1 file changed, 2 insertions(+) --- diff --git a/include/uapi/linux/videodev2.h b/include/uapi/linux/videodev2.h index 2f9762842313..fe6b67e83751 100644

[git:v4l-utils/master] cec-ctl: exit after reporting all cec devices with --list-devices

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: cec-ctl: exit after reporting all cec devices with --list-devices Author: Hans Verkuil Date:Mon Apr 29 08:55:23 2024 +0200

[git:v4l-utils/master] v4l2-ctl: --list-devices --verbose will list current input/output

2024-04-29 Thread Hans Verkuil
This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree: Subject: v4l2-ctl: --list-devices --verbose will list current input/output Author: Hans Verkuil Date:Mon Apr 29 08:57:22 2024 +0200 It can

[git:media_stage/master] media: mediatek: vcodec: fix possible unbalanced PM counter

2024-04-27 Thread Hans Verkuil
river") Signed-off-by: Eugen Hristev Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Andrzej Pietrasiewicz Signed-off-by: Sebastian Fricke Signed-off-by: Hans Verkuil drivers/media/platform/mediatek/vcodec/encoder/mtk_vcodec_enc_pm.c | 4 +++- drivers/media/platform/mediatek/vcod

<    1   2   3   4   5   6   7   8   9   10   >