Hello,
My aim is to configure two displays on LVDS0 and LVDS1 using two LVDS-HDMI adapter cards on the iMX8QM MEK platform running Android 10. I want to have one display in portrait mode and the second one in landscape mode. I also want the touch inputs rotated respectively. I'm running into a few issues getting the correct resolution on my secondary display. I've tried to manually set the display timings in imx8qm-mek.dts with the following:
Attached is the result. Any input would be much appreciated
Thank you!
Hi tpe
one can look at sect.8.3.2 Enabling multiple-display function Android User’s Guide
from android documentation on
Best regards
igor
Hello Igor,
Thank you for your input. I've already read this section in the Android's user guide and was able to get output in my second display, but the secondary screen resolution is off. However, when I launch a separate application on the second display, the display resolution is scaled correctly and when I dumpsys the display info, both of my displays have the correct display timings. My main concern is the incorrect display resolution as shown in the attached image once the system is finished booting. Also, is there any additional documentation for rotating surface and touch on secondary displays? The documentation is limited to binding display ports with input ports
Hi tpe
resolution should not set with "display-timings" as it6263 (LVDS-HDMI) driver
reads panel capability (resolution) through i2c in functions
it6263_read_edid(), it6263_get_modes(), drm_detect_hdmi_monitor()
as this is hdmi, strictly speaking supported only cea resolutions:
Best regards
igor
Hello,
How would I go about modifying my HDMI resolutions? One screen is natively 1280x800 and the other 400x1280. Is there any documentation or do I set these through I2C in device tree configurations?
>How would I go about modifying my HDMI resolutions?
linux hdmi driver supports only cea modes described in "struct drm_display_mode"
drm_edid.c. In general you can add neceesary resolution to that table, but
operation can not be guatanteed. In particular using non-cea modes can lead
to sound loss.
Best regards
igor
In "struct drm_display_mode" the resolutions are auto generated by a DMT spec. Where is this DMT spec defined and how can I differentiate EDID for my two displays? It seems like it grabs the best fit for both displays instead of independent configurations
for cea one can look for example in Table 33-3. Video Modes
i.MX 6Dual/6Quad Applications Processor Reference Manual
> how can I differentiate EDID for my two displays?
driver reads panel capability (resolution) through i2c in functions it6263_read_edid(),
https://en.wikipedia.org/wiki/Extended_Display_Identification_Data
https://www.epiphan.com/blog/what-is-edid-and-why-is-it-important/
Best regards
igor