[git:media_stage/master] media: atomisp: Make MC link from ISP to /dev/video# output node immutable

2024-04-11 Thread Mauro Carvalho Chehab
# output v4l2-dev is always enabled and immutable, mark it as such. Reviewed-by: Kieran Bingham Reviewed-by: Andy Shevchenko Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion

[git:media_stage/master] media: ir_toy: fix a memleak in irtoy_tx

2024-03-24 Thread Mauro Carvalho Chehab
, or there is a memleak. Fixes: 4114978dcd24 ("media: ir_toy: prevent device from hanging during transmit") Signed-off-by: Zhipeng Lu Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab drivers/media/rc/ir_toy.c | 2 ++ 1 file changed, 2 insertions(+) --- diff --git a/drivers/media/r

[git:media_stage/master] media: atomisp: Adjust for v4l2_subdev_state handling changes in 6.8

2024-03-24 Thread Mauro Carvalho Chehab
the v4l2_subdev's active state, so that sensor drivers which are using the v4l2_subdev's active state to store their state keep working. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_cmd.c| 58 - .../staging/media

[git:media_stage/master] media: pwm-ir-tx: Depend on CONFIG_HIGH_RES_TIMERS

2024-03-24 Thread Mauro Carvalho Chehab
rrupt context"), pwm-ir-tx uses high resolution timers for IR signal generation when the pwm can be used from atomic context. Ensure they are available. Fixes: 363d0e56285e ("media: pwm-ir-tx: Trigger edges from hrtimer interrupt context") Signed-off-by: Sean Young Signed-off-by: M

[git:media_stage/master] media: rc: bpf attach/detach requires write permission

2024-03-24 Thread Mauro Carvalho Chehab
...@vger.kernel.org Signed-off-by: Sean Young Signed-off-by: Mauro Carvalho Chehab drivers/media/rc/bpf-lirc.c | 6 +++--- drivers/media/rc/lirc_dev.c | 5 - drivers/media/rc/rc-core-priv.h | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) --- diff --git a/drivers/media/rc/bpf-lirc.c b

[git:media_stage/master] media: Revert "media: rkisp1: Drop IRQF_SHARED"

2024-03-24 Thread Mauro Carvalho Chehab
-173007628...@ideasonboard.com Reported-by: Mikhail Rudenko Signed-off-by: Tomi Valkeinen Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/rockchip/rkisp1/rkisp1-dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/medi

[git:media_stage/master] media: rkisp1: Fix IRQ handling due to shared interrupts

2024-03-24 Thread Mauro Carvalho Chehab
-off-by: Mauro Carvalho Chehab .../platform/rockchip/rkisp1/rkisp1-capture.c | 3 +++ .../media/platform/rockchip/rkisp1/rkisp1-common.h | 2 ++ .../media/platform/rockchip/rkisp1/rkisp1-csi.c| 3 +++ .../media/platform/rockchip/rkisp1/rkisp1-dev.c| 22

Re: Simple analytics for docs.kernel.org and patchwork, please?

2024-02-23 Thread Mauro Carvalho Chehab
so, please notice that the second query doesn't use any index on Patwork 3.1. I ended manually creating an index to speed it up on mariadb with: CREATE INDEX idx_patchwork_patch_stateid_date on patchwork_patch(state_id, date); I hope that helps. Regards, Mauro --- #!/usr/bin/env python3

Re: [PATCH v12 08/15] media: uapi: Define audio sample format fourcc type

2024-02-19 Thread Mauro Carvalho Chehab
Em Mon, 19 Feb 2024 12:05:02 +0800 Shengjiu Wang escreveu: > Hi Mauro > > On Sat, Feb 17, 2024 at 5:19 PM Mauro Carvalho Chehab > wrote: > > > > Em Thu, 18 Jan 2024 20:32:01 +0800 > > Shengjiu Wang escreveu: > > > > > The audio sample format d

Re: [PATCH v12 10/15] media: uapi: Add audio rate controls support

2024-02-19 Thread Mauro Carvalho Chehab
Em Mon, 19 Feb 2024 14:03:37 +0800 Shengjiu Wang escreveu: > On Sat, Feb 17, 2024 at 5:57 PM Mauro Carvalho Chehab > wrote: > > > > Em Thu, 18 Jan 2024 20:32:03 +0800 > > Shengjiu Wang escreveu: > > > > > Add V4L2_CID_M2M_AUDIO_SOURCE_RATE and V4L

