MIPI CSI safety register readout

I’d like to know more about how the Jetson MIPI CSI driver makes use of MIPI CSI safety registers on Jetson AGX. I have seen some dmesg prints saying corrupted frame, so I guess there is some kind of safety.

I would be interested in observing corrupted frames and lost frames.

I am asking because my safety apartment asked about it. I could look myself in the kernel which registers are used, but maybe you can give me a hint where to look for that.