]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: rockchip: rga: announce and sync colorimetry
authorSven Püschel <s.pueschel@pengutronix.de>
Wed, 20 May 2026 22:44:15 +0000 (00:44 +0200)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Thu, 21 May 2026 10:32:19 +0000 (12:32 +0200)
commitce1b5e4239aae88e71aca0e9db1116d46be2fc0c
treec5fee80d1ea7a08789b46ba755e76746fab806f7
parentdbf91b1ab6d95662ceb66cb55abceda5b4dc2f2b
media: rockchip: rga: announce and sync colorimetry

Announce the capability to adjust the quantization and ycbcr_enc on the
capture side and check if the SET_CSC flag is set when the colorimetry
is changed. Furthermore copy the colorimetry from the output to the
capture side to fix the currently failing v4l2-compliance tests, which
expect exactly this behavior.

Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/rockchip/rga/rga.c