Re: [PATCH v12 10/15] media: uapi: Add audio rate controls support

2024-02-17 Thread Mauro Carvalho Chehab
Em Thu, 18 Jan 2024 20:32:03 +0800 Shengjiu Wang escreveu: > Add V4L2_CID_M2M_AUDIO_SOURCE_RATE and V4L2_CID_M2M_AUDIO_DEST_RATE > new IDs for rate control. > > Add V4L2_CID_M2M_AUDIO_SOURCE_RATE_OFFSET and > V4L2_CID_M2M_AUDIO_DEST_RATE_OFFSET for clock drift. > > Signed-off-by: Shengjiu Wang

Re: [PATCH v12 07/15] media: v4l2: Add audio capture and output support

2024-02-17 Thread Mauro Carvalho Chehab
Em Thu, 18 Jan 2024 20:32:00 +0800 Shengjiu Wang escreveu: > Audio signal processing has the requirement for memory to > memory similar as Video. > > This patch is to add this support in v4l2 framework, defined > new buffer type V4L2_BUF_TYPE_AUDIO_CAPTURE and > V4L2_BUF_TYPE_AUDIO_OUTPUT,

Re: [PATCH v12 08/15] media: uapi: Define audio sample format fourcc type

2024-02-17 Thread Mauro Carvalho Chehab
Em Thu, 18 Jan 2024 20:32:01 +0800 Shengjiu Wang escreveu: > 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 is another copy in alsa-lib. > There will be conflict in

[git:media_tree/master] media: cx24110: clean up some coding style issues

2024-02-17 Thread Mauro Carvalho Chehab
ld be "foo *bar" ERROR: spaces required around that '=' (ctx:VxV) ERROR: space required after that ',' (ctx:VxV) Link: https://lore.kernel.org/linux-media/2024005856.14655-1-chenxb_99...@126.com Signed-off-by: XueBing Chen Signed-off-by: Mauro Carvalho Chehab drivers/media/dvb

[git:media_tree/master] media: dvb-frontends/dvb-pll: Remove usage of the deprecated ida_simple_xx() API

2024-02-17 Thread Mauro Carvalho Chehab
.git.christophe.jail...@wanadoo.fr Signed-off-by: Christophe JAILLET Signed-off-by: Mauro Carvalho Chehab drivers/media/dvb-frontends/dvb-pll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/dvb-frontends/dvb-pll.c b/drivers/media/dvb-frontends/dvb

[git:media_tree/master] media: docs: uAPI: dvb/osd: completing the documentation

2024-02-17 Thread Mauro Carvalho Chehab
. Revising the documentation, adding missing parts and arranging the documentation files new. This patch contains the documentation of osd.h. Link: https://lore.kernel.org/linux-media/20240128233249.32794-3-herd...@nurfuerspam.de Signed-off-by: Stefan Herdler Signed-off-by: Mauro Carvalho Chehab

[git:media_tree/master] media: dvb: remove redundant assignment to variable ret

2024-02-17 Thread Mauro Carvalho Chehab
] Link: https://lore.kernel.org/linux-media/20240116115002.2265367-1-colin.i.k...@gmail.com Signed-off-by: Colin Ian King Signed-off-by: Mauro Carvalho Chehab drivers/media/dvb-frontends/bcm3510.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- diff --git a/drivers/media/dvb

[git:media_tree/master] media: drivers/media/dvb-core: copy user arrays safely

2024-02-17 Thread Mauro Carvalho Chehab
Carvalho Chehab drivers/media/dvb-core/dvb_frontend.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) --- diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 9293b058ab99..93d3378a0df4 100644 --- a/drivers/media/dvb-core/dvb_frontend.c

[git:media_tree/master] media: docs: uAPI: dvb/audio: completing the documentation (function calls)

2024-02-17 Thread Mauro Carvalho Chehab
-by: Stefan Herdler Signed-off-by: Mauro Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_audio.rst | 1195 1 file changed, 1195 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_audio.rst b/Documentation/userspace-api/media/dvb

[git:media_tree/master] media: docs: uAPI: dvb/audio: completing the documentation (data types)

2024-02-17 Thread Mauro Carvalho Chehab
Herdler Signed-off-by: Mauro Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_audio.rst | 447 + 1 file changed, 447 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_audio.rst b/Documentation/userspace-api/media/dvb/legacy_dvb_audio.rst

[git:media_tree/master] media: edia: dvbdev: fix a use-after-free

