]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: stm32: dcmipp: byteproc: only allow compose with 8/16bit fmts
authorAlain Volmat <alain.volmat@foss.st.com>
Fri, 19 Dec 2025 14:30:39 +0000 (15:30 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Fri, 16 Jan 2026 13:08:52 +0000 (14:08 +0100)
commit8a71f1f8d91fb10d306857c0f198a940c1d22e06
treee64abe92f152134ec1ffa88e705521857a793beb
parent0085da1315898ea27bcb323e456ca1d39d43e96a
media: stm32: dcmipp: byteproc: only allow compose with 8/16bit fmts

Since the byteproc is working at byte level, it is not possible to
perform decimation with formats other than 8 or 16 bit per pixel.
Ensure any other format won't be able to set a compose.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/media/platform/st/stm32/stm32-dcmipp/dcmipp-byteproc.c