linux/drivers/media/platform/dreamchip/rppx1
Linmao Li e04ffff543 media: rppx1: bls: read the raw pattern from the PRE2 acquisition module
rppx1_bls_swap_regs() gets the Bayer pattern from the acquisition
module. The PRE1 path uses pre1.acq, but the PRE2 path mistakenly uses
pre2.bls. The BLS module does not store a Bayer pattern, so PRE2 would
read zero (RGGB) and map fixed black levels to the wrong colour
registers.

PRE2 is not started or dispatched yet, so the bug is currently latent.
Read the pattern from pre2.acq, as the PRE1 path does, so that enabling
PRE2 does not start out with the wrong register mapping.

Signed-off-by: Linmao Li <lilinmao@kylinos.cn>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
2026-08-31 08:57:06 +02:00
..
Kconfig
Makefile
rpp_module.c
rpp_module.h media: rppx1: lin: Add support for gamma sensor linearization 2026-07-30 20:51:35 +03:00
rpp_params.c media: rppx1: describe the MAIN_POST white balance gains block 2026-08-31 08:57:06 +02:00
rpp_stats.c media: rppx1: hist: Add support histogram measurement 2026-07-30 20:51:35 +03:00
rppx1_acq.c
rppx1_awbg.c media: rppx1: awbg: Add support for white balance gain settings 2026-07-30 20:51:35 +03:00
rppx1_bd.c
rppx1_bdrgb.c
rppx1_bls.c media: rppx1: bls: read the raw pattern from the PRE2 acquisition module 2026-08-31 08:57:06 +02:00
rppx1_cac.c
rppx1_ccor.c media: rppx1: ccor: Add support for color correction matrix 2026-07-30 20:51:35 +03:00
rppx1_db.c
rppx1_dpcc.c
rppx1_exm.c media: rppx1: exm: Add support for exposure measurement 2026-07-30 20:51:35 +03:00
rppx1_ga.c media: rppx1: ga: Add support for gamma out correction 2026-07-30 20:51:35 +03:00
rppx1_hist.c media: rppx1: hist: Add support histogram measurement 2026-07-30 20:51:35 +03:00
rppx1_hist256.c
rppx1_is.c
rppx1_lin.c media: rppx1: lin: Add support for gamma sensor linearization 2026-07-30 20:51:35 +03:00
rppx1_lsc.c media: rppx1: lsc: Add support for lens shade correction 2026-07-30 20:51:35 +03:00
rppx1_ltm.c
rppx1_ltmmeas.c
rppx1_outif.c
rppx1_outregs.c
rppx1_rmap.c
rppx1_rmapmeas.c
rppx1_shrp.c
rppx1_wbmeas.c
rppx1_xyz2luv.c
rppx1.c
rppx1.h