2024-02-17 Thread Mauro Carvalho Chehab
s pointer is transferred to kref_put and triggering a use-after-free. Link: https://lore.kernel.org/linux-media/20240203134046.3120099-1-alexi...@zju.edu.cn Fixes: b61901024776 ("V4L/DVB (5244): Dvbdev: fix illegal re-usage of fileoperations struct") Signed-off-by: Zhipeng Lu Si

[git:media_tree/master] media: docs: uAPI: dvb/video: completing the documentation (data types)

2024-02-17 Thread Mauro Carvalho Chehab
Herdler Signed-off-by: Mauro Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_video.rst | 798 + 1 file changed, 798 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_video.rst b/Documentation/userspace-api/media/dvb/legacy_dvb_video.rst

[git:media_tree/master] media: docs: uAPI: dvb/decoder: completing the documentation

2024-02-17 Thread Mauro Carvalho Chehab
Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_apis.rst| 1 + .../media/dvb/legacy_dvb_decoder_api.rst | 61 ++ 2 files changed, 62 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_apis.rst b/Documentation/userspace-api

[git:media_tree/master] media: docs: uAPI: dvb/video: completing the documentation (function calls)

2024-02-17 Thread Mauro Carvalho Chehab
-by: Stefan Herdler Signed-off-by: Mauro Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_video.rst | 1632 1 file changed, 1632 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_video.rst b/Documentation/userspace-api/media/dvb

[git:dtv-scan-tables/master] isdb-t: Update Brazil channel lists

2024-02-11 Thread Mauro Carvalho Chehab
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: isdb-t: Update Brazil channel lists Author: Mauro Carvalho Chehab Date:Wed Jan 31 13:08:32 2024 +0100 Use the current lists from

[git:media_stage/master] media: drivers/media/dvb-core: copy user arrays safely

2024-02-06 Thread Mauro Carvalho Chehab
Carvalho Chehab drivers/media/dvb-core/dvb_frontend.c | 12 1 file changed, 8 insertions(+), 4 deletions(-) --- diff --git a/drivers/media/dvb-core/dvb_frontend.c b/drivers/media/dvb-core/dvb_frontend.c index 9293b058ab99..93d3378a0df4 100644 --- a/drivers/media/dvb-core/dvb_frontend.c

[git:media_stage/master] media: dvb-frontends/dvb-pll: Remove usage of the deprecated ida_simple_xx() API

2024-02-06 Thread Mauro Carvalho Chehab
.git.christophe.jail...@wanadoo.fr Signed-off-by: Christophe JAILLET Signed-off-by: Mauro Carvalho Chehab drivers/media/dvb-frontends/dvb-pll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- diff --git a/drivers/media/dvb-frontends/dvb-pll.c b/drivers/media/dvb-frontends/dvb

[git:media_stage/master] media: docs: uAPI: dvb/audio: completing the documentation (function calls)

2024-02-06 Thread Mauro Carvalho Chehab
-by: Stefan Herdler Signed-off-by: Mauro Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_audio.rst | 1195 1 file changed, 1195 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_audio.rst b/Documentation/userspace-api/media/dvb

[git:media_stage/master] media: docs: uAPI: dvb/video: completing the documentation (function calls)

2024-02-06 Thread Mauro Carvalho Chehab
-by: Stefan Herdler Signed-off-by: Mauro Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_video.rst | 1632 1 file changed, 1632 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_video.rst b/Documentation/userspace-api/media/dvb

[git:media_stage/master] media: cx24110: clean up some coding style issues

2024-02-06 Thread Mauro Carvalho Chehab
ld be "foo *bar" ERROR: spaces required around that '=' (ctx:VxV) ERROR: space required after that ',' (ctx:VxV) Link: https://lore.kernel.org/linux-media/2024005856.14655-1-chenxb_99...@126.com Signed-off-by: XueBing Chen Signed-off-by: Mauro Carvalho Chehab drivers/media/dvb

[git:media_stage/master] media: docs: uAPI: dvb/osd: completing the documentation

2024-02-06 Thread Mauro Carvalho Chehab
. Revising the documentation, adding missing parts and arranging the documentation files new. This patch contains the documentation of osd.h. Link: https://lore.kernel.org/linux-media/20240128233249.32794-3-herd...@nurfuerspam.de Signed-off-by: Stefan Herdler Signed-off-by: Mauro Carvalho Chehab

[git:media_stage/master] media: dvb: remove redundant assignment to variable ret

