I want to set up dual display on TX1 and I have already prepared the hardware. I know by default the HDMI is ON and works fine on my carrier board. But DP does not work. I know some changes should be made in the dts files, but I couldn’t find any official documents about this issue. Any help would be appreciated. Tks:)
I’m pretty new in NVIDIA development. Can someone tell if I’m not wrong ?
According the TRM (the reference manual) .pdf part 27.3.2, you need to activate Aux channel and HPD (hot plug detection). “dpaux” are disabled by default.
***AUXDISPLAY :
There’s some part you need to activate in the dts “tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb”.
dpaux {
compatible = "nvidia,tegra210-dpaux";
reg = <0x0 0x545c0000 0x0 0x40000>;
interrupts = <0x0 0x9f 0x4>;
status = "okay"; // before status = "disabled"
};
dpaux1 {
compatible = "nvidia,tegra210-dpaux1";
reg = <0x0 0x54040000 0x0 0x40000>;
interrupts = <0x0 0xb 0x4>;
status = "okay"; // before status = "disabled"
};
compile your new dtb.
Then you need to activate the AUXDISPLAY in your kernel as well :
make menuconfig => Device Drivers => Auxiliary Display support
I can’t answer your specific question, but you may find some information on editing dtb files useful. The various device tree source files (dts) are available in the kernel source and end up producing a device tree blob (binary) file going in “/boot/”, but you can reverse compile the existing dtb to dts, edit, and convert that back to dtb. The particular dtb used is named in the “FDT” key/value pair of “/boot/extlinux/extlinux.conf”.
Reverse compiling a binary dtb to dts:
dtc -I dtb -O dts -o /tmp/extracted.dts /boot/the_firmware_in_extlinux.dtb
# ...edit or explore the dts...
The result is HDMI works fine and DP does not work, nothing output from DP.
Besides these three dts/dtsi files, is there any other changes should be made to implement this dual display?
And in your reply Line 65 nvidia,sor1-output-type = “dp”;
, is this right? I think sor0 is for DP, and sor1 is for HDMI. My hardware connections are as follows:
I found this in a PPT from a TX1 discussion group,I thought that there DP+HDMI dual display can work on TX1. Did I misunderstand the PPT or maybe there is another way to implement this?
Generally eDP port can be used as DP port as they are almost same in hardware. But for TX1, eDP block is limited to only support local panels and not support an external DP port, and so if use eDP as DP, there will be no audio and no HDCP.
Thanks @Trumany, we don’t need audio and HDCP, could you please provide some info for us to set up this dual display, i.e. DP on SOR0 and HDMI on SOR1?
After quick check, the “sor1-output-type” does not influence the actual sor that dp is using.
You can take a look at board-panel.c. The function “tegra_seconrday_panel_get_dt_node” is where we check the secondary panel and it is usually SOR1 that dp is attached. As a result, “sor1-output-type” is just a string used to find dp. It does not imply you are using SOR1 with dp.