Hi Jernej!
Which SDK? All SDKs that I have or found on internet don't mention YUV nor RGB scanline limit. That doesn't mean there is none, I'm just unable to verify your claim. Did you test this by yourself? Also, please make YUV scanline change separate patch with fixes tag.
Here is the code about scanline config for V3s: https://github.com/Tina-Linux/tina-v3s-linux-4.9/blob/master/drivers/video/f... https://github.com/Tina-Linux/tina-v3s-linux-4.9/blob/master/drivers/video/f...
And here is for D1: https://gitlab.com/weidongshan/tina-d1-h/-/blob/main/lichee/linux-5.4/driver... https://gitlab.com/weidongshan/tina-d1-h/-/blob/main/lichee/linux-5.4/driver...
I was tested it on V3s. Without this patch, the plane will not display correctly if src_w large than 1024, for both YUV and RGB. I don't have a device with D1, so D1 is not tested. But according to the SDK code of D1, the scanline value of mixer1 is 1024.
I'm new to submitting patches, So may I ask a question? If there is no problem with this patch, what I need to do is to send new patches as you suggested?
Best regards, Genfu Pan