We are attempting to create a device with a built in display running android that also has an HDMI connection where the user can optionally connect an external monitor.
Built in display = 720x1280 portrait
External display = whatever they plug in, ideally driven at 1920x1080.
Our built in display works properly as the primary display and we see Android running as expected.
IF we configure our device to NOT have a primary built in display, and instead we configure the primary display to be HDMI, the HDMI monitor will negotiate 1920x1080 and we will see the content as expected.
When we configure BOTH displays, we still see built in display contents properly. However, the HDMI display only shows a resolution of 800x600. There seems to be some issue with clocks or other configuration when running both displays.
Our DTS file simply includes the stock imx8mp.dtsi. We then enable lcdif1 w/ mipi_dsi for our built in display and lcdif3 for the HDMI display.
Suggestions on how to configure properly for two displays or how to debug what the problem is appreciated. We see this problem on Android 11 2.2.0 as well as Android 12 1.0.0.