[Ask for help] i.MX6 dual display

Sean Nyekjær sean.nyekjaer at prevas.dk
Mon Dec 18 08:10:18 UTC 2017


Hi Philipp

I have an i.MX6Q running 4.9 LTS with etnaviv.
We would like to have both the HDMI and LVDS outputs enabled a once.

If I enable hdmi and lvds in the devicetree, we have only output on the 
hdmi port.
[    0.000000] Linux version 4.9.34 (oe-user at oe-host) (gcc version 6.3.0 
(GCC) ) #1 SMP PREEMPT Fri Dec 15 06:29:20 UTC 2017*
*[...]
[    0.515898] [drm] Initialized
[    0.518928] panel supply power not found, using dummy regulator
[    0.521554] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc084122c)
[    0.521594] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc084122c)
[    0.521624] etnaviv gpu-subsystem: bound 2204000.gpu (ops 0xc084122c)
[    0.521639] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[    0.570553] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[    0.622405] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[    0.622427] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[    0.624865] imx-ipuv3 2400000.ipu: IPUv3H probed
[    0.626139] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.626146] [drm] No driver support for vblank timestamp query.
[    0.626300] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 
0xc083b0e4)
[    0.626436] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 
0xc083b0e4)
[    0.626574] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops 
0xc083b0e4)
[    0.626696] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops 
0xc083b0e4)
[    0.626945] dwhdmi-imx 120000.hdmi: Detected HDMI controller 
0x13:0xa:0xa0:0xc1
[    0.627404] imx-drm display-subsystem: bound 120000.hdmi (ops 0xc083b238)
[    0.627795] imx-drm display-subsystem: bound 
2000000.aips-bus:ldb at 020e0008 (ops 0xc083adcc)
[    0.648754] random: fast init done
[    0.671003] imx-drm display-subsystem: fb0:  frame buffer device
[    0.708643] imx-ipuv3 2800000.ipu: IPUv3H probed

With forcing the LVDS on(still only picture on the HDMI):
[    0.000000] Kernel command line: console=ttymxc0,115200n8 
root=/dev/mmcblk1p1 rootfstype=ext4 rootwait quiet video=LVDS-1:e 
rauc.slot=A
[...]
[    0.523322] [drm] Initialized
[    0.526267] panel supply power not found, using dummy regulator
[    0.528889] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc084122c)
[    0.528925] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc084122c)
[    0.528970] etnaviv gpu-subsystem: bound 2204000.gpu (ops 0xc084122c)
[    0.528989] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[    0.579268] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[    0.630262] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[    0.630278] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[    0.632512] imx-ipuv3 2400000.ipu: IPUv3H probed
[    0.633745] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.633753] [drm] No driver support for vblank timestamp query.
[    0.633910] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 
0xc083b0e4)
[    0.634034] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 
0xc083b0e4)
[    0.634169] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops 
0xc083b0e4)
[    0.634287] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops 
0xc083b0e4)
[    0.634522] dwhdmi-imx 120000.hdmi: Detected HDMI controller 
0x13:0xa:0xa0:0xc1
[    0.634981] imx-drm display-subsystem: bound 120000.hdmi (ops 0xc083b238)
[    0.635357] [drm] forcing LVDS-1 connector ON
[    0.635377] imx-drm display-subsystem: bound 
2000000.aips-bus:ldb at 020e0008 (ops 0xc083adcc)
[    0.655807] random: fast init done
[    0.677586] imx-drm display-subsystem: fb0:  frame buffer device
[    0.717927] imx-ipuv3 2800000.ipu: IPUv3H probed

With forcing HDMI off, and LVDS on(Now we have picture on LVDS):
[    0.513932] [drm] Initialized
[    0.516913] panel supply power not found, using dummy regulator
[    0.519624] etnaviv gpu-subsystem: bound 134000.gpu (ops 0xc084122c)
[    0.519663] etnaviv gpu-subsystem: bound 130000.gpu (ops 0xc084122c)
[    0.519704] etnaviv gpu-subsystem: bound 2204000.gpu (ops 0xc084122c)
[    0.519722] etnaviv-gpu 134000.gpu: model: GC320, revision: 5007
[    0.569959] etnaviv-gpu 130000.gpu: model: GC2000, revision: 5108
[    0.620607] etnaviv-gpu 2204000.gpu: model: GC355, revision: 1215
[    0.620626] etnaviv-gpu 2204000.gpu: Ignoring GPU with VG and FE2.0
[    0.622916] imx-ipuv3 2400000.ipu: IPUv3H probed
[    0.624175] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    0.624184] [drm] No driver support for vblank timestamp query.
[    0.624338] imx-drm display-subsystem: bound imx-ipuv3-crtc.2 (ops 
0xc083b0e4)
[    0.624461] imx-drm display-subsystem: bound imx-ipuv3-crtc.3 (ops 
0xc083b0e4)
[    0.624599] imx-drm display-subsystem: bound imx-ipuv3-crtc.6 (ops 
0xc083b0e4)
[    0.624714] imx-drm display-subsystem: bound imx-ipuv3-crtc.7 (ops 
0xc083b0e4)
[    0.624954] dwhdmi-imx 120000.hdmi: Detected HDMI controller 
0x13:0xa:0xa0:0xc1
[    0.625248] [drm] forcing HDMI-A-1 connector OFF
[    0.625449] imx-drm display-subsystem: bound 120000.hdmi (ops 0xc083b238)
[    0.625822] [drm] forcing LVDS-1 connector ON
[    0.625843] imx-drm display-subsystem: bound 
2000000.aips-bus:ldb at 020e0008 (ops 0xc083adcc)
[    0.635015] imx-drm display-subsystem: fb0:  frame buffer device
[    0.678157] imx-ipuv3 2800000.ipu: IPUv3H probed

So basically I have 2 questions:
Is it possible to have both LVDS and HDMI enabled at once from the same ipu?
Can i move the HDMI output to the other ipu and how?

Best regards
Sean Nyekjaer


More information about the dri-devel mailing list