2024-02-06 Thread Mauro Carvalho Chehab
] Link: https://lore.kernel.org/linux-media/20240116115002.2265367-1-colin.i.k...@gmail.com Signed-off-by: Colin Ian King Signed-off-by: Mauro Carvalho Chehab drivers/media/dvb-frontends/bcm3510.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- diff --git a/drivers/media/dvb

[git:media_stage/master] media: docs: uAPI: dvb/audio: completing the documentation (data types)

2024-02-06 Thread Mauro Carvalho Chehab
Herdler Signed-off-by: Mauro Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_audio.rst | 447 + 1 file changed, 447 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_audio.rst b/Documentation/userspace-api/media/dvb/legacy_dvb_audio.rst

[git:media_stage/master] media: edia: dvbdev: fix a use-after-free

2024-02-06 Thread Mauro Carvalho Chehab
s pointer is transferred to kref_put and triggering a use-after-free. Link: https://lore.kernel.org/linux-media/20240203134046.3120099-1-alexi...@zju.edu.cn Fixes: b61901024776 ("V4L/DVB (5244): Dvbdev: fix illegal re-usage of fileoperations struct") Signed-off-by: Zhipeng Lu Si

[git:media_stage/master] media: docs: uAPI: dvb/video: completing the documentation (data types)

2024-02-06 Thread Mauro Carvalho Chehab
Herdler Signed-off-by: Mauro Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_video.rst | 798 + 1 file changed, 798 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_video.rst b/Documentation/userspace-api/media/dvb/legacy_dvb_video.rst

[git:media_stage/master] media: docs: uAPI: dvb/decoder: completing the documentation

2024-02-06 Thread Mauro Carvalho Chehab
Carvalho Chehab .../userspace-api/media/dvb/legacy_dvb_apis.rst| 1 + .../media/dvb/legacy_dvb_decoder_api.rst | 61 ++ 2 files changed, 62 insertions(+) --- diff --git a/Documentation/userspace-api/media/dvb/legacy_dvb_apis.rst b/Documentation/userspace-api

[git:dtv-scan-tables/master] dtv-scan-tables: added channels for Lviv, Ukraine

2024-02-06 Thread Mauro Carvalho Chehab
channels for Lviv, Ukraine Link: https://lore.kernel.org/linux-media/cakx9iskatha1qagklrfbkyqwpvwipeztch33xvqw3ryxtm+...@mail.gmail.com Signed-off-by: Mauro Carvalho Chehab dvb-t/ua-Lviv | 36 1 file changed, 36 insertions(+) --- http://git.linuxtv.org/cgit.cgi

[git:media_tree/master] media: atomisp: Fix spelling mistakes in ia_css_irq.h

2024-02-06 Thread Mauro Carvalho Chehab
"in" to "is" in all three comments. Link: https://lore.kernel.org/r/20231218151704.449883-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/ia_css_irq.h | 6 +++--

[git:media_tree/master] media: atomisp: Refactor sensor crop + fmt setting

2024-02-06 Thread Mauro Carvalho Chehab
ion. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_cmd.c | 141 ++-- 1 file changed, 58 insertions(+), 83 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/atomisp_cmd.c b/drivers/staging/media/atom

[git:media_tree/master] media: atomisp: Removed duplicate comment and fixed comment format

2024-02-06 Thread Mauro Carvalho Chehab
* Fixed up minor comment format issue Link: https://lore.kernel.org/r/20231014083545.173238-1-bergh.jonat...@gmail.com Signed-off-by: Jonathan Bergh Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/i2c/gc2235.h | 5 + 1 file changed, 1 insertion

[git:media_tree/master] media: atomisp: Adjust for v4l2_subdev_state handling changes in 6.8

2024-02-06 Thread Mauro Carvalho Chehab
the v4l2_subdev's active state, so that sensor drivers which are using the v4l2_subdev's active state to store their state keep working. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_cmd.c| 58 - .../staging/media

[git:media_tree/master] media: atomisp: Fix spelling mistake in isp2400_input_system_global.h

2024-02-06 Thread Mauro Carvalho Chehab
..@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/isp2400_input_system_global.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/staging/media/atomisp/pci/isp2400_inpu

[git:media_tree/master] media: atomisp: Fix a spelling mistake in sh_css_defs.h

2024-02-06 Thread Mauro Carvalho Chehab
://lore.kernel.org/r/20231218153200.450148-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/sh_css_defs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/stagi

[git:media_tree/master] media: atomisp: Remove redundant assignments to variables

