I am trying to get two DP-connected displays on a custom board hosting a TX2 (4GB). The one associated with sor0 seems to work fine. The one associated with sor1 (which I have configured the same way) does not.
Here is what (I think) are the relevant lines in tegra186-quill-p3489-0888-a00-00-base.dts:
sor {
status = "okay"; /* from disabled */
nvidia,active-panel = <&sor0_dp_display>;
dp-display {
status = "okay"; /* from disabled */
};
hdmi-display {
status = "disabled";
};
};
dpaux@155c0000 {
status = "okay"; /* from disabled */
};
sor1 {
status = "okay";
nvidia,active-panel = <&sor1_dp_display>;
dp-display {
status = "okay";
};
hdmi-display {
status = "disabled";
};
};
dpaux@15040000 {
status = "okay"; /* from disabled */
};
nvdisplay@15200000 {
status = "okay"; /* from disabled */
nvidia,dc-or-node = "/host1x/sor1"; /* v2 */
nvidia,dc-connector = <&sor1>; /* v2 */
win-mask = <0x3>; /* v3 */
};
nvdisplay@15210000 {
status = "okay";
nvidia,dc-or-node = "/host1x/sor";
nvidia,dc-connector = <&sor0>;
win-mask = <0xC>; /* v3 */
};
Just grep’ing dmesg for the respective nvdisplays, I get:
for “15210000” (main going to sor0), which works:
[ 0.480246] iommu: Adding device 15210000.nvdisplay to group 35
[ 2.869060] tegradc 15210000.nvdisplay: disp1 connected to head1->/host1x/sor
[ 2.869200] tegradc 15210000.nvdisplay: DT parsed successfully
[ 2.869222] tegradc 15210000.nvdisplay: Display dc.ffffff800b4c0000 registered with id=1
[ 2.869476] tegradc 15210000.nvdisplay: vblank syncpt # 11 for dc 1
[ 2.869482] tegradc 15210000.nvdisplay: vpulse3 syncpt # 12 for dc 1
[ 2.870269] tegradc 15210000.nvdisplay: dc_dp_out_hotplug_init: couldn't get regulator vdd_hdmi_5v0
[ 2.879145] tegradc 15210000.nvdisplay: probed
[ 2.879394] tegradc 15210000.nvdisplay: fb registered
[ 2.907777] tegradc 15210000.nvdisplay: dp: couldn't get regulator vdd-dp-pwr
[ 2.907791] tegradc 15210000.nvdisplay: dp: couldn't get regulator avdd-dp-pll
[ 2.907804] tegradc 15210000.nvdisplay: dp: couldn't get regulator vdd-edp-sec-mode
[ 2.907816] tegradc 15210000.nvdisplay: dp: couldn't get regulator vdd-dp-pad
[ 2.912545] tegradc 15210000.nvdisplay: dp: aux read defer (0x10020000) -- 6
[ 2.916602] tegradc 15210000.nvdisplay: dp: aux read defer (0x10020000) -- 6
[ 2.918286] tegradc 15210000.nvdisplay: dp: aux read defer (0x10020000) -- 6
[ 2.920693] tegradc 15210000.nvdisplay: dp: aux read defer (0x10020000) -- 6
[ 2.921939] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x600000 did not specify bpp
[ 2.930175] tegradc 15210000.nvdisplay: dp: aux write defer (0x10020000) -- 6
[ 2.932007] tegradc 15210000.nvdisplay: dp: aux write defer (0x10020000) -- 6
[ 2.933683] tegradc 15210000.nvdisplay: dp: aux read defer (0x10020000) -- 6
[ 2.935819] tegradc 15210000.nvdisplay: dp: aux read defer (0x10020000) -- 6
[ 2.941179] tegradc 15210000.nvdisplay: dp: aux write defer (0x10020000) -- 6
[ 2.942951] tegradc 15210000.nvdisplay: dp: aux write defer (0x10020000) -- 6
[ 2.944630] tegradc 15210000.nvdisplay: dp: aux write defer (0x10020000) -- 6
[ 2.970497] tegradc 15210000.nvdisplay: dp: aux write defer (0x10020000) -- 6
[ 2.998812] tegradc 15210000.nvdisplay: dp: aux write defer (0x10020000) -- 6
[ 3.026484] tegradc 15210000.nvdisplay: dp: aux write defer (0x10020000) -- 6
[ 3.205029] tegradc 15210000.nvdisplay: dp: aux read defer (0x10020000) -- 6
[ 3.207628] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x600000 did not specify bpp
[ 3.228508] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x600000 did not specify bpp
[ 3.228515] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x400000 did not specify bpp
[ 3.228521] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x0 did not specify bpp
[ 3.228528] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x0 did not specify bpp
[ 3.228534] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x400000 did not specify bpp
[ 3.228545] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x400000 did not specify bpp
[ 3.228551] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x600000 did not specify bpp
[ 3.228556] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x400000 did not specify bpp
[ 3.228567] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x400000 did not specify bpp
[ 3.228573] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x400000 did not specify bpp
[ 3.228586] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x400000 did not specify bpp
[ 3.228593] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x420000 did not specify bpp
[ 3.228599] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x420000 did not specify bpp
[ 3.228604] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x420000 did not specify bpp
[ 3.228610] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x420000 did not specify bpp
[ 3.228614] tegradc 15210000.nvdisplay: blank - powerdown
[ 3.311410] tegradc 15210000.nvdisplay: tegra_dp_get_bpp: vmode=0x600000 did not specify bpp
[ 3.311485] tegradc 15210000.nvdisplay: unblank
... AND ON FOR A WHILE ...
for 15200000 (on sor1) which doesn’t work:
[ 0.479266] iommu: Adding device 15200000.dc_common to group 33
[ 0.479872] iommu: Adding device 15200000.nvdisplay to group 34
[ 2.823203] tegradccommon 15200000.dc_common: host1x channel mapped
[ 2.823211] tegradccommon 15200000.dc_common: dc_common syncpt # 1 allocated
[ 2.823238] tegradccommon 15200000.dc_common: dma mapping done
[ 2.823882] tegradc 15200000.nvdisplay: disp0 connected to head0->/host1x/sor1
[ 2.824124] tegradc 15200000.nvdisplay: DT parsed successfully
[ 2.824151] tegradc 15200000.nvdisplay: Display dc.ffffff800b4a0000 registered with id=0
[ 2.830825] tegradc 15200000.nvdisplay: vblank syncpt # 8 for dc 0
[ 2.830830] tegradc 15200000.nvdisplay: vpulse3 syncpt # 9 for dc 0
[ 2.831767] tegradc 15200000.nvdisplay: dc_dp_out_hotplug_init: couldn't get regulator vdd_hdmi_5v0
[ 2.860053] tegradc 15200000.nvdisplay: probed
[ 2.862860] tegradc 15200000.nvdisplay: fb registered
[ 2.868084] tegradc 15200000.nvdisplay: blank - powerdown
[ 9.349333] tegradc 15200000.nvdisplay: blank - powerdown
[ 11.178996] tegradc 15200000.nvdisplay: blank - powerdown
Any thoughts/help that anyone can offer is much appreciated!