There is a drawback with Raspbian, while Raspbian itself is open source, the GPU code is closed source and you cannot debug it. What you can do is to reverse engineer the I2C traffic from Raspberry GPU to camera (that is one-way):
https://www.raspberrypi.org/forums/viewtopic.php?f=43&t=1091...