Skip to content

Conversation

@avolmat-st
Copy link

PR #94562 introduced a regression in build of the DCMIPP driver for the STM32MP13 due to the fact that on STM32MP13, the DCMIPP do not have PIPE1 and PIPE2.

The PR fixes this by enclosing PIPE1 (main) / PIPE2 (aux) caps within the proper preproc if statement as done in order part of the code.
Moreover, in order to avoid such future issue, add test build of dcmipp for the MP13 platform. That done, test build is done in the 2 variants of the DCMIPP driver.

Alain Volmat added 2 commits October 24, 2025 14:21
Correct compilation error due to usage of DCMIPP_PIPE1 / DCMIPP_PIPE2
on platform which do not have pixel pipes by putting those caps
under #if defined(STM32_DCMIPP_HAS_PIXEL_PIPES)
Put also DCMIPP_VIDEO_FORMAT_CAP macro inside since this is only used
for AUX / MAIN pipes.

Fixes: 126aaf6 ("video: dcmipp: expose dcmipp caps for all 3 pipes.")

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Add test compilation for the STM32MP13 platform as part of
drivers.video.stm32_dcmipp.build since this allow to test
build the driver when STM32_DCMIPP_HAS_PIXEL_PIPES is not
defined.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
@zephyrbot zephyrbot added area: Video Video subsystem area: Tests Issues related to a particular existing or missing test platform: STM32 ST Micro STM32 labels Oct 24, 2025
@sonarqubecloud
Copy link

@avolmat-st avolmat-st added this to the v4.3.0 milestone Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: Tests Issues related to a particular existing or missing test area: Video Video subsystem platform: STM32 ST Micro STM32

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants