* [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650
@ 2026-10-05 17:13 ` Bryan O'Donoghue
2026-10-05 17:13 ` [PATCH 11/74] media: qcom: camss: Fix invalid declaration of PIX for SDM670 bod
` (5 more replies)
0 siblings, 6 replies; 8+ messages in thread
From: Bryan O'Donoghue @ 2026-10-05 17:13 UTC (permalink / raw)
To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
Mauro Carvalho Chehab, Jacopo Mondi, Daniel Scally, Keke Li,
Richard Acayan, Hans Verkuil, Gjorgji Rosikopulos,
Radoslav Tsvetkov, Robert Foss, Milen Mitkov
Cc: linux-media, linux-arm-msm, linux-kernel, Bryan O'Donoghue,
Antoine Bouyer, Niklas Söderlund, Sakari Ailus, stable
This extensive series restructures CAMSS around the idea of lines and
outputs more closely matching the concepts in the camera hardware.
To begin with some bug fixing and some dependencies on the OPE series are
pulled in.
Following that a series of changes to enable the IFE hardware is introduced
for VFE780.
Supported in this drop:
- YUV output on the pix path
YUV downscale 16 and downscale 4 work on a staging branch
but with this series at 60 patches I've not included that.
- Stats output
Bayer histogram only
How many stats are intended to be brought out this way ?
Consider that scene in The Terminator when the guy in the gun
store.
Gun store owner: "So which will it be"
The Terminator: "All"
More seriously once this series lands then it will be possible to bring
out stats for Agatti mitigating the need for calculating stats in
software.
- Params application
AEC Bayer hist params
Again there are no limits envisaged on which params are to be enabled.
"All"
- Testing on HDK sm8650
There is a repo to test this stuff out:
https://github.com/0xB0D/ife-tests
Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
---
Antoine Bouyer (2):
media: uapi: v4l2-isp: Add extensible statistics
media: Documentation: uapi: Update V4L2 ISP for extensible stats
Bryan O'Donoghue (66):
media: qcom: camss: vfe: Rename gen3 back to vfe780
media: qcom: camss: vfe: Separate VFE 690 from VFE 780/880
media: qcom: camss: Fix invalid declaration of PIX for SDM670
media: qcom: camss: Fix invalid declaration of PIX for SDM845
media: qcom: camss: Fix invalid declaration of PIX for sc8280xp
media: qcom: camss: Fix invalid declaration of PIX for x1e80100
media: qcom: camss: csid: Configure the stream on every s_stream
media: qcom: camss: Switch existing vfe_formats_pix_845 to vfe_formats_rdi_845
media: qcom: camss: Define PIX formats for x1e PIX interface
media: qcom: camss: vfe: Add helper vfe_bus_v3_packer_fmt()
media: qcom: camss: vfe: Represent output as an array instead of a singleton
media: qcom: camss: vfe: Move video_out from vfe_line to vfe_output
media: qcom: camss: vfe: Represent vfe wm inside of a struct
media: qcom: camss: vfe: Add is_pix to struct line
media: qcom: camss: vfe: Add comp_group to struct vfe_wm
media: qcom: camss: vfe: Define vfe v3 completion group enum
media: qcom: camss: vfe: Define output based VFE controls
media: qcom: camss: vfe: Call vfe_subdev_init after not before significant enumeration
media: qcom: camss: vfe: Move legacy VFE bus client assignment to msm_vfe_subdev_init
media: qcom: camss: vfe: Add planes identifier to struct wm
media: qcom: camss: vfe: Specify number of pads via line->num_pads
media: qcom: camss: vfe: Add support for starting multiple write-masters in one output's group
media: qcom: camss: vfe: Add support for updating multiple write-masters within an output group
media: qcom: camss: vfe: Update an output group's write masters on buffer done
media: qcom: camss: vfe: Add support for stopping outputs which contain multiple write masters
media: qcom: camss: vfe: Stop an output group once
media: qcom: camss: vfe: Add helper __vfe_pix_format_is_raw
media: qcom: camss: csid: Add helper function csid_ipp_bayer_pattern
media: qcom: camss: vfe: Decompose repeated code down to __vfe_src_pad_default()
media: qcom: camss: vfe: Eliminate ever expanding src_pad_code switch logic
media: qcom: camss: vfe: Add Bayer to YUV conversion switch cases for PIX
media: qcom: camss: vfe-gen3: Define full array of write-masters
media: qcom: camss: vfe-gen3: Enable PIX formats on PIX interfaces
media: qcom: camss: vfe: Pass struct line to wm_stop
media: qcom: camss: vfe-780: Use bus-client to derive write master index
media: qcom: camss: vfe-780: Switch on YUV pix path
media: qcom: camss: vfe: Add support for pix pad data-types
media: qcom: camss: vfe: Add helper methods to enumerate output descriptors
media: qcom: camss: Pass new struct camss_buf_done_info to camss_buf_done
media: qcom: camss: Add a status field to camss_buf_done_info
media: qcom: camss: csid-gen3: Enable the IPP path
media: qcom: camss: vfe: Pass the completion info to vfe_buf_done()
media: qcom: camss: vfe: Pass the buffer to vfe_wm_update()
media: qcom: camss: Add the SM8650 IFE pixel pipe configuration
media: qcom: camss: csid-gen3: Define the IPP reg update port in the header
media: qcom: camss: vfe-880: Program the pixel pipe outside output_lock
media: qcom: camss: vfe: Make is_pix the only test for the pixel path
media: qcom: camss: csid-gen3: Route IPP completions to the port the IPP feeds
media: qcom: camss: vfe-780: Add full-resolution YUV on the PIX line
media: uapi: Add CAMSS ISP statistics definition
media: Documentation: uapi: Add qcom-camss ISP statistics
media: qcom: camss: vfe: Select line-based mode for the pixel path's video node
media: qcom: camss: vfe: Size the pixel path clock by its pixels per clock
media: qcom: camss: vfe: Size the outputs for the PIX line and set up each one
media: qcom: camss: video: Support metadata capture nodes
media: qcom: camss: vfe: Register a statistics node for the pixel line
media: qcom: camss: vfe: Complete pixel line outputs on their own completion group
media: qcom: camss: vfe-780: Produce the AEC Bayer histogram statistics
media: uapi: Add the CAMSS AEC Bayer histogram configuration
media: v4l2: Add the Qualcomm CAMSS ISP parameters format
media: Documentation: uapi: Add the CAMSS IFE parameters
media: qcom: camss: video: Support metadata output nodes
media: qcom: camss: vfe: Register and apply a parameters node for the pixel line
media: qcom: camss: vfe-780: Apply the AEC Bayer histogram parameters
media: qcom: camss: vfe-780: Drive the write masters through the output ops
media: qcom: camss: vfe: Pass the write master its address again
Jacopo Mondi (4):
media: v4l2-isp: Rename v4l2_isp_params_buffer_size
media: v4l2-isp: Add per-block validation callback
media: amlogic-c3: Implement per-block validation
media: v4l2-isp: Add helpers for stats buffer
Loic Poulain (2):
media: uapi: Add CAMSS ISP configuration definition
media: Documentation: uapi: Add qcom-camss ISP params documentation
.../userspace-api/media/v4l/meta-formats.rst | 1 +
.../userspace-api/media/v4l/metafmt-qcom-isp.rst | 219 +++++
Documentation/userspace-api/media/v4l/v4l2-isp.rst | 45 +-
MAINTAINERS | 1 +
.../media/platform/amlogic/c3/isp/c3-isp-params.c | 42 +-
.../media/platform/arm/mali-c55/mali-c55-params.c | 12 +-
drivers/media/platform/qcom/camss/Kconfig | 2 +
drivers/media/platform/qcom/camss/Makefile | 4 +-
drivers/media/platform/qcom/camss/camss-csid-680.c | 8 +-
.../media/platform/qcom/camss/camss-csid-gen3.c | 131 ++-
.../media/platform/qcom/camss/camss-csid-gen3.h | 3 +
drivers/media/platform/qcom/camss/camss-csid.c | 37 +-
drivers/media/platform/qcom/camss/camss-csid.h | 18 +-
drivers/media/platform/qcom/camss/camss-vfe-17x.c | 10 +-
drivers/media/platform/qcom/camss/camss-vfe-340.c | 12 +-
drivers/media/platform/qcom/camss/camss-vfe-4-1.c | 20 +-
drivers/media/platform/qcom/camss/camss-vfe-4-7.c | 34 +-
drivers/media/platform/qcom/camss/camss-vfe-4-8.c | 34 +-
drivers/media/platform/qcom/camss/camss-vfe-480.c | 19 +-
drivers/media/platform/qcom/camss/camss-vfe-680.c | 4 +-
.../camss/{camss-vfe-gen3.c => camss-vfe-690.c} | 53 +-
drivers/media/platform/qcom/camss/camss-vfe-780.c | 419 +++++++++
.../media/platform/qcom/camss/camss-vfe-880-pp.c | 629 +++++++++++++
.../media/platform/qcom/camss/camss-vfe-880-pp.h | 13 +
drivers/media/platform/qcom/camss/camss-vfe-gen1.c | 96 +-
drivers/media/platform/qcom/camss/camss-vfe.c | 985 ++++++++++++++++++---
drivers/media/platform/qcom/camss/camss-vfe.h | 156 +++-
drivers/media/platform/qcom/camss/camss-video.c | 235 ++++-
drivers/media/platform/qcom/camss/camss-video.h | 8 +
drivers/media/platform/qcom/camss/camss.c | 156 ++--
drivers/media/platform/qcom/camss/camss.h | 8 +-
drivers/media/v4l2-core/v4l2-ioctl.c | 2 +
drivers/media/v4l2-core/v4l2-isp.c | 55 ++
include/media/v4l2-isp.h | 94 +-
include/uapi/linux/media/v4l2-isp.h | 125 ++-
include/uapi/linux/qcom-camss-config.h | 273 ++++++
include/uapi/linux/videodev2.h | 4 +
37 files changed, 3464 insertions(+), 503 deletions(-)
---
base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
change-id: 20261005-linux-mainline-7-2-sm8650-hdk-rfc-0-aa75cdf2c39b
Best regards,
--
Bryan O'Donoghue <bod@kernel.org>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH 11/74] media: qcom: camss: Fix invalid declaration of PIX for SDM670
2026-10-05 17:13 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Bryan O'Donoghue
@ 2026-10-05 17:13 ` bod
2026-10-05 17:13 ` [PATCH 12/74] media: qcom: camss: Fix invalid declaration of PIX for SDM845 bod
` (4 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: bod @ 2026-10-05 17:13 UTC (permalink / raw)
To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
Mauro Carvalho Chehab, Jacopo Mondi, Daniel Scally, Keke Li,
Richard Acayan, Hans Verkuil, Gjorgji Rosikopulos,
Radoslav Tsvetkov, Robert Foss, Milen Mitkov
Cc: linux-media, linux-arm-msm, linux-kernel, Bryan O'Donoghue,
stable
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
line_num is declarative of the number and type of data-interfaces a VFE
has in CAMSS. The fourth line on full VFEs is reserved to the "PIX" path -
meaning the path that can do YUV, downscaling, stats, params or some
version of that.
In contrast the raw dump interfaces (RDI) 0, 1, 2 can only write
unformatted pixel-data and cannot generate stats.
The PIX path lives at a different register offset and has significantly
different setup to RDI.
VFE Lite has four RDI interfaces where VFE (full) has three RDI and one PIX
interface.
Unless/until PIX is actually implemented for SDM670 reduce line_num to
three to stop populating a pix path which simply isn't implemented.
Fixes: c52643b24152 ("media: qcom: camss: add support for SDM670 camss")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
drivers/media/platform/qcom/camss/camss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
index 40a993ade5f6d..f46ad1db6dbbe 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -1202,7 +1202,7 @@ static const struct camss_subdev_resources vfe_res_670[] = {
.reg = { "vfe0" },
.interrupt = { "vfe0" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.has_pd = true,
.pd_name = "ife0",
.hw_ops = &vfe_ops_170,
@@ -1224,7 +1224,7 @@ static const struct camss_subdev_resources vfe_res_670[] = {
.reg = { "vfe1" },
.interrupt = { "vfe1" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.has_pd = true,
.pd_name = "ife1",
.hw_ops = &vfe_ops_170,
--
2.55.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 12/74] media: qcom: camss: Fix invalid declaration of PIX for SDM845
2026-10-05 17:13 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Bryan O'Donoghue
2026-10-05 17:13 ` [PATCH 11/74] media: qcom: camss: Fix invalid declaration of PIX for SDM670 bod
@ 2026-10-05 17:13 ` bod
2026-10-05 17:13 ` [PATCH 13/74] media: qcom: camss: Fix invalid declaration of PIX for sc8280xp bod
` (3 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: bod @ 2026-10-05 17:13 UTC (permalink / raw)
To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
Mauro Carvalho Chehab, Jacopo Mondi, Daniel Scally, Keke Li,
Richard Acayan, Hans Verkuil, Gjorgji Rosikopulos,
Radoslav Tsvetkov, Robert Foss, Milen Mitkov
Cc: linux-media, linux-arm-msm, linux-kernel, Bryan O'Donoghue,
stable
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
sdm845 similarly to sdm670 has declared an additional line_num on the full
VFE path, which implies support for PIX which does not exist.
Implement the same fix for sdm845 as was done for sdm670.
Fixes: ae44829a4a97a3 ("media: qcom: camss: Add per sub-device type resources")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
drivers/media/platform/qcom/camss/camss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
index f46ad1db6dbbe..69b976bac60aa 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -1455,7 +1455,7 @@ static const struct camss_subdev_resources vfe_res_845[] = {
.reg = { "vfe0" },
.interrupt = { "vfe0" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife0",
.has_pd = true,
.hw_ops = &vfe_ops_170,
@@ -1483,7 +1483,7 @@ static const struct camss_subdev_resources vfe_res_845[] = {
.reg = { "vfe1" },
.interrupt = { "vfe1" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife1",
.has_pd = true,
.hw_ops = &vfe_ops_170,
--
2.55.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 13/74] media: qcom: camss: Fix invalid declaration of PIX for sc8280xp
2026-10-05 17:13 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Bryan O'Donoghue
2026-10-05 17:13 ` [PATCH 11/74] media: qcom: camss: Fix invalid declaration of PIX for SDM670 bod
2026-10-05 17:13 ` [PATCH 12/74] media: qcom: camss: Fix invalid declaration of PIX for SDM845 bod
@ 2026-10-05 17:13 ` bod
2026-10-05 17:13 ` [PATCH 14/74] media: qcom: camss: Fix invalid declaration of PIX for x1e80100 bod
` (2 subsequent siblings)
5 siblings, 0 replies; 8+ messages in thread
From: bod @ 2026-10-05 17:13 UTC (permalink / raw)
To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
Mauro Carvalho Chehab, Jacopo Mondi, Daniel Scally, Keke Li,
Richard Acayan, Hans Verkuil, Gjorgji Rosikopulos,
Radoslav Tsvetkov, Robert Foss, Milen Mitkov
Cc: linux-media, linux-arm-msm, linux-kernel, Bryan O'Donoghue,
stable
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
sc8280xp similarly to sdm670 has declared an additional line_num on the full
VFE path, which implies support for PIX which does not exist.
Implement the same fix for sc8280xp as was done for sdm670.
Fixes: ae44829a4a97a3 ("media: qcom: camss: Add per sub-device type resources")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
drivers/media/platform/qcom/camss/camss.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
index 69b976bac60aa..0960e7c1ce46a 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -2809,7 +2809,7 @@ static const struct camss_subdev_resources vfe_res_sc8280xp[] = {
.reg = { "vfe0" },
.interrupt = { "vfe0" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife0",
.hw_ops = &vfe_ops_170,
.formats_rdi = &vfe_formats_rdi_845,
@@ -2829,7 +2829,7 @@ static const struct camss_subdev_resources vfe_res_sc8280xp[] = {
.reg = { "vfe1" },
.interrupt = { "vfe1" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife1",
.hw_ops = &vfe_ops_170,
.formats_rdi = &vfe_formats_rdi_845,
@@ -2849,7 +2849,7 @@ static const struct camss_subdev_resources vfe_res_sc8280xp[] = {
.reg = { "vfe2" },
.interrupt = { "vfe2" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife2",
.hw_ops = &vfe_ops_170,
.formats_rdi = &vfe_formats_rdi_845,
@@ -2869,7 +2869,7 @@ static const struct camss_subdev_resources vfe_res_sc8280xp[] = {
.reg = { "vfe3" },
.interrupt = { "vfe3" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife3",
.hw_ops = &vfe_ops_170,
.formats_rdi = &vfe_formats_rdi_845,
--
2.55.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH 14/74] media: qcom: camss: Fix invalid declaration of PIX for x1e80100
2026-10-05 17:13 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Bryan O'Donoghue
` (2 preceding siblings ...)
2026-10-05 17:13 ` [PATCH 13/74] media: qcom: camss: Fix invalid declaration of PIX for sc8280xp bod
@ 2026-10-05 17:13 ` bod
2026-10-06 7:06 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Jacopo Mondi
2026-10-08 12:55 ` Bryan O'Donoghue
5 siblings, 0 replies; 8+ messages in thread
From: bod @ 2026-10-05 17:13 UTC (permalink / raw)
To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
Mauro Carvalho Chehab, Jacopo Mondi, Daniel Scally, Keke Li,
Richard Acayan, Hans Verkuil, Gjorgji Rosikopulos,
Radoslav Tsvetkov, Robert Foss, Milen Mitkov
Cc: linux-media, linux-arm-msm, linux-kernel, Bryan O'Donoghue,
stable
From: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
x1e80100 similarly to sdm670 has declared an additional line_num on the full
VFE path, which implies support for PIX which does not exist.
Implement the same fix for x1e80100 as was done for sdm670.
Fixes: 1830cf0f56c3 ("media: qcom: camss: Add x1e80100 specific support")
Cc: stable@vger.kernel.org
Signed-off-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
---
drivers/media/platform/qcom/camss/camss.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/media/platform/qcom/camss/camss.c b/drivers/media/platform/qcom/camss/camss.c
index 0960e7c1ce46a..e7a1a25d7c9a3 100644
--- a/drivers/media/platform/qcom/camss/camss.c
+++ b/drivers/media/platform/qcom/camss/camss.c
@@ -4430,7 +4430,7 @@ static const struct camss_subdev_resources vfe_res_x1e80100[] = {
.reg = { "vfe0" },
.interrupt = { "vfe0" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife0",
.hw_ops = &vfe_ops_680,
.formats_rdi = &vfe_formats_rdi_845,
@@ -4454,7 +4454,7 @@ static const struct camss_subdev_resources vfe_res_x1e80100[] = {
.reg = { "vfe1" },
.interrupt = { "vfe1" },
.vfe = {
- .line_num = 4,
+ .line_num = 3,
.pd_name = "ife1",
.hw_ops = &vfe_ops_680,
.formats_rdi = &vfe_formats_rdi_845,
--
2.55.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650
2026-10-05 17:13 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Bryan O'Donoghue
` (3 preceding siblings ...)
2026-10-05 17:13 ` [PATCH 14/74] media: qcom: camss: Fix invalid declaration of PIX for x1e80100 bod
@ 2026-10-06 7:06 ` Jacopo Mondi
2026-10-07 8:41 ` Bryan O'Donoghue
2026-10-08 12:55 ` Bryan O'Donoghue
5 siblings, 1 reply; 8+ messages in thread
From: Jacopo Mondi @ 2026-10-06 7:06 UTC (permalink / raw)
To: Bryan O'Donoghue
Cc: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
Mauro Carvalho Chehab, Jacopo Mondi, Daniel Scally, Keke Li,
Richard Acayan, Hans Verkuil, Gjorgji Rosikopulos,
Radoslav Tsvetkov, Robert Foss, Milen Mitkov, linux-media,
linux-arm-msm, linux-kernel, Antoine Bouyer,
Niklas Söderlund, Sakari Ailus, stable
Hi Bryan
On Mon, Oct 05, 2026 at 07:13:30PM +0200, Bryan O'Donoghue wrote:
> This extensive series restructures CAMSS around the idea of lines and
> outputs more closely matching the concepts in the camera hardware.
>
> To begin with some bug fixing and some dependencies on the OPE series are
> pulled in.
>
> Following that a series of changes to enable the IFE hardware is introduced
> for VFE780.
>
> Supported in this drop:
>
> - YUV output on the pix path
> YUV downscale 16 and downscale 4 work on a staging branch
> but with this series at 60 patches I've not included that.
>
> - Stats output
> Bayer histogram only
>
> How many stats are intended to be brought out this way ?
> Consider that scene in The Terminator when the guy in the gun
> store.
>
> Gun store owner: "So which will it be"
> The Terminator: "All"
>
> More seriously once this series lands then it will be possible to bring
> out stats for Agatti mitigating the need for calculating stats in
> software.
>
> - Params application
> AEC Bayer hist params
>
> Again there are no limits envisaged on which params are to be enabled.
>
> "All"
>
> - Testing on HDK sm8650
>
> There is a repo to test this stuff out:
>
> https://github.com/0xB0D/ife-tests
>
> Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
> ---
> Antoine Bouyer (2):
> media: uapi: v4l2-isp: Add extensible statistics
> media: Documentation: uapi: Update V4L2 ISP for extensible stats
>
> Bryan O'Donoghue (66):
> media: qcom: camss: vfe: Rename gen3 back to vfe780
> media: qcom: camss: vfe: Separate VFE 690 from VFE 780/880
> media: qcom: camss: Fix invalid declaration of PIX for SDM670
> media: qcom: camss: Fix invalid declaration of PIX for SDM845
> media: qcom: camss: Fix invalid declaration of PIX for sc8280xp
> media: qcom: camss: Fix invalid declaration of PIX for x1e80100
> media: qcom: camss: csid: Configure the stream on every s_stream
> media: qcom: camss: Switch existing vfe_formats_pix_845 to vfe_formats_rdi_845
> media: qcom: camss: Define PIX formats for x1e PIX interface
> media: qcom: camss: vfe: Add helper vfe_bus_v3_packer_fmt()
> media: qcom: camss: vfe: Represent output as an array instead of a singleton
> media: qcom: camss: vfe: Move video_out from vfe_line to vfe_output
> media: qcom: camss: vfe: Represent vfe wm inside of a struct
> media: qcom: camss: vfe: Add is_pix to struct line
> media: qcom: camss: vfe: Add comp_group to struct vfe_wm
> media: qcom: camss: vfe: Define vfe v3 completion group enum
> media: qcom: camss: vfe: Define output based VFE controls
> media: qcom: camss: vfe: Call vfe_subdev_init after not before significant enumeration
> media: qcom: camss: vfe: Move legacy VFE bus client assignment to msm_vfe_subdev_init
> media: qcom: camss: vfe: Add planes identifier to struct wm
> media: qcom: camss: vfe: Specify number of pads via line->num_pads
> media: qcom: camss: vfe: Add support for starting multiple write-masters in one output's group
> media: qcom: camss: vfe: Add support for updating multiple write-masters within an output group
> media: qcom: camss: vfe: Update an output group's write masters on buffer done
> media: qcom: camss: vfe: Add support for stopping outputs which contain multiple write masters
> media: qcom: camss: vfe: Stop an output group once
> media: qcom: camss: vfe: Add helper __vfe_pix_format_is_raw
> media: qcom: camss: csid: Add helper function csid_ipp_bayer_pattern
> media: qcom: camss: vfe: Decompose repeated code down to __vfe_src_pad_default()
> media: qcom: camss: vfe: Eliminate ever expanding src_pad_code switch logic
> media: qcom: camss: vfe: Add Bayer to YUV conversion switch cases for PIX
> media: qcom: camss: vfe-gen3: Define full array of write-masters
> media: qcom: camss: vfe-gen3: Enable PIX formats on PIX interfaces
> media: qcom: camss: vfe: Pass struct line to wm_stop
> media: qcom: camss: vfe-780: Use bus-client to derive write master index
> media: qcom: camss: vfe-780: Switch on YUV pix path
> media: qcom: camss: vfe: Add support for pix pad data-types
> media: qcom: camss: vfe: Add helper methods to enumerate output descriptors
> media: qcom: camss: Pass new struct camss_buf_done_info to camss_buf_done
> media: qcom: camss: Add a status field to camss_buf_done_info
> media: qcom: camss: csid-gen3: Enable the IPP path
> media: qcom: camss: vfe: Pass the completion info to vfe_buf_done()
> media: qcom: camss: vfe: Pass the buffer to vfe_wm_update()
> media: qcom: camss: Add the SM8650 IFE pixel pipe configuration
> media: qcom: camss: csid-gen3: Define the IPP reg update port in the header
> media: qcom: camss: vfe-880: Program the pixel pipe outside output_lock
> media: qcom: camss: vfe: Make is_pix the only test for the pixel path
> media: qcom: camss: csid-gen3: Route IPP completions to the port the IPP feeds
> media: qcom: camss: vfe-780: Add full-resolution YUV on the PIX line
> media: uapi: Add CAMSS ISP statistics definition
> media: Documentation: uapi: Add qcom-camss ISP statistics
> media: qcom: camss: vfe: Select line-based mode for the pixel path's video node
> media: qcom: camss: vfe: Size the pixel path clock by its pixels per clock
> media: qcom: camss: vfe: Size the outputs for the PIX line and set up each one
> media: qcom: camss: video: Support metadata capture nodes
> media: qcom: camss: vfe: Register a statistics node for the pixel line
> media: qcom: camss: vfe: Complete pixel line outputs on their own completion group
> media: qcom: camss: vfe-780: Produce the AEC Bayer histogram statistics
> media: uapi: Add the CAMSS AEC Bayer histogram configuration
> media: v4l2: Add the Qualcomm CAMSS ISP parameters format
> media: Documentation: uapi: Add the CAMSS IFE parameters
> media: qcom: camss: video: Support metadata output nodes
> media: qcom: camss: vfe: Register and apply a parameters node for the pixel line
> media: qcom: camss: vfe-780: Apply the AEC Bayer histogram parameters
> media: qcom: camss: vfe-780: Drive the write masters through the output ops
> media: qcom: camss: vfe: Pass the write master its address again
>
> Jacopo Mondi (4):
> media: v4l2-isp: Rename v4l2_isp_params_buffer_size
> media: v4l2-isp: Add per-block validation callback
> media: amlogic-c3: Implement per-block validation
> media: v4l2-isp: Add helpers for stats buffer
What branch are you based on ? This has been collected for 7.3 and
if you base your work on media-committers/next you should find it
there
Thanks
j
>
> Loic Poulain (2):
> media: uapi: Add CAMSS ISP configuration definition
> media: Documentation: uapi: Add qcom-camss ISP params documentation
>
> .../userspace-api/media/v4l/meta-formats.rst | 1 +
> .../userspace-api/media/v4l/metafmt-qcom-isp.rst | 219 +++++
> Documentation/userspace-api/media/v4l/v4l2-isp.rst | 45 +-
> MAINTAINERS | 1 +
> .../media/platform/amlogic/c3/isp/c3-isp-params.c | 42 +-
> .../media/platform/arm/mali-c55/mali-c55-params.c | 12 +-
> drivers/media/platform/qcom/camss/Kconfig | 2 +
> drivers/media/platform/qcom/camss/Makefile | 4 +-
> drivers/media/platform/qcom/camss/camss-csid-680.c | 8 +-
> .../media/platform/qcom/camss/camss-csid-gen3.c | 131 ++-
> .../media/platform/qcom/camss/camss-csid-gen3.h | 3 +
> drivers/media/platform/qcom/camss/camss-csid.c | 37 +-
> drivers/media/platform/qcom/camss/camss-csid.h | 18 +-
> drivers/media/platform/qcom/camss/camss-vfe-17x.c | 10 +-
> drivers/media/platform/qcom/camss/camss-vfe-340.c | 12 +-
> drivers/media/platform/qcom/camss/camss-vfe-4-1.c | 20 +-
> drivers/media/platform/qcom/camss/camss-vfe-4-7.c | 34 +-
> drivers/media/platform/qcom/camss/camss-vfe-4-8.c | 34 +-
> drivers/media/platform/qcom/camss/camss-vfe-480.c | 19 +-
> drivers/media/platform/qcom/camss/camss-vfe-680.c | 4 +-
> .../camss/{camss-vfe-gen3.c => camss-vfe-690.c} | 53 +-
> drivers/media/platform/qcom/camss/camss-vfe-780.c | 419 +++++++++
> .../media/platform/qcom/camss/camss-vfe-880-pp.c | 629 +++++++++++++
> .../media/platform/qcom/camss/camss-vfe-880-pp.h | 13 +
> drivers/media/platform/qcom/camss/camss-vfe-gen1.c | 96 +-
> drivers/media/platform/qcom/camss/camss-vfe.c | 985 ++++++++++++++++++---
> drivers/media/platform/qcom/camss/camss-vfe.h | 156 +++-
> drivers/media/platform/qcom/camss/camss-video.c | 235 ++++-
> drivers/media/platform/qcom/camss/camss-video.h | 8 +
> drivers/media/platform/qcom/camss/camss.c | 156 ++--
> drivers/media/platform/qcom/camss/camss.h | 8 +-
> drivers/media/v4l2-core/v4l2-ioctl.c | 2 +
> drivers/media/v4l2-core/v4l2-isp.c | 55 ++
> include/media/v4l2-isp.h | 94 +-
> include/uapi/linux/media/v4l2-isp.h | 125 ++-
> include/uapi/linux/qcom-camss-config.h | 273 ++++++
> include/uapi/linux/videodev2.h | 4 +
> 37 files changed, 3464 insertions(+), 503 deletions(-)
> ---
> base-commit: 8d3ae59288f1e7d58d76558a6ee96d533bc5019f
> change-id: 20261005-linux-mainline-7-2-sm8650-hdk-rfc-0-aa75cdf2c39b
>
> Best regards,
> --
> Bryan O'Donoghue <bod@kernel.org>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650
2026-10-06 7:06 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Jacopo Mondi
@ 2026-10-07 8:41 ` Bryan O'Donoghue
0 siblings, 0 replies; 8+ messages in thread
From: Bryan O'Donoghue @ 2026-10-07 8:41 UTC (permalink / raw)
To: Jacopo Mondi
Cc: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
Mauro Carvalho Chehab, Daniel Scally, Keke Li, Richard Acayan,
Hans Verkuil, Gjorgji Rosikopulos, Radoslav Tsvetkov, Robert Foss,
Milen Mitkov, linux-media, linux-arm-msm, linux-kernel,
Antoine Bouyer, Niklas Söderlund, Sakari Ailus, stable
On 06/10/2026 09:06, Jacopo Mondi wrote:
>> media: v4l2-isp: Add helpers for stats buffer
> What branch are you based on ? This has been collected for 7.3 and
> if you base your work on media-committers/next you should find it
> there
>
> Thanks
> j
Ah v7.2 - rebasing onto 7.3-rcX threw up too many errors not related to
my work so I backported depends to 7.2.
I'll move to something like -next for v1, v2 and merging.
---
bod
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650
2026-10-05 17:13 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Bryan O'Donoghue
` (4 preceding siblings ...)
2026-10-06 7:06 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Jacopo Mondi
@ 2026-10-08 12:55 ` Bryan O'Donoghue
5 siblings, 0 replies; 8+ messages in thread
From: Bryan O'Donoghue @ 2026-10-08 12:55 UTC (permalink / raw)
To: Bryan O'Donoghue, Vladimir Zapolskiy, Loic Poulain,
Mauro Carvalho Chehab, Jacopo Mondi, Daniel Scally, Keke Li,
Richard Acayan, Hans Verkuil, Gjorgji Rosikopulos,
Radoslav Tsvetkov, Robert Foss, Milen Mitkov
Cc: linux-media, linux-arm-msm, linux-kernel, Antoine Bouyer,
Niklas Söderlund, Sakari Ailus, stable
On 05/10/2026 18:13, Bryan O'Donoghue wrote:
> This extensive series restructures CAMSS around the idea of lines and
> outputs more closely matching the concepts in the camera hardware.
>
> To begin with some bug fixing and some dependencies on the OPE series are
> pulled in.
>
> Following that a series of changes to enable the IFE hardware is introduced
> for VFE780.
>
> Supported in this drop:
>
> - YUV output on the pix path
> YUV downscale 16 and downscale 4 work on a staging branch
> but with this series at 60 patches I've not included that.
>
> - Stats output
> Bayer histogram only
>
> How many stats are intended to be brought out this way ?
> Consider that scene in The Terminator when the guy in the gun
> store.
>
> Gun store owner: "So which will it be"
> The Terminator: "All"
>
> More seriously once this series lands then it will be possible to bring
> out stats for Agatti mitigating the need for calculating stats in
> software.
>
> - Params application
> AEC Bayer hist params
>
> Again there are no limits envisaged on which params are to be enabled.
>
> "All"
>
> - Testing on HDK sm8650
>
> There is a repo to test this stuff out:
>
> https://github.com/0xB0D/ife-tests
>
> Signed-off-by: Bryan O'Donoghue <bod@kernel.org>
For the record sending 74 patches to the mailing list is anti-social.
Next time why not try for the hat-trick and make it 300 ?
Feedback to self is break this up and squash this down NAK.
---
bod
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2026-10-08 12:55 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <2bmnjEGElR9T_ArfViwpYiEKTtnqkmH2Ly0MiZJCxhhVR_O0dZOW-Cl983_7fLBFoxMc_PBuNK6FsBbK1JLXQA==@protonmail.internalid>
2026-10-05 17:13 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Bryan O'Donoghue
2026-10-05 17:13 ` [PATCH 11/74] media: qcom: camss: Fix invalid declaration of PIX for SDM670 bod
2026-10-05 17:13 ` [PATCH 12/74] media: qcom: camss: Fix invalid declaration of PIX for SDM845 bod
2026-10-05 17:13 ` [PATCH 13/74] media: qcom: camss: Fix invalid declaration of PIX for sc8280xp bod
2026-10-05 17:13 ` [PATCH 14/74] media: qcom: camss: Fix invalid declaration of PIX for x1e80100 bod
2026-10-06 7:06 ` [PATCH 00/74] RFC: Switch on IFE YUV, Stats and Params support for sm8650 Jacopo Mondi
2026-10-07 8:41 ` Bryan O'Donoghue
2026-10-08 12:55 ` Bryan O'Donoghue
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox