Re: [PATCH] media: rkisp1: Fix enum_framesizes accepting invalid pixel formats

From: Tarang Raval

Date: Thu Oct 30 2025 - 03:50:50 EST


Hi Laurent,                                                                     
                                                                                
> > Reject unsupported pixel formats in rkisp1_enum_framesizes() to             
> > fix v4l2-compliance failure.                                                
> >                                                                             
> > v4l2-compliance test failure:                                               
> >                                                                             
> > fail: ../utils/v4l2-compliance/v4l2-test-formats.cpp(403): Accepted framesize for invalid format
> > test VIDIOC_ENUM_FMT/FRAMESIZES/FRAMEINTERVALS: FAIL                        
> >                                                                             
> > Tested on: Debix i.MX8MP Model A                                            
>                                                                               
> Tested here also on a debix board running v4l2-compliance before and          
> after.                                                                        
>                                                                               
> Tested-by: Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx>                                                                                                                          
Could you please pick this patch?
                                                                        
Best regards,                                                                   
Tarang