Mipi driver works on jetson nano but fails in jetson tx2

Hello ShaneCCC

I have tried what you said, and made the modifications, but I see no difference, the bytes per line value is different from width, and I dont fully understand how the preferred_stride parameter works, what value should I set to the preferred_stride? the line lenght?

Also reading this post you say that VI has the 64-Byte align requirement, so as the VI is changing the resolution I will try to handle the buffers taking into account the bytes per line value to skip the zeros added at the end of each line.

Thank you,