2024-02-06 Thread Mauro Carvalho Chehab
that are never read, the assignment are redundant and can be removed. Cleans up cppcheck unreadVariable warnings. Link: https://lore.kernel.org/r/20231219143929.367929-1-colin.i.k...@gmail.com Signed-off-by: Colin Ian King Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../media

[git:media_tree/master] media: atomisp: Fix repeated "of" in isp2400_input_system_public.h

2024-02-06 Thread Mauro Carvalho Chehab
Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/isp2400_input_system_public.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/staging/media/atomisp/pci/isp2400_input_system_public.h b/drivers/staging/media/a

[git:media_tree/master] media: atomisp: Fix spelling mistakes in circbuf.c

2024-02-06 Thread Mauro Carvalho Chehab
Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c b/drivers/staging/media/atomisp/pci/base/circbuf/src/circbuf.c index 06f039

[git:media_tree/master] media: atomisp: Fix spelling mistake in ia_css_circbuf.h

2024-02-06 Thread Mauro Carvalho Chehab
off-by: Mauro Carvalho Chehab .../staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- diff --git a/drivers/staging/media/atomisp/pci/base/circbuf/interface/ia_css_circbuf.h b/drivers/staging/media/atomisp/pci/base/circ

[git:media_tree/master] media: atomisp: Fix spelling mistakes in ia_css_macc_table.host.c

2024-02-06 Thread Mauro Carvalho Chehab
il.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../atomisp/pci/isp/kernels/macc/macc_1.0/ia_css_macc_table.host.c| 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/isp/kernel

[git:media_tree/master] media: atomisp: Fix spelling mistakes in ia_css_hdr_types.h

2024-02-06 Thread Mauro Carvalho Chehab
Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/isp/kernels/hdr/ia_css_hdr_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/isp/kernels/hdr/ia_css_hdr_types.h b/d

[git:media_tree/master] media: atomisp: Fix spelling mistakes in queue.c

2024-02-06 Thread Mauro Carvalho Chehab
Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c b/drivers/staging/media/atomisp/pci/runtime/queue/src/q

[git:media_tree/master] media: atomisp: Fix spelling mistakes in sh_css_mipi.c

2024-02-06 Thread Mauro Carvalho Chehab
4152.79712-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/sh_css_mipi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/sh_c

[git:media_tree/master] media: atomisp: Fix spelling mistakes in rmgr_vbuf.c

2024-02-06 Thread Mauro Carvalho Chehab
ee. Link: https://lore.kernel.org/r/20231223072245.81630-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/runtime/rmgr/src/rmgr_vbuf.c | 6 +++--- 1 file changed, 3 insertions(+), 3

[git:media_tree/master] media: atomisp: Fix spelling mistake in ia_css_acc_types.h

2024-02-06 Thread Mauro Carvalho Chehab
e.kernel.org/r/20231223141157.95501-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Reviewed-by: Randy Dunlap Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/ia_css_acc_types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---

[git:media_tree/master] media: atomisp: Fix atomisp_pci_remove()

2024-02-06 Thread Mauro Carvalho Chehab
ssage -Add missing devm_free_irq(), atomisp_uninitialize_modules() and pci_free_irq_vectors() calls -Move atomisp_msi_irq_uninit() down so that the remove() order is an exact mirror of the probe() order Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/a

[git:media_tree/master] media: atomisp: Bind and do power-management without firmware

2024-02-06 Thread Mauro Carvalho Chehab
the same as the non-staging, pm-only drivers/platform/x86/intel/atomisp2/pm.c driver. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../staging/media/atomisp/pci/atomisp_internal.h | 1 + drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 32 -- 2

[git:media_tree/master] media: atomisp: Fix spelling mistake in binary.c

2024-02-06 Thread Mauro Carvalho Chehab
: ''' ./runtime/binary/src/binary.c:537: spcification ==> specification ''' This patch fixes thisspelling mistake. Link: https://lore.kernel.org/r/20231223091521.85467-1-kdipendr...@gmail.com Signed-off-by: Dipendra Khadka Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab driv

[git:media_tree/master] media: atomisp: Remove remaining deferred firmware loading code

2024-02-06 Thread Mauro Carvalho Chehab
m sh_css.c (this was always true now) - Adjust some function kernel-doc comments to match Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab .../media/atomisp/pci/atomisp_compat_css20.c | 2 +- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 9 -- drivers/sta

[git:media_tree/master] media: atomisp: Remove s_routing subdev call

