diff options
| author | Linmao Li <lilinmao@kylinos.cn> | 2026-08-18 17:59:29 +0800 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-08-31 08:57:06 +0200 |
| commit | e04ffff543db06308a8100f6aa3a65aebcd9834c (patch) | |
| tree | 8010e7c18a9e31905cf166b40310fb160c99c3ad /scripts | |
| parent | a1530ef451f53b63dcf4a2805a5524b590a146ad (diff) | |
| download | linux-e04ffff543db06308a8100f6aa3a65aebcd9834c.tar.gz linux-e04ffff543db06308a8100f6aa3a65aebcd9834c.zip | |
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>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
