This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to config HDMI core running as DVI mode?

I  make my  board  used CA8168  chip. I make internal HDMI port output as DVI port, but it cann't display anything on monitor from DVI port.

I can find only a little register  refered to DVI  in sprugx7-reference.pdf  document ,  how to modify TI81xx_hdmi.ko driver  to support DVI port?

It can not use HDMI to DVI convertor , because my board make HDMI port as DVI port  in hardware.

  • Hi,

    We are planning to support switching from DVI to HDMI and vice versa in our future release in a proper way. For now,

    You can brute force DVI mode by clearing bit 0 of HDMI_CORE_HDMI_CTRL_OFFSET as follows...

    void SetDVIMode()
    {
        unsigned int temp;
       
        temp = RD_MEM_32(HDMI_CORE_0_REGS + HDMI_CORE_HDMI_CTRL_OFFSET);
        temp =temp & 0xfffE;//Clear HDMI mode control bit to force DVI mode
        WR_MEM_32(HDMI_CORE_0_REGS + HDMI_CORE_HDMI_CTRL_OFFSET, temp);
    }

    Alternatively you can use the terminal window and mem_util to read/write memory address 0x46c009bc and clear bit 0.

     

    Regards,

    Hardik Shah