I'm trying to configure my ADV7611 to Auto color space but it seems that the correct RGB range is not correctly applied.
I have a source (computer) outputing RGB full range (0 to 255) and the ADV configures it's input to RGB limited range (16 to 235).
Here are some registers configurations:
0x98, 0x00, 0x02 -- Default value
0x98, 0x01, 0x06 -- HDMI-GR
0x98, 0x02, 0xF2 -- INP_COLOR_SPACE = 0b1111 (Input color space depends of HDMI block) and RGB_OUT = 1
0x98, 0x03, 0x40 -- 24 bits RGB SDR mode input
When I read 0x98, 0x60 (infoframe raw information), the ADV outputs 0x00
With the above configuration, I can see on my monitor that the colors look like saturated. If I write:
0x98, 0x02, 0x12 --INP_COLOR_SPACE = 0b0001 (Input color space forced to RGB full range)
My picture is becoming correct.
I looked at the reference manual and found register 0x47 in HDMI map.
I configured the following in order to have the configuration described in Figure 32:
0x68, 0x47, 0x06 -- QZERO_ITC_DIS = 1 and QZERO_RGB_FULL = 1
But the ADV still stays in RGB Limited mode input...
For the moment, I found a "manual" solution, if register 0x53 in HDMI map equals 0x00 and 0x60 in IO map equals 0x00, I manually set the INP_COLOR_SPACE to 0b0001 in 0x02. It works but it sounds like a workaround...
Any clues on this problem?