Full range RGB strange behavior on Nvidia Jetson AGX Xavier Developer Kit

Hi @WayneWWW, I kind of have good news.

I was messing up with kernel and driver parameters in /sys/ (exploring an unrelated thing – “how to force an EDID”) and I found that toggling this two parameters:
/sys/class/graphics/fb0/device/cmu_enable to OFF and /sys/kernel/debug/tegradc.common/tegra_win.0/degamma/force_user_degamm to ON, completely fixed the issues we presented before.
We tested with a capture card and the values are passed “bit perfect” through the HDMI.

To switch the flags I did:

echo 0 | sudo tee /sys/class/graphics/fb0/device/cmu_enable
echo 1 | sudo tee /sys/kernel/debug/tegradc.common/tegra_win.0/degamma/force_user_degamma

Now the issue is that I have no idea what I’m doing 😅
I may guess that this has something to do with gamma correction but otherwise, I can’t even discover what CMU stands for.

Can you, @WayneWWW, or someone else provide an explanation on what these flags accomplish, and maybe then come up with an idea of why the default behavior shows the problems we had faced?

Thanks