Other Parts Discussed in Thread: AM62P
Tool/software:
Deat TI support,
can you please provide a reference device tree showing how to get 2 display working independently (not in mirror mode).
Thanks
Best Regards
Pier
Hi Pier,
The concerned expert is out of office. Please expect a delay in response.
Thanking you
Yashraj
Hi Tomer,
In the default SDK, HDMI is enabled by default. You can enable the k3-am625-sk-microtips-mf101hie-panel.dtbo overlay in uEnv.txt to enable OLDI as well. With this HDMI and OLDI will work in independent mode.
Now, how you interact with these screens depends on your user-space application code and the window compositor you are using.
By default, the Out-of-the-Box demo (ti-apps-launcher) uses weston as the window compositor, which operates the 2 independent screens in extended mode and not cloned mode, implying you can drag and drop a window from one screen to the second.
Hi,
thanks a lot for your answer,
we should have 2 indepentent display using 2 LVDS connections,
this is our current DTS, please advise how to set it currectly, now it works as miror:
display {
compatible = "sgd,gktw70sdae4se";
backlight = <&backlight>;
status = "okay";
port@0 {
lcd_in0: endpoint {
remote-endpoint = <&oldi_out0>;
};
};
};
display1 {
compatible = "sgd,gktw70sdae4se";
status = "okay";
port@1 {
lcd_in1: endpoint {
remote-endpoint = <&oldi_out1>;
};
};
};
&dss {
pinctrl-names = "default";
pinctrl-0 = <&main_oldi0_pins_default>;
};
&dss_ports {
#address-cells = <1>;
#size-cells = <0>;
/* VP1: LVDS Output (OLDI TX 0) */
port@0 {
reg = <0>;
oldi_out0: endpoint {
remote-endpoint = <&lcd_in0>;
};
};
/* VP1: LVDS Output (OLDI TX 1) */
port@2 {
reg = <2>;
oldi_out1: endpoint {
remote-endpoint = <&lcd_in1>;
};
};
};
Hi Tomer,
Dual independent display is only supported across 2 video ports, i.e. OLDI (single/dual link) and DPI/HDMI.
Independent display is not supported across 2x single-link OLDI displays in AM62x, i.e. they can only operate in cloned mode.
2x independent SL-OLDI is supported in AM62P SoC.
Hi Yashraj Motwani ,
Thanks a lot for your answer.
We will proceed then with AM62P.
Could you please provide a reference device tree for setting 2x independent SL-OLDI?
Thanks!
Hi Thanks a lot Divyansh Mittal
ive followed this pdf and set as 4.3 OLDI (Single Link - Independent Mode) on the AM62P - 6.6.58-ti
it seems like the 2 screens are still in mirror mode when we try :
QT_IVI_SURFACE_ID=100 /usr/share/examples/charts/donutchart/donutchart
also it looks like the dtb is ok becuase i see this :
ls /sys/class/drm/
card0 card0-LVDS-1 card1 card1-LVDS-2 card2 renderD128 version
and both card0-LVDS status are connected,
I’m trying to run two separate Qt apps, one on each screen. Is there a known way to assign Qt windows to each LVDS output independently?
also do i need to change: /etc/xdg/weston/weston.ini, i couldnt find the ivi-controller.so.
Thanks
This is happening because you are on an older SDK.
You can either switch to 11.01 or apply this patch: https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/commit/?h=ti-linux-6.12.y&id=670fcdf73e85f67e0917cdf0cc6ec4f5fcf43392