2024-02-06 Thread Mauro Carvalho Chehab
in calling it. Also the 3 0 arguments are not the arguments which a successful s_routing call is supposed to take. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_ioctl.c | 8 1 file changed, 8 deletions(-) --- diff --git a/drivers

[git:media_tree/master] media: atomisp: Drop is_valid_device() function

2024-02-06 Thread Mauro Carvalho Chehab
is no longer necessary. The main probe() already contains a similar switch (id->device & ATOMISP_PCI_DEVICE_SOC_MASK) checking for a known device_id. Move the revision check into the main probe() and drop the is_valid_device() function. Signed-off-by: Hans de Goede Signed-off-by: Mauro C

[git:media_tree/master] media: atomisp: Call pcim_enable_device() and pcim_iomap_regions() later

2024-02-06 Thread Mauro Carvalho Chehab
de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 45 +++- 1 file changed, 20 insertions(+), 25 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c

[git:media_tree/master] media: platform: mtk-mdp3: add support second sets of MMSYS

2024-02-06 Thread Mauro Carvalho Chehab
. These subsets coordinate and control the clock, power, and register settings required for the components of MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_cfg_data.c

[git:media_tree/master] media: atomisp: Fix probe error-exit path

2024-02-06 Thread Mauro Carvalho Chehab
to the same place in the error-exit path Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 39 1 file changed, 19 insertions(+), 20 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci

[git:media_tree/master] media: platform: mtk-mdp3: add checks for dummy components

2024-02-06 Thread Mauro Carvalho Chehab
. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_cfg_data.c| 8 +++ .../media/platform/mediatek/mdp3/mtk-mdp3-cfg.h| 1 + .../media/platform/mediatek/mdp3/mtk-mdp3

[git:media_tree/master] media: atomisp: Fix probe()/remove() power-management

2024-02-06 Thread Mauro Carvalho Chehab
-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 96 +--- 1 file changed, 36 insertions(+), 60 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp_v4l2.c index 7d99b53107b0

[git:media_tree/master] media: atomisp: Group cpu_latency_qos_add_request() call together with other PM calls

2024-02-06 Thread Mauro Carvalho Chehab
in probe() together with the other PM calls in probe(). This is a preparation patch for futher PM fixes / work. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions

[git:media_tree/master] media: atomisp: Replace atomisp_drvfs attr with using driver.dev_groups attr

2024-02-06 Thread Mauro Carvalho Chehab
, this commit fixes this. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_drvfs.c | 144 -- drivers/staging/media/atomisp/pci/atomisp_drvfs.h | 5 +- drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 9 +- 3 files

[git:media_tree/master] media: atomisp: Move power-management [un]init into atomisp_pm_[un]init()

2024-02-06 Thread Mauro Carvalho Chehab
into atomisp_pm_[un]init() helper functions. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 69 +--- 1 file changed, 38 insertions(+), 31 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci

[git:media_tree/master] media: atomisp: Remove unnecessary msleep(10) from atomisp_mrfld_power() error path

2024-02-06 Thread Mauro Carvalho Chehab
. Sleeping an extra 10 ms in the timeout path makes little sense. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/media/atomisp/pci/atomisp_v4l2.c | 3 --- 1 file changed, 3 deletions(-) --- diff --git a/drivers/staging/media/atomisp/pci/atomisp_v4l2.c b/drivers

[git:media_tree/master] media: atomisp: Update TODO

2024-02-06 Thread Mauro Carvalho Chehab
the atomisp specific ones, this has been done. Remove the TODO item for gracefully handling missing firmware the "media: atomisp: Bind and do power-management without firmware" changes have fixed this. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab drivers/staging/med

[git:media_tree/master] media: platform: mtk-mdp3: add support second sets of MUTEX

2024-02-06 Thread Mauro Carvalho Chehab
a corresponding second set of MUTEX (MUTEX2) to assist in handling SOF/EOF. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 57

[git:media_tree/master] media: platform: mtk-mdp3: introduce more pipelines from MT8195

2024-02-06 Thread Mauro Carvalho Chehab
will enable the creation of more pipelines in MDP3. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mtk-mdp3-cmdq.c | 80 ++ .../media/platform/mediatek/mdp3

[git:media_tree/master] media: platform: mtk-mdp3: add mt8195 platform configuration

2024-02-06 Thread Mauro Carvalho Chehab
ata.c" and corresponding driver data. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_cfg_data.c| 666 + drivers/media/platform/mediatek/mdp3/mtk-img-i

[git:media_tree/master] media: platform: mtk-mdp3: introduce more MDP3 components

