DVI Monitor isn't Supported

I have flashed image to SD card and iMX8QM can boot successfully. With one DELL DVI monitor, it says input timing is not supported by this monitor. On iMX6, one may add mxc_hdmi.only_cea=1 to vidargs in u-boot. There is not vidargs existing in iMXQM U-boot, I add it to mmcargs. However, it makes no difference. With another Philips monitor, display is fine. Could you help on this? Thanks!

log by benjamin.tx

Here is log:

root@apalis-imx8:~# dmesg|grep drm
[    1.544602] [drm] Initialized
[    1.548543] imx-drm display-subsystem: parent device of /ldb@572410e0/lvds-channel@0 is not available
[    1.558645] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    1.565268] [drm] No driver support for vblank timestamp query.
[    1.571297] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.2 (ops dpu_bliteng_ops)
[    1.579469] imx-drm display-subsystem: bound imx-drm-dpu-bliteng.5 (ops dpu_bliteng_ops)
[    1.587834] imx-drm display-subsystem: bound imx-dpu-crtc.0 (ops dpu_crtc_ops)
[    1.595261] imx-drm display-subsystem: bound imx-dpu-crtc.1 (ops dpu_crtc_ops)
[    1.602698] imx-drm display-subsystem: bound imx-dpu-crtc.3 (ops dpu_crtc_ops)
[    1.610114] imx-drm display-subsystem: bound imx-dpu-crtc.4 (ops dpu_crtc_ops)
[    1.796668] imx-drm display-subsystem: bound 56268000.hdmi (ops imx_hdp_imx_ops)
[    2.092539] imx-drm display-subsystem: fb0:  frame buffer device
root@apalis-imx8:~# dmesg|grep hdmi
[    0.636398] clk: couldn't set hdmi_lis_ipg_clk clk rate to 85000000 (-22), current rate: 84857142
[    1.617360] i.mx8-hdp 56268000.hdmi: No plug_in irq number
[    1.622852] i.mx8-hdp 56268000.hdmi: No plug_out irq number
[    1.796668] imx-drm display-subsystem: bound 56268000.hdmi (ops imx_hdp_imx_ops)

Yes, both monitors are fixed 1080p resolution.

According to this page, I add setenv video HDMI-A-1:1920x1080M@60,if=RGB24, but it makes no different.

Could you provide the datasheet of Philipp and Dell Screen?

Hi Jaski, I tested with another monitor. Now Philips 273E3L and Dell s2240m can work with iMX8QM, but Dell E2211H fails. Datasheets are here.

It seems that some old DVI display doesn’t work with current Apalis imx8. By default, it is set to HDMI 1.4/2.0. As EDID is not supported yet, DVI monitor could fail. Just set it to DVI in code imx-hdmi.c.

	/* Mode = 0 - DVI, 1 - HDMI1.4, 2 HDMI 2.0 */
	HDMI_TX_MAIL_HANDLER_PROTOCOL_TYPE ptype = 0;  /*Set mode to DVI*/

	/*if (vic == VIC_MODE_97_60Hz)
		ptype = 2;*/