DTS options for HDMI-DVI adapters
#1
I came across several hints on other Allwinner SoCs like the H3 (which has similar peripherals to the A64, just 32bit cores) where to enable better inter-operability with DVI-HDMI adapters a certain device tree option has to be set:

Code:
...
hdmi_hdcp_enable = <0x00000000>;
hdmi_cts_compatibility = <0x00000001>;
...


http://linux-sunxi.org/Xunlong_Orange_Pi...converters (for example)

We have that option in the extracted device tree used for our Linux Images...

https://github.com/longsleep/build-pine6....dts#L2003

Did anyone with DVI issues try that yet?

Edit: The dts option seems to enable "something" in the display driver, but what exactly is hidden in the binary portion if I see it correctly....

Code:
disp_hdmi.c
...
        if(gdisp.init_para.hdmi_cts_compatibility == 0)    {
            DE_INF("bsp_disp_hdmi_open: disable dvi mode\n");
            bsp_disp_hdmi_dvi_enable(screen_id, 0);
        }    else if(gdisp.init_para.hdmi_cts_compatibility == 1) {
            DE_INF("bsp_disp_hdmi_open: enable dvi mode\n");
            bsp_disp_hdmi_dvi_enable(screen_id, 1);
        }    else {
            bsp_disp_hdmi_dvi_enable(screen_id, bsp_disp_hdmi_dvi_support(screen_id));
        }
...
Come have a chat in the Pine IRC channel >>


Possibly Related Threads…
Thread Author Replies Views Last Post
  Linux TouchLCD+HDMI sharmayogesh 3 2,624 04-14-2017, 01:23 PM
Last Post: sharmayogesh
  HDMI 1080P Ophir 1 1,828 07-27-2016, 08:17 PM
Last Post: Ghost
  HDMI overscan problem Terra854 10 7,692 05-30-2016, 10:12 PM
Last Post: gdjsky01
  HDMI->DVI Works "solution" Luke 9 10,289 05-04-2016, 12:40 PM
Last Post: Luke
  HDMI Overscan / Underscan Dygaer 1 2,275 04-28-2016, 07:40 AM
Last Post: dhardingham

Forum Jump:


Users browsing this thread: 1 Guest(s)