2024-02-06 Thread Mauro Carvalho Chehab
Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/mediatek/mdp3/mdp_reg_aal.h | 25 +++ .../media/platform/mediatek/mdp3/mdp_reg_color.h | 31 drivers/media/platform/mediatek/mdp3/mdp_reg_fg.h

[git:media_tree/master] media: platform: mtk-mdp3: avoid multiple driver registrations

2024-02-06 Thread Mauro Carvalho Chehab
of MMSYS. Since MT8195 MDP3 utilizes VPPSYS0 and VPPSYS1, it's necessary to prevent multiple driver registrations. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/mediatek/mdp3

[git:media_tree/master] media: platform: mtk-mdp3: extend GCE event waiting in RDMA and WROT

2024-02-06 Thread Mauro Carvalho Chehab
-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_cfg_data.c| 2 ++ .../media/platform/mediatek/mdp3/mtk-mdp3-comp.c | 27 +++--- .../media/platform/mediatek/mdp3

[git:media_tree/master] media: platform: mtk-mdp3: add support for parallel pipe to improve FPS

2024-02-06 Thread Mauro Carvalho Chehab
to parallelly process a single frame. To enable this feature, multiple CMDQ clients and packets need to be configured at the same time. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform

[git:media_tree/master] media: platform: mtk-mdp3: add mt8195 MDP3 component settings

2024-02-06 Thread Mauro Carvalho Chehab
, it is crucial to read all component settings in a specific manner to ensure that shared memory data structure lengths are aligned across different platforms. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media

[git:media_tree/master] media: platform: mtk-mdp3: add support for blending multiple components

2024-02-06 Thread Mauro Carvalho Chehab
virtual units with advanced functions. These components require simultaneous configuration of their MODs and clocks. Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mtk-mdp3

[git:media_tree/master] media: hantro: add support for STM32MP25 VENC

2024-02-06 Thread Mauro Carvalho Chehab
. VENC has its own reset/clock/irq. Reviewed-by: Nicolas Dufresne Signed-off-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/verisilicon/hantro_drv.c| 1 + drivers/media/platform/verisilicon/hantro_hw.h | 1 + .../media/platform/verisilicon

[git:media_tree/master] media: dt-bindings: media: Document STM32MP25 VDEC & VENC video codecs

2024-02-06 Thread Mauro Carvalho Chehab
encoder bindings. Reviewed-by: Krzysztof Kozlowski Signed-off-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab .../bindings/media/st,stm32mp25-video-codec.yaml | 49 ++ 1 file changed, 49 insertions(+) --- diff --git a/Documentation/devicetree/bindings/media/st,s

[git:media_tree/master] media: platform: mtk-mdp3: add mt8195 shared memory configurations

2024-02-06 Thread Mauro Carvalho Chehab
is defined in the header file "mdp_sm_mt8195.h". Signed-off-by: Moudy Ho Reviewed-by: AngeloGioacchino Del Regno Signed-off-by: Sebastian Fricke Signed-off-by: Mauro Carvalho Chehab .../media/platform/mediatek/mdp3/mdp_sm_mt8195.h | 283 + drivers/media/platfor

[git:media_tree/master] media: Documentation: Rework CCS driver documentation

2024-02-06 Thread Mauro Carvalho Chehab
and fix a spelling error in UAPI documentation previously fixed in driver documentation. Also add references both ways. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab Documentation/driver-api/media/drivers/ccs/ccs.rst | 53 ++ Documentation/userspace-api/media

[git:media_tree/master] media: i2c: max2175: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/max2175.c | 2 +- 1 file changed, 1

[git:media_tree/master] media: hantro: add support for STM32MP25 VDEC

2024-02-06 Thread Mauro Carvalho Chehab
. No post-processor support. VDEC has its own reset/clock/irq. Successfully tested up to full HD. Reviewed-by: Nicolas Dufresne Signed-off-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab drivers/media/platform/verisilicon/Kconfig | 14 +++- drivers/media/platform/verisilicon

[git:media_tree/master] media: i2c: isl7998x: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/isl7998x.c | 2 +- 1 file changed, 1

[git:media_tree/master] media: arm64: dts: st: add video decoder support to stm32mp255

2024-02-06 Thread Mauro Carvalho Chehab
-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 10 ++ 2 files changed, 16 insertions(+) --- diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251

[git:media_tree/master] media: i2c: imx214: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx214.c | 2 +- 1 file changed, 1 insertion

