[Intel-gfx] i915: LVDS display (or LVDS->DVI) via eDP as 2nd display
Hi! I'm currently trying to enable the 2nd display on our Bay Trail Atom E3845 SoC. This is on the Congatec SoM "conga-QA3": http://www.congatec.com/en/products/qseven/conga-qa3.html On this SoM, the eDP is converted to LVDS via an NXP PTN3460 and available as LVDS on the baseboard. My current setup is that the 1st display is connected to HDMI1. This works just fine. In the production version I would like to use a LVDS display connected via eDP from the Bay Trail Atom. Since we don't have this LVDS display yet, I'm currently testing with this LVDS -> DVI adapter board: http://www.congatec.com/de/produkte/zubehoer/conga-ldvi.html So my current setup for this 2nd display is: eDP -> LVDS -> DVI which does not work. Here my xrandr output: Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767 DP1 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 597mm x 336mm 1920x1200 59.95* 1920x1080 60.00 1600x1200 60.00 1680x1050 59.88 1280x1024 75.0260.02 1280x800 59.91 1152x864 75.00 1024x768 75.0360.00 800x600 75.0060.32 640x480 75.0059.94 720x400 70.08 HDMI2 disconnected (normal left inverted right x axis y axis) VGA1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) When I now try to add and enable DP1 (this is the correct port for the eDP, right?), then I get these errors / warnings: sudo xrandr -d :0 --output DP1 --addmode DP1 640x480 sudo dmesg -c [ 189.049312] [drm:vlv_pipe_set_fifo_size.isra.24] Pipe A FIFO split 511 / 511 / 511 [ 189.049322] [drm:vlv_update_wm] Setting FIFO watermarks - A: plane=391, cursor=63, sprite0=0, sprite1=0, SR: plane=903, cursor=0 level=0 cxsr=1 [ 189.050924] [drm:vlv_pipe_set_fifo_size.isra.24] Pipe A FIFO split 511 / 511 / 511 [ 189.050934] [drm:vlv_update_wm] Setting FIFO watermarks - A: plane=391, cursor=0, sprite0=0, sprite1=0, SR: plane=903, cursor=0 level=0 cxsr=1 sudo xrandr -d :0 --output DP1 --mode 640x480 --right-of HDMI1 sudo dmesg -c [ 206.066238] [drm:vlv_pipe_set_fifo_size.isra.24] Pipe A FIFO split 511 / 511 / 511 [ 206.066248] [drm:vlv_update_wm] Setting FIFO watermarks - A: plane=391, cursor=63, sprite0=0, sprite1=0, SR: plane=903, cursor=0 level=0 cxsr=1 [ 206.075015] [drm:drm_mode_addfb2] [FB:47] [ 206.075208] [drm:drm_mode_setcrtc] [CRTC:26:pipe A] [ 206.075238] [drm:drm_mode_setcrtc] [CONNECTOR:41:HDMI-A-1] [ 206.076190] [drm:drm_mode_setcrtc] [CRTC:26:pipe A] [ 206.076196] [drm:drm_mode_setcrtc] [CONNECTOR:41:HDMI-A-1] [ 206.082714] [drm:vlv_pipe_set_fifo_size.isra.24] Pipe A FIFO split 511 / 511 / 511 [ 206.082723] [drm:vlv_update_wm] Setting FIFO watermarks - A: plane=391, cursor=0, sprite0=0, sprite1=0, SR: plane=903, cursor=0 level=0 cxsr=1 [ 206.083919] [drm:drm_mode_setcrtc] [CRTC:31:pipe B] [ 206.083927] [drm:drm_mode_setcrtc] [CONNECTOR:37:DP-1] [ 206.083946] [drm:intel_atomic_check] [CONNECTOR:37:DP-1] checking for sink bpp constrains [ 206.083949] [drm:intel_atomic_check] clamping display bpp (was 30) to default limit of 24 [ 206.083952] [ cut here ] [ 206.083957] WARNING: CPU: 2 PID: 1953 at drivers/gpu/drm/i915/intel_dp.c:146 intel_dp_max_link_bw.isra.8+0x28/0x50 [ 206.083958] invalid max DP link bw val 0, using 1.62Gbps [ 206.083959] Modules linked in: [ 206.083965] CPU: 2 PID: 1953 Comm: Xorg Not tainted 4.9.0-rc4+ #5 [ 206.083966] Hardware name: congatec conga-qeval20-qa3-e3845/conga-qeval20-qa3-e3845, BIOS 2016.09.01-00021-ga2921da-dirty 09/30/2016 [ 206.083968] c90001de7a10 8132b928 c90001de7a60 [ 206.083973] c90001de7a50 81059b66 00920007 88017a48f0e0 [ 206.083978] c90001de7b50 0001 0004 88017a48d000 [ 206.083982] Call Trace: [ 206.083988] [] dump_stack+0x4d/0x65 [ 206.083992] [] __warn+0xc6/0xe0 [ 206.083995] [] warn_slowpath_fmt+0x4a/0x50 [ 206.083998] [] intel_dp_max_link_bw.isra.8+0x28/0x50 [ 206.084001] [] intel_dp_common_rates+0x28/0xc0 [ 206.084004] [] intel_dp_compute_config+0x82/0x6e0 [ 206.084008] [] intel_atomic_check+0x2ff/0x10b0 [ 206.084012] [] drm_atomic_check_only+0x45b/0x580 [ 206.084015] [] ? drm_atomic_set_crtc_for_connector+0xbb/0xf0 [ 206.084018] [] drm_atomic_commit+0x12/0x50 [ 206.084021] [] drm_atomic_helper_set_config+0x7c/0xb0 [ 206.084024] [] drm_mode_set_config_internal+0x60/0x110 [ 206.084027] [] drm_mode_setcrtc+0x3bd/0x480 [ 206.084031] [] drm_ioctl+0x1e1/0x470 [ 206.084034] [] ? drm_mode_getcrtc+0x140/0x140 [ 206.084039] [] do_vfs_ioctl+0x8d/0x590 [ 206.084042] [] ? recalc_sigpending+0x15/0x40 [ 206.084045] [] SyS_ioctl+0x74/0x80 [ 206.084049] [] entry_SYSCALL
[Intel-gfx] i915: LVDS display (or LVDS->DVI) via eDP as 2nd display
Hi! I'm currently trying to enable the 2nd display on our Bay Trail Atom E3845 SoC. This is on the Congatec SoM "conga-QA3": http://www.congatec.com/en/products/qseven/conga-qa3.html On this SoM, the eDP is converted to LVDS via an NXP PTN3460 and available as LVDS on the baseboard. My current setup is that the 1st display is connected to HDMI1. This works just fine. In the production version I would like to use a LVDS display connected via eDP from the Bay Trail Atom. Since we don't have this LVDS display yet, I'm currently testing with this LVDS -> DVI adapter board: http://www.congatec.com/de/produkte/zubehoer/conga-ldvi.html So my current setup for this 2nd display is: eDP -> LVDS -> DVI which does not work. Here my xrandr output: Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767 DP1 disconnected (normal left inverted right x axis y axis) DP2 disconnected (normal left inverted right x axis y axis) HDMI1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 597mm x 336mm 1920x1200 59.95* 1920x1080 60.00 1600x1200 60.00 1680x1050 59.88 1280x1024 75.0260.02 1280x800 59.91 1152x864 75.00 1024x768 75.0360.00 800x600 75.0060.32 640x480 75.0059.94 720x400 70.08 HDMI2 disconnected (normal left inverted right x axis y axis) VGA1 disconnected (normal left inverted right x axis y axis) VIRTUAL1 disconnected (normal left inverted right x axis y axis) When I now try to add and enable DP1 (this is the correct port for the eDP, right?), then I get these errors / warnings: sudo xrandr -d :0 --output DP1 --addmode DP1 640x480 sudo dmesg -c [ 189.049312] [drm:vlv_pipe_set_fifo_size.isra.24] Pipe A FIFO split 511 / 511 / 511 [ 189.049322] [drm:vlv_update_wm] Setting FIFO watermarks - A: plane=391, cursor=63, sprite0=0, sprite1=0, SR: plane=903, cursor=0 level=0 cxsr=1 [ 189.050924] [drm:vlv_pipe_set_fifo_size.isra.24] Pipe A FIFO split 511 / 511 / 511 [ 189.050934] [drm:vlv_update_wm] Setting FIFO watermarks - A: plane=391, cursor=0, sprite0=0, sprite1=0, SR: plane=903, cursor=0 level=0 cxsr=1 sudo xrandr -d :0 --output DP1 --mode 640x480 --right-of HDMI1 sudo dmesg -c [ 206.066238] [drm:vlv_pipe_set_fifo_size.isra.24] Pipe A FIFO split 511 / 511 / 511 [ 206.066248] [drm:vlv_update_wm] Setting FIFO watermarks - A: plane=391, cursor=63, sprite0=0, sprite1=0, SR: plane=903, cursor=0 level=0 cxsr=1 [ 206.075015] [drm:drm_mode_addfb2] [FB:47] [ 206.075208] [drm:drm_mode_setcrtc] [CRTC:26:pipe A] [ 206.075238] [drm:drm_mode_setcrtc] [CONNECTOR:41:HDMI-A-1] [ 206.076190] [drm:drm_mode_setcrtc] [CRTC:26:pipe A] [ 206.076196] [drm:drm_mode_setcrtc] [CONNECTOR:41:HDMI-A-1] [ 206.082714] [drm:vlv_pipe_set_fifo_size.isra.24] Pipe A FIFO split 511 / 511 / 511 [ 206.082723] [drm:vlv_update_wm] Setting FIFO watermarks - A: plane=391, cursor=0, sprite0=0, sprite1=0, SR: plane=903, cursor=0 level=0 cxsr=1 [ 206.083919] [drm:drm_mode_setcrtc] [CRTC:31:pipe B] [ 206.083927] [drm:drm_mode_setcrtc] [CONNECTOR:37:DP-1] [ 206.083946] [drm:intel_atomic_check] [CONNECTOR:37:DP-1] checking for sink bpp constrains [ 206.083949] [drm:intel_atomic_check] clamping display bpp (was 30) to default limit of 24 [ 206.083952] [ cut here ] [ 206.083957] WARNING: CPU: 2 PID: 1953 at drivers/gpu/drm/i915/intel_dp.c:146 intel_dp_max_link_bw.isra.8+0x28/0x50 [ 206.083958] invalid max DP link bw val 0, using 1.62Gbps [ 206.083959] Modules linked in: [ 206.083965] CPU: 2 PID: 1953 Comm: Xorg Not tainted 4.9.0-rc4+ #5 [ 206.083966] Hardware name: congatec conga-qeval20-qa3-e3845/conga-qeval20-qa3-e3845, BIOS 2016.09.01-00021-ga2921da-dirty 09/30/2016 [ 206.083968] c90001de7a10 8132b928 c90001de7a60 [ 206.083973] c90001de7a50 81059b66 00920007 88017a48f0e0 [ 206.083978] c90001de7b50 0001 0004 88017a48d000 [ 206.083982] Call Trace: [ 206.083988] [] dump_stack+0x4d/0x65 [ 206.083992] [] __warn+0xc6/0xe0 [ 206.083995] [] warn_slowpath_fmt+0x4a/0x50 [ 206.083998] [] intel_dp_max_link_bw.isra.8+0x28/0x50 [ 206.084001] [] intel_dp_common_rates+0x28/0xc0 [ 206.084004] [] intel_dp_compute_config+0x82/0x6e0 [ 206.084008] [] intel_atomic_check+0x2ff/0x10b0 [ 206.084012] [] drm_atomic_check_only+0x45b/0x580 [ 206.084015] [] ? drm_atomic_set_crtc_for_connector+0xbb/0xf0 [ 206.084018] [] drm_atomic_commit+0x12/0x50 [ 206.084021] [] drm_atomic_helper_set_config+0x7c/0xb0 [ 206.084024] [] drm_mode_set_config_internal+0x60/0x110 [ 206.084027] [] drm_mode_setcrtc+0x3bd/0x480 [ 206.084031] [] drm_ioctl+0x1e1/0x470 [ 206.084034] [] ? drm_mode_getcrtc+0x140/0x140 [ 206.084039] [] do_vfs_ioctl+0x8d/0x590 [ 206.084042] [] ? recalc_sigpending+0x15/0x40 [ 206.084045] [] SyS_ioctl+0x74/0x80 [ 206.084049] [] entry_SYSCALL