cause undefined behavior in case of nonzero value return.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 25aee3debe04 ("[media] Rename media/dvb as media/pci")
Signed-off-by: Aleksandr Burakov
Signed-off-by: Hans Verkuil
drivers/media/pci/ngene/ngene-
: ac7da4a73b10 ("media: staging: media: starfive: camss: Register devices")
Signed-off-by: Changhuang Liang
Signed-off-by: Hans Verkuil
drivers/staging/media/starfive/camss/stf-camss.c | 6 ++
1 file changed, 6 insertions(+)
---
diff --git a/drivers/staging/media/starfive/camss/stf-
to the void returning variant.
Signed-off-by: Uwe Kleine-König
Reviewed-by: Changhuang Liang
Signed-off-by: Hans Verkuil
drivers/staging/media/starfive/camss/stf-camss.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/drivers/staging/media/starfive/camss/stf-camss.c
This is an automatic generated email to let you know that the following patch
were queued:
Subject: media: v4l2-ctrls: add support for area type logging
Author: Hans Verkuil
Date:Wed Mar 6 14:49:21 2024 +0100
A 'case V4L2_CTRL_TYPE_AREA' was missing in v4l2_ctrl_type_op_log,
which led
Signed-off-by: Hans Verkuil
[hverkuil: dropped 'Fixes' tag, not relevant for this]
drivers/media/dvb-frontends/cxd2880/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/drivers/media/dvb-frontends/cxd2880/Kconfig
b/drivers/media/dvb-frontends/cxd2880/Kconfig
index
tch alters the function to accept buffers of a length of 1 too.
Signed-off-by: István Váradi
Signed-off-by: Hans Verkuil
[hverkuil: add spaces around '<', fix typo in 'sevaral']
drivers/media/usb/dvb-usb-v2/anysee.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/
ding field
in the v4l2_plane type is called "mem_offset". Use the correct name in
this example.
Signed-off-by: Matthijs Kooijman
Signed-off-by: Hans Verkuil
Documentation/userspace-api/media/v4l/mmap.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Documen
Signed-off-by: Hans Verkuil
drivers/media/v4l2-core/v4l2-common.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/drivers/media/v4l2-core/v4l2-common.c
b/drivers/media/v4l2-core/v4l2-common.c
index d34d210908d9..4165c815faef 100644
--- a/drivers/media/v4l2-core/v4l2-common.c
+++ b
Linux (V4L) driver-specific documentation" outline.
Signed-off-by: Martin Tůma
Signed-off-by: Hans Verkuil
Documentation/admin-guide/media/mgb4.rst | 35 ++--
1 file changed, 15 insertions(+), 20 deletions(-)
---
diff --git a/Documentation/admin-guide/media/m
, so address this by adding another cast.
Fixes: 406bb586dec0 ("media: rcar-vin: Add r8a779a0 support")
Signed-off-by: Arnd Bergmann
Reviewed-by: Niklas Söderlund
Signed-off-by: Hans Verkuil
drivers/media/platform/renesas/rcar-vin/rcar-vin.h | 2 +-
1 file changed, 1 insertion(+),
chunchao
Signed-off-by: Hans Verkuil
[hverkuil: added commit log]
Documentation/userspace-api/media/dvb/frontend_f_open.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/Documentation/userspace-api/media/dvb/frontend_f_open.rst
b/Documentation/userspace-api/media/dvb
:
drivers/media/radio/radio-shark2.c:197:17: warning: ‘%s’ directive output may
be truncated writing up to 35 bytes into a region of size 32
[-Wformat-truncation=]
Signed-off-by: Ricardo Ribalda
Signed-off-by: Hans Verkuil
drivers/media/radio/radio-shark2.c | 2 +-
1 file changed, 1 insertion
during runtime with check_object_size. That makes
gcc believe that the content of sbuf can be used before init.
Fix:
./include/linux/thread_info.h:215:17: warning: ‘sbuf’ may be used uninitialized
[-Wmaybe-uninitialized]
Signed-off-by: Ricardo Ribalda
Signed-off-by: Hans Verkuil
drivers/media
a value for
yuv_input_format.
Fix:
drivers/staging/media/tegra-video/tegra20.c:624:72: warning: ‘yuv_input_format’
may be used uninitialized [-Wmaybe-uninitialized]
Signed-off-by: Ricardo Ribalda
Reviewed-by: Luca Ceresoli
Signed-off-by: Hans Verkuil
drivers/staging/media/tegra-video/tegra20.c | 1
to replace open-coded
module_sdio_driver().
Signed-off-by: Krzysztof Kozlowski
Signed-off-by: Hans Verkuil
drivers/media/mmc/siano/smssdio.c | 25 +
1 file changed, 1 insertion(+), 24 deletions(-)
---
diff --git a/drivers/media/mmc/siano/smssdio.c
b/drivers/media/mmc/siano
the camera
subsystem for sc8280xp as found in the Lenovo x13s Laptop.
Signed-off-by: Bryan O'Donoghue
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Hans Verkuil
.../bindings/media/qcom,sc8280xp-camss.yaml| 512 +
1 file changed, 512 insertions(+)
---
diff --git
[1] for the
primary match.
[1]: https://elixir.bootlin.com/linux/v6.8/source/drivers/base/platform.c#L1353
Reviewed-by: Benson Leung
Reviewed-by: Krzysztof Kozlowski
Signed-off-by: Tzung-Bi Shih
Signed-off-by: Hans Verkuil
drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 9 -
1
which uses a Qualcomm
Gen 2 version 1.1 CSI-2 PHY.
The PHY can be configured as two phase or three phase in C-PHY or D-PHY
mode. This configuration supports two-phase D-PHY mode.
Reviewed-by: Konrad Dybcio
Signed-off-by: Bryan O'Donoghue
Signed-off-by: Hans Verkuil
.../platform/qcom/camss
Signed-off-by: Hans Verkuil
drivers/media/platform/qcom/camss/camss.h | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/drivers/media/platform/qcom/camss/camss.h
b/drivers/media/platform/qcom/camss/camss.h
index a0c2dcc779f0..ac15fe23a702 100644
--- a/drivers/media/platform/qcom/camss/camss.h
Dybcio
Signed-off-by: Bryan O'Donoghue
Signed-off-by: Hans Verkuil
.../platform/qcom/camss/camss-csiphy-3ph-1-0.c | 23 +---
drivers/media/platform/qcom/camss/camss-csiphy.c | 1 +
drivers/media/platform/qcom/camss/camss-vfe.c | 25 +-
drivers
blocks:
- 4 x VFE, 4 RDI per VFE
- 4 x VFE Lite, 4 RDI per VFE
- 4 x CSID
- 4 x CSID Lite
- 4 x CSI PHY
Signed-off-by: Bryan O'Donoghue
Acked-by: Konrad Dybcio
Signed-off-by: Hans Verkuil
drivers/media/platform/qcom/camss/camss.c | 307 ++
1 file changed, 307
with some minimal
indirection to differentiate between the silicon versions.
sdm845 uses vfe-170, sc8280xp uses vfe-175-200. Lets rename the file to
capture its wider scope than vfe-170 only.
Acked-by: Konrad Dybcio
Signed-off-by: Bryan O'Donoghue
Signed-off-by: Hans Verkuil
drivers/media/platform
if the
env are set but aren't pointing to a file.
Signed-off-by: Nicolas Dufresne
Signed-off-by: Hans Verkuil
utils/v4l2-tracer/meson.build | 5 +
utils/v4l2-tracer/v4l2-tracer.cpp | 42 ---
2 files changed, 18 insertions(+), 29 deletions(-)
---
http
tests on the visl device, check
(un)binding and module reloading.
Signed-off-by: Detlev Casanova
Signed-off-by: Hans Verkuil
contrib/test/test-media | 80 +++--
1 file changed, 78 insertions(+), 2 deletions(-)
---
http://git.linuxtv.org/cgit.cgi
On 05/04/2024 12:18, Wolfram Sang wrote:
> Hello Easwar,
>
> On Fri, Mar 29, 2024 at 05:00:24PM +, Easwar Hariharan wrote:
>> I2C v7, SMBus 3.2, and I3C specifications have replaced "master/slave"
>> with more appropriate terms. Inspired by and following on to Wolfram's
>> series to fix
On 05/04/2024 12:18, Wolfram Sang wrote:
> Hello Easwar,
>
> On Fri, Mar 29, 2024 at 05:00:24PM +, Easwar Hariharan wrote:
>> I2C v7, SMBus 3.2, and I3C specifications have replaced "master/slave"
>> with more appropriate terms. Inspired by and following on to Wolfram's
>> series to fix
On 05/04/2024 12:18, Wolfram Sang wrote:
> Hello Easwar,
>
> On Fri, Mar 29, 2024 at 05:00:24PM +, Easwar Hariharan wrote:
>> I2C v7, SMBus 3.2, and I3C specifications have replaced "master/slave"
>> with more appropriate terms. Inspired by and following on to Wolfram's
>> series to fix
On 05/04/2024 12:18, Wolfram Sang wrote:
> Hello Easwar,
>
> On Fri, Mar 29, 2024 at 05:00:24PM +, Easwar Hariharan wrote:
>> I2C v7, SMBus 3.2, and I3C specifications have replaced "master/slave"
>> with more appropriate terms. Inspired by and following on to Wolfram's
>> series to fix
structure and use the same function to print it. It almost matches with
edid-decode but the max channels is printed differently.
Signed-off-by: Sebastian Wick
Signed-off-by: Hans Verkuil
parse-cta-block.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/parse-cta
This is an automatic generated email to let you know that the following patch
were queued:
Subject: Merge tag 'v6.9-rc2' into media_stage
Author: Hans Verkuil
Date:Mon Apr 1 10:08:18 2024 +0200
Linux 6.9-rc2
This is needed to pull in commit 11763a8598f88 ("fs/9p: fi
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
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
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
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
-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
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 Mar 25 11:16:13 2024 +0100
Update v4l-utils to the latest kernel headers
on the number
of allocated buffers in the queue won't be possible.
Signed-off-by: Benjamin Gaignard
Reviewed-by: Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil
drivers/media/common/videobuf2/videobuf2-core.c | 4
include/media/videobuf2-core.h | 4 +++-
2 files changed
om+count-1].
Signed-off-by: Benjamin Gaignard
Signed-off-by: Hans Verkuil
utils/common/cv4l-helpers.h | 4 +
utils/common/v4l-helpers.h | 27 +--
utils/v4l2-compliance/v4l2-compliance.cpp | 1 +
utils/v4l2-compliance/v4l2-compliance.h | 1 +
'min_reqbufs_allocation' directly
to avoid duplicating the minimum number of buffers to allocate computation.
Signed-off-by: Benjamin Gaignard
Reviewed-by: Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil
drivers/media/common/videobuf2/videobuf2-core.c | 38 +++--
include/media
one buffer in their respective queue setup functions.
While at it rename vivid_create_queue() parameter.
Signed-off-by: Benjamin Gaignard
Reviewed-by: Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil
drivers/media/test-drivers/vimc/vimc-capture.c | 2 +-
drivers/media/test-drivers/vivid
in bufs array.
To be able to reuse these unused indices reworking how create->index
is set is mandatory.
Let __vb2_queue_alloc() decide which first index is correct and
forward this to the caller.
Signed-off-by: Benjamin Gaignard
Acked-by: Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil
driv
Chehab
Signed-off-by: Hans Verkuil
drivers/media/common/videobuf2/videobuf2-core.c | 71 ++---
include/media/videobuf2-core.h | 18 ---
2 files changed, 64 insertions(+), 25 deletions(-)
---
diff --git a/drivers/media/common/videobuf2/videobuf2-core.c
the last few buffers.
Introduce starting index to be flexible on range and change the loops
according to this parameter.
Signed-off-by: Benjamin Gaignard
Acked-by: Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil
drivers/media/common/videobuf2/videobuf2-core.c | 56 -
1 file
to remove in given by count field of
struct v4l2_remove_buffers and the range start at the index
specified in the same structure.
Signed-off-by: Benjamin Gaignard
Reviewed-by: Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil
[hverkuil: vidioc-remove-bufs.rst: mention no bufs are freed on error
drivers use it.
Signed-off-by: Benjamin Gaignard
Reviewed-by: Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil
drivers/media/test-drivers/vicodec/vicodec-core.c | 1 +
drivers/media/test-drivers/vimc/vimc-capture.c| 1 +
drivers/media/test-drivers/visl/visl-video.c | 1 +
drivers
own the decoded buffers. After a dynamic resolution change lot of
them could remain allocated but won't be used anymore so deleting
them save memory.
Signed-off-by: Benjamin Gaignard
Reviewed-by: Mauro Carvalho Chehab
Signed-off-by: Hans Verkuil
drivers/media/platform/verisilicon/hantro_v4l2
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 Mar 25 10:46:51 2024 +0100
Update v4l-utils to the latest kernel headers
-by: Sebastian Fricke
Reviewed-by: AngeloGioacchino Del Regno
Signed-off-by: Hans Verkuil
.../mediatek/vcodec/decoder/mtk_vcodec_dec.c | 2 +-
.../mediatek/vcodec/decoder/mtk_vcodec_dec_drv.h | 4 ++--
.../vcodec/decoder/vdec/vdec_av1_req_lat_if.c| 20
94d698309d81fb0
[5] https://gist.github.com/devarsht/44aaa4322454e85e01a8d65ac47c5edb
[6] https://gist.github.com/devarsht/2f956bcc6152dba728ce08cebdcebe1d
Signed-off-by: Devarsh Thakkar
Tested-by: Jackson Lee
Signed-off-by: Sebastian Fricke
Signed-off-by: Hans Verkuil
.../platform/chips
far not a complete
list of required changes but some small improvements.
Signed-off-by: Sebastian Fricke
Reviewed-by: AngeloGioacchino Del Regno
Signed-off-by: Hans Verkuil
drivers/media/platform/mediatek/vcodec/decoder/vdec/vdec_h264_req_if.c | 2 +-
.../platform/mediatek/vcodec/decoder/
entry,
write more fitting descriptions for the functions.
Signed-off-by: Sebastian Fricke
Reviewed-by: AngeloGioacchino Del Regno
Signed-off-by: Hans Verkuil
.../mediatek/vcodec/decoder/vdec/vdec_h264_req_common.h | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
---
diff
remove the unused header.
Signed-off-by: Andy Shevchenko
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/rc/gpio-ir-recv.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/drivers/media/rc/gpio-ir-recv.c b/drivers/media/rc/gpio-ir-recv.c
index 41eeec648803
the unused header.
Signed-off-by: Andy Shevchenko
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-core.c | 1 -
1 file changed, 1 deletion(-)
---
diff --git a/drivers/media/platform/st/sti/c8sectpfe/c8sectpfe-core.c
b/drivers/media
Signed-off-by: Andy Shevchenko
Reviewed-by: Andi Shyti
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/rc/ir-spi.c | 13 +
1 file changed, 9 insertions(+), 4 deletions(-)
---
diff --git a/drivers/media/rc/ir-spi.c b/drivers/media/rc/ir-spi.c
index bbc81bed4f90..28
-OF platforms.
Signed-off-by: Andy Shevchenko
Reviewed-by: Andi Shyti
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/rc/ir-spi.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/drivers/media/rc/ir-spi.c b/drivers/media/rc/ir-spi.c
index
it inside the ->probe() implementation.
Signed-off-by: Andy Shevchenko
Reviewed-by: Andi Shyti
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/rc/ir-spi.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/drivers/media/rc/ir-spi.c b/driv
-off-by: Andy Shevchenko
Reviewed-by: Andi Shyti
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/rc/ir-spi.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/drivers/media/rc/ir-spi.c b/drivers/media/rc/ir-spi.c
index 19102bdcfd6f..801de3d108cc
=scripts/coccinelle/api/device_attr_show.cocci
No functional change intended
Signed-off-by: Li Zhijian
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/rc/imon.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/drivers/media/rc/imon.c b
Shevchenko
Reviewed-by: Andi Shyti
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/rc/ir-spi.c | 12 +---
1 file changed, 5 insertions(+), 7 deletions(-)
---
diff --git a/drivers/media/rc/ir-spi.c b/drivers/media/rc/ir-spi.c
index 801de3d108cc..8fc8e496e6aa 100644
Signed-off-by: Ricardo B. Marliere
Signed-off-by: Sean Young
Signed-off-by: Hans Verkuil
drivers/media/rc/lirc_dev.c | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/drivers/media/rc/lirc_dev.c b/drivers/media/rc/lirc_dev.c
index caad59f76793..52aea4167
On 19/03/2024 4:14 am, Shengjiu Wang wrote:
> On Tue, Mar 19, 2024 at 10:24 AM Shengjiu Wang
> wrote:
>>
>> On Mon, Mar 18, 2024 at 11:56 PM Hans Verkuil wrote:
>>>
>>> Hi Shengjiu,
>>>
>>> I was about to prepare a pull request for this whe
document style
> - separate V4L2_AUDIO_FMT_LPCM and V4L2_CAP_AUDIO_M2M in separate commit
>
> changes in v3:
> - Modify documents for adding audio m2m support
> - Add audio virtual m2m driver
> - Defined V4L2_AUDIO_FMT_LPCM format type for audio.
> - Defined V4L2_CAP_AUDIO_M2M
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: avoid confusing error message
Author: Hans Verkuil
Date:Mon Mar 18 09:18:13 2024 +0100
In the --stress-test-random
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: (c)v4l-helpers.h: support more than 32 buffers
Author: Hans Verkuil
Date:Mon Mar 11 16:41:32 2024 +0100
The v4l2
On 08/03/2024 2:52 pm, Shengjiu Wang wrote:
> On Fri, Mar 8, 2024 at 8:06 PM Hans Verkuil wrote:
>>
>> On 08/03/2024 12:52 pm, Shengjiu Wang wrote:
>>> On Fri, Mar 8, 2024 at 3:34 PM Hans Verkuil wrote:
>>>>
>>>> Hi Shengjiu,
>>>>
&g
On 08/03/2024 12:52 pm, Shengjiu Wang wrote:
> On Fri, Mar 8, 2024 at 3:34 PM Hans Verkuil wrote:
>>
>> Hi Shengjiu,
>>
>> After thinking it over I think this patch can be improved:
>>
>> On 26/02/2024 9:28 am, Shengjiu Wang wrote:
>>>
Hi Shengjiu,
After thinking it over I think this patch can be improved:
On 26/02/2024 9:28 am, Shengjiu Wang wrote:
> The audio sample format definition is from alsa,
> the header file is include/uapi/sound/asound.h, but
> don't include this header file directly, because in
> user space, there
-by: Niklas Söderlund
Reviewed-by: Sakari Ailus
Signed-off-by: Hans Verkuil
drivers/media/platform/renesas/rcar-isp.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/drivers/media/platform/renesas/rcar-isp.c
b/drivers/media/platform/renesas/rcar-isp.c
index 530d65fc546b..4512ac338ca5
ewed-by: Tomasz Figa
Tested-by: Hans Verkuil
Signed-off-by: Hans Verkuil
[hverkuil: fix minor spelling mistake in log message]
drivers/media/usb/usbtv/usbtv-video.c | 7 ---
1 file changed, 7 deletions(-)
---
diff --git a/drivers/media/usb/usbtv/usbtv-video.c
b/drivers/media/usb/usbtv
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-compliance: add --show-timestamp option
Author: Hans Verkuil
Date:Fri Mar 1 11:26:24 2024 +0100
Add a new option to prefix
On 29/02/2024 20:47, Sebastian Wick wrote:
> On Thu, Feb 22, 2024 at 07:14:07PM +0100, Maxime Ripard wrote:
>> The i915 driver has a property to force the RGB range of an HDMI output.
>> The vc4 driver then implemented the same property with the same
>> semantics. KWin has support for it, and a PR
On 2/29/24 12:33, Paweł Anikiel wrote:
> On Thu, Feb 29, 2024 at 9:02 AM Hans Verkuil wrote:
>>
>> On 28/02/2024 16:34, Paweł Anikiel wrote:
>>> On Wed, Feb 28, 2024 at 12:25 PM Hans Verkuil
>>> wrote:
>>>>
>>>> Hi Paweł,
>>&g
On 28/02/2024 16:34, Paweł Anikiel wrote:
> On Wed, Feb 28, 2024 at 12:25 PM Hans Verkuil
> wrote:
>>
>> Hi Paweł,
>>
>> On 21/02/2024 17:02, Paweł Anikiel wrote:
>>> Currently, .query_dv_timings() is defined as a video callback without
>>> a pad
On 28/02/2024 16:08, Paweł Anikiel wrote:
> Hi Hans, thanks for the review!
>
> On Wed, Feb 28, 2024 at 12:24 PM Hans Verkuil
> wrote:
>>
>> Hi Paweł,
>>
>> On 21/02/2024 17:02, Paweł Anikiel wrote:
>>> Add v4l2 driver for the Google Chameleon v3 f
variant.
Signed-off-by: Uwe Kleine-König
Signed-off-by: Hans Verkuil
drivers/media/platform/nuvoton/npcm-video.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/drivers/media/platform/nuvoton/npcm-video.c
b/drivers/media/platform/nuvoton/npcm-video.c
index
returning variant.
Signed-off-by: Uwe Kleine-König
Reviewed-by: Laurent Pinchart
Signed-off-by: Hans Verkuil
drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/drivers/media/platform/nxp/imx8-isi/imx8-isi-core.c
b/drivers
returning variant.
Signed-off-by: Uwe Kleine-König
Signed-off-by: Hans Verkuil
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c
b/drivers/media/platform/ti/j721e
convince gcc-11 that the variable is not used uninitialized.
drivers/media/usb/s2255/s2255drv.c:1914:25: warning: 'transBuffer' may be used
uninitialized [-Wmaybe-uninitialized]
Signed-off-by: Ricardo Ribalda
Signed-off-by: Hans Verkuil
drivers/media/usb/s2255/s2255drv.c | 7 ---
1 file
out
a deallocation thereafter. After the following call chain:
saa7134_go7007_init
|-> go7007_boot_encoder
|-> go7007_load_encoder
|-> kfree(go)
go is freed and thus bounce is leaked.
Fixes: 95ef39403f89 ("[media] go7007: remember boot firmware")
Signed-off-by: Zhipeng L
variant.
Signed-off-by: Uwe Kleine-König
Signed-off-by: Hans Verkuil
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-core.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-core.c
b/drivers/media/platform/st
Reviewed-by: Justin Stitt
Signed-off-by: Hans Verkuil
drivers/media/dvb-frontends/stv0367.c | 34 --
1 file changed, 8 insertions(+), 26 deletions(-)
---
diff --git a/drivers/media/dvb-frontends/stv0367.c
b/drivers/media/dvb-frontends/stv0367.c
index 48
free the resources it allocates, like the error-handling of
ttpci_budget_init does. Besides, there are two fixme comment refers to
such deallocations.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Zhipeng Lu
Signed-off-by: Hans Verkuil
drivers/media/pci/ttpci/budget-av.c | 8 +
(7711): pvrusb2: Fix race on module unload")
Signed-off-by: Edward Adam Davis
Signed-off-by: Hans Verkuil
drivers/media/usb/pvrusb2/pvrusb2-context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/drivers/media/usb/pvrusb2/pvrusb2-context.c
b/drivers/media/usb/pvrus
("media: mtk-vcodec: abstract firmware interface")
Signed-off-by: Arnd Bergmann
Reviewed-by: Ricardo Ribalda
Signed-off-by: Hans Verkuil
drivers/media/platform/mediatek/mdp/mtk_mdp_vpu.c | 2 +-
.../media/platform/mediatek/vcodec/common/mtk_vcodec_fw_vpu.c | 10 +
On 21/02/2024 17:02, Paweł Anikiel wrote:
> Add driver for the Intel DisplayPort RX FPGA IP
>
> Signed-off-by: Paweł Anikiel
> ---
> drivers/media/platform/intel/Kconfig | 12 +
> drivers/media/platform/intel/Makefile |1 +
> drivers/media/platform/intel/intel-dprx.c | 2176
Hi Paweł,
On 21/02/2024 17:02, Paweł Anikiel wrote:
> Currently, .query_dv_timings() is defined as a video callback without
> a pad argument. This is a problem if the subdevice can have different
> dv timings for each pad (e.g. a DisplayPort receiver with multiple
> virtual channels).
>
> To
Hi Paweł,
On 21/02/2024 17:02, Paweł Anikiel wrote:
> Add v4l2 driver for the Google Chameleon v3 framebuffer device.
This is just a video capture device, right? A framebuffer device is something
that lives in drivers/video/fbdev.
It is *very* confusing to see the term 'framebuffer' used in a
On 26/02/2024 18:32, Ricardo Ribalda wrote:
> Building with LLVM=1 throws the following warning:
> drivers/media/usb/pvrusb2/pvrusb2-context.c:110:6: warning: cast from 'void
> (*)(struct pvr2_context *)' to 'void (*)(void *)' converts to incompatible
> function type
On 26/02/2024 18:32, Ricardo Ribalda wrote:
> Building with LLVM=1 throws the following warning:
> drivers/media/pci/sta2x11/sta2x11_vip.c:1057:6: warning: cast from
> 'irqreturn_t (*)(int, struct sta2x11_vip *)' (aka 'enum irqreturn (*)(int,
> struct sta2x11_vip *)') to 'irq_handler_t' (aka
returning variant.
Signed-off-by: Uwe Kleine-König
Reviewed-by: Nicolas Dufresne
Signed-off-by: Sebastian Fricke
Signed-off-by: Hans Verkuil
drivers/media/platform/chips-media/wave5/wave5-vpu.c | 6 ++
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/drivers/media/platform
and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.
Signed-off-by: Thorsten Blum
Reviewed-by: Nicolas Dufresne
Signed-off-by: Sebastian Fricke
Signed-off-by: Hans Verkuil
drivers/media/platform/chips-media/wave5/wave5-hw.c | 2 +-
drivers/media/platform/chips-media/wave5/wave5-vpu
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: replace --fix-edid-checksums by --keep-edid-checksums
Author: Hans Verkuil
Date:Tue Feb 27 16:41:02 2024 +0100
Ricardo,
First of all, note the typo in theo subject line: vcodedc -> vcodec.
There is also a similar (but not identical!) patch from Arnd:
https://patchwork.linuxtv.org/project/linux-media/patch/20240224121059.1806691-1-a...@kernel.org/
That patch and yours share the change to
On 27/02/2024 04:44, Shengjiu Wang wrote:
> On Mon, Feb 26, 2024 at 9:55 PM Nicolas Dufresne wrote:
>>
>> Le lundi 26 février 2024 à 16:28 +0800, Shengjiu Wang a écrit :
>>> The audio sample format definition is from alsa,
>>> the header file is include/uapi/sound/asound.h, but
>>> don't include
On 22/02/2024 04:50, Shengjiu Wang wrote:
> On Wed, Feb 21, 2024 at 7:10 PM Hans Verkuil wrote:
>>
>> On 19/02/2024 13:56, Mauro Carvalho Chehab wrote:
>>> Em Mon, 19 Feb 2024 12:05:02 +0800
>>> Shengjiu Wang escreveu:
>>>
>>>> Hi Mauro
&g
This is an automatic generated email to let you know that the following patch
were queued:
Subject: Merge tag 'tags/media-next-rkisp1-20240223' of
git://git.kernel.org/pub/scm/linux/kernel/git/pinchartl/linux.git into
media_stage
Author: Hans Verkuil
Date:Fri Feb 23 15:17:10 2024 +0100
used to pass result from alvium_set_frame_interval() to
alvium_set_frame_rate() that writes this info into the hw reg.
Replace it with a function parameter.
Signed-off-by: Tommaso Merciai
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Hans Verkuil
drivers/media/i2c
Signed-off-by: Hans Verkuil
drivers/media/i2c/alvium-csi2.c | 52 +++--
1 file changed, 19 insertions(+), 33 deletions(-)
---
diff --git a/drivers/media/i2c/alvium-csi2.c b/drivers/media/i2c/alvium-csi2.c
index 1cda0a73bf07..725cd382323a 100644
--- a/drivers
when the i2c frequency is 400kHz.
The changes are fixing both the greenish issue and image capture at 400kHz
i2c frequency on Renesas RZ/G2L SMARC EVK platforms.
Signed-off-by: Biju Das
Reviewed-by: Wolfram Sang
Reviewed-by: Kieran Bingham
Signed-off-by: Sakari Ailus
Signed-off-by: Hans Verkuil
to
simplify the driver.
Signed-off-by: Tommaso Merciai
Reviewed-by: Laurent Pinchart
Signed-off-by: Sakari Ailus
Signed-off-by: Hans Verkuil
drivers/media/i2c/alvium-csi2.c | 48 +
drivers/media/i2c/alvium-csi2.h | 1 -
2 files changed, 15 insertions(+), 34
301 - 400 of 29729 matches
Mail list logo