AnsweredAssumed Answered

Does IMX8MM support WQHD?

Question asked by Takashi Kashiwagi on Jun 15, 2020
Latest reply on Jul 9, 2020 by Takashi Kashiwagi

Hi Community.

 

I set a 2400x480 display to panel-simple.c with IMX8MM, I am getting the following error.

 

[ 0.000000] Kernel command line: console=ttymxc0,115200 earlycon=ec_imx6q,0x30860000,115200 root=/dev/mmcblk2p1 rootwait rw uio_pdrv_genirq.of_id=generic-uio drm.debug=0x06
[ 0.871554] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.876879] [drm] No driver support for vblank timestamp query.
[ 0.881567] imx-drm display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 0.909589] imx-drm display-subsystem: bound 32e10000.mipi_dsi (ops imx_sec_dsim_ops)
[ 0.916149] [drm:drm_setup_crtcs]
[ 0.916158] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:33:DSI-1]
[ 0.916167] [drm:drm_helper_probe_single_connector_modes] [CONNECTOR:33:DSI-1] status updated from unknown to connected
[ 0.916187] [drm:drm_mode_debug_printmodeline] Modeline 34:"2400x480" 60 99000 2400 2520 2664 2784 480 493 496 525 0x48 0x5
[ 0.916193] [drm:drm_mode_prune_invalid] Not using 2400x480 mode: VIRTUAL_X
[ 0.916200] [drm:drm_setup_crtcs] No connectors reported connected with modes
[ 0.916205] [drm:drm_setup_crtcs] connector 33 enabled? yes
[ 0.916211] [drm:drm_setup_crtcs] looking for cmdline mode on connector 33
[ 0.916216] [drm:drm_setup_crtcs] looking for preferred mode on connector 33 0
[ 0.916220] [drm:drm_setup_crtcs] found mode none
[ 0.916224] [drm:drm_setup_crtcs] picking CRTCs for 1920x1920 config
[ 0.916229] [drm] Cannot find any crtc or sizes
[ 0.919749] [drm] Initialized imx-drm 1.0.0 20120507 for display-subsystem on minor 0

 

The RM says WQHD support, but is the configuration incorrect? Should I reduce the bandwidth?

 

 

panel-simple.c is as follows.

 

 

static const struct drm_display_mode test_2400x480_mode = {
.clock = 33000*3,
.hdisplay = 800*3,
.hsync_start = (800 + 40)*3,
.hsync_end = (800 + 40 + 48)*3,
.htotal = (800 + 40 + 48 + 40)*3,
.vdisplay = 480*1,
.vsync_start = (480 + 13)*1,
.vsync_end = (480 + 13 + 3)*1,
.vtotal = (480 + 13 + 3 + 29)*1,
.vrefresh = 60,
.flags = DRM_MODE_FLAG_PVSYNC | DRM_MODE_FLAG_PHSYNC,
};

static const struct panel_desc_dsi test_2400x480_lcd = {
.desc = {
.modes = &test_2400x480_mode,
.num_modes = 1,
.bpc = 8,
.size = {
.width = 1547*3,
.height = 841*1,
},
.bus_format = MEDIA_BUS_FMT_RGB888_1X24,
},
.flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_SYNC_PULSE | MIPI_DSI_MODE_VIDEO_HSE, // MIPI_DSI_CLOCK_NON_CONTINUOUS
.format = MIPI_DSI_FMT_RGB888,
.

 

Best Regards.

T.Kashiwagi

Outcomes