Hi,
How to change HDMI output from HDMI_DP0 to HDMI_DP2?
I tried to modify the settings of tegra194-p2822-disp.dtsi to exchange head0 and head2 but not work.
Can you give me some suggestions?
Hi,
How to change HDMI output from HDMI_DP0 to HDMI_DP2?
I tried to modify the settings of tegra194-p2822-disp.dtsi to exchange head0 and head2 but not work.
Can you give me some suggestions?
SOR needs to get correct type too.
SOR0 is HDMI_DP0. SOR2 is HDMI_DP2
Also, is this on rel-32 or rel-35?
Hi Wayne,
Thanks for your suggestions but what is rel-32 or rel-35 you mentioned?
Jetpack4 is rel-32 branch.
Jetpack5 is rel-35 branch.
Hi Wayne
Jetpack5 is currently I am coding on.
Ok. Start from changing SOR first.
Hi Wayne
Can you help to provide me more information or documents to show me how to change SOR?
I traced the device tree and had no idea about changing SOR.
As my understanding, sor2 is now set to enable HDMI display and mapped to head0 in NV default settings.
Therefore, I think I should be able to swap HDMI0 and HDMI2 by changing the mapping in hardware/nvidia/platform/t19x/galen/kernel-dts/common/tegra194-p2822-disp.dtsi, but not work.
When there is something “not work” in kernel, you should share me the content you modified… and the dmesg.
There is no document for this. The dts itself is the example. When you need to enable HDMI, follow head0 setting. If you need to enable DP, follow head1 or head2 setting.
swap_hdmi_output.patch (1.3 KB)
dmesg.log (66.7 KB)
Hi Wayne
What I modified and the dmesg are attached on.
Hi,
Please also take a look into content of sor2 and sor1…
And sor1 indicates HDMI_DP1 but not HDMI_DP0…
麻煩你看一下sor2跟sor1的內容…
另外 sor1代表的是HDMI_DP1而不是HDMI_DP0…
Hi Wayne
I don’t understand what you mentioned very much.
The default settings from NV are mapping head0 to sor2, head1 to sor0 and head2 to sor1, and it works on AGX Xavier Kit.
Then, does it mean this is a bug?
The Jetson version I used is 35.2.1.
釐清一下好了
麻煩你把你現在想要使用的display head 跟對應的sor列出來. 我這裡指的是所有要接的都列出來
比方說 head0 → sor2 → DP 或是head0 ->sor1 ->HDMI…
然後我再跟你說要怎樣改…
Please list out every display head and sor you want to use out.
For example, head0 ->sor2->DP.
And I will tell you what to modify…
Hi
我不知道 head 怎麼對應 sor,這邊的需求只是想要把 HDMI 訊號從 HDMI_DP2_TX3 輸出,對應腳位 C50 / C51
那你其實什麼都不用改阿… SOR2本來在devkit上就是HDMI…
所以 sor2 代表的就是實體 HDMI_DP2 嗎?
那麼請問 head 是指什麼?
SOR對應的就是實體的pin. SOR → HDMI_DP0, SOR1 → HDMI_DP1, SOR2 ->HDMI_DP2.
head指的是software controller, 也有3個 . 跟 SOR的對應可以任意設定…
比方說device tree底下head的欄位下面還有 “nvidia,dc-connector = <&sor>;” 這就代表說這個head會用sor0.
sor底下又有dp or hdmi的設定…
比方說這裡的寫法就是sor2目前是使用hdmi… 如果要用dp, 有另外一個sor2_dp_display node可以寫入…
&sor2 {
status = “okay”;
nvidia,active-panel = <&sor2_hdmi_display>;
};
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.