[git:media_tree/master] media: arm64: dts: st: add video encoder support to stm32mp255

2024-02-06 Thread Mauro Carvalho Chehab
-by: Hugues Fruchet Signed-off-by: Mauro Carvalho Chehab arch/arm64/boot/dts/st/stm32mp251.dtsi | 6 ++ arch/arm64/boot/dts/st/stm32mp255.dtsi | 7 +++ 2 files changed, 13 insertions(+) --- diff --git a/arch/arm64/boot/dts/st/stm32mp251.dtsi b/arch/arm64/boot/dts/st/stm32mp251.dtsi

[git:media_tree/master] media: i2c: mt9v032: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/mt9v032.c | 2

[git:media_tree/master] media: i2c: imx274: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx274.c | 2 +- 1 file changed, 1 insertion

[git:media_tree/master] media: i2c: tvp5150: convert to use maple tree register cache

2024-02-06 Thread Mauro Carvalho Chehab
than the rbtree cache and makes optimisation choices which are probably more appropriate for modern systems than those made by the rbtree cache. Signed-off-by: Bo Liu Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/tvp5150.c | 2 +- 1 file changed, 1

[git:media_tree/master] media: tc358743: register v4l2 async device only after successful setup

2024-02-06 Thread Mauro Carvalho Chehab
registering the v4l2 async device, thus allowing userspace to access. Signed-off-by: Alexander Stein Reviewed-by: Robert Foss Fixes: 4c5211a10039 ("[media] tc358743: register v4l2 asynchronous subdevice") Cc: sta...@vger.kernel.org Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carva

[git:media_tree/master] media: v4l2: cci: print leading 0 on error

2024-02-06 Thread Mauro Carvalho Chehab
("media: Add MIPI CCI register access helper functions") Signed-off-by: Julien Massot Reviewed-by: Hans de Goede Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/v4l2-core/v4l2-cci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---

[git:media_tree/master] media: i2c: st-vgxy61: Convert to CCI register access helpers

2024-02-06 Thread Mauro Carvalho Chehab
-by: Mauro Carvalho Chehab drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/st-vgxy61.c | 390 +- 2 files changed, 154 insertions(+), 237 deletions(-) --- diff --git a/drivers/media/i2c/Kconfig b/drivers/media/i2c/Kconfig index 4c3435921f19

[git:media_tree/master] media: i2c: imx415: Add more clock configurations

2024-02-06 Thread Mauro Carvalho Chehab
ev. E19504, 2019/05/21). For consistency suffix all lane rate values by UL, which is needed for 237600 anyway. Signed-off-by: Alexander Stein Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx415.c | 265 - 1 fi

[git:media_tree/master] media: i2c: imx415: Convert to new CCI register access helpers

2024-02-06 Thread Mauro Carvalho Chehab
the private register access helpers in the imx415 driver. Signed-off-by: Alexander Stein Reviewed-by: Laurent Pinchart Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/Kconfig | 1 + drivers/media/i2c/imx415.c | 407 +++-- 2

[git:media_tree/master] media: v4l: Add a helper for setting up link-frequencies control

2024-02-06 Thread Mauro Carvalho Chehab
drivers need them. The result is a bitmap of supported controls. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/v4l2-core/v4l2-common.c | 47 +++ include/media/v4l2-common.h | 25 +++ 2 files changed, 72

[git:media_tree/master] media: imx319: Use v4l2_link_freq_to_bitmap helper

2024-02-06 Thread Mauro Carvalho Chehab
link freq can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx319.c | 53 -- 1 file changed, 14 insertions(+), 39 deletions(-) --- diff --git a/drivers/media/i2c/imx319.c b/drivers/media

[git:media_tree/master] media: imx334: Use v4l2_link_freq_to_bitmap helper

2024-02-06 Thread Mauro Carvalho Chehab
link frequencies can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx334.c | 41 - 1 file changed, 12 insertions(+), 29 deletions(-) --- diff --git a/drivers/media/i2c/imx334.c b/drivers

[git:media_tree/master] media: imx355: Use v4l2_link_freq_to_bitmap helper

2024-02-06 Thread Mauro Carvalho Chehab
link freq can be used on a given system. Signed-off-by: Sakari Ailus Signed-off-by: Mauro Carvalho Chehab drivers/media/i2c/imx355.c | 53 -- 1 file changed, 14 insertions(+), 39 deletions(-) --- diff --git a/drivers/media/i2c/imx355.c b/drivers/media

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