Bug 103347 - [dp] intel_dp.c:1554 WARN_ON(len <=8)
Summary: [dp] intel_dp.c:1554 WARN_ON(len <=8)
Status: CLOSED DUPLICATE of bug 106291
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-18 16:07 UTC by Chris Wilson
Modified: 2018-09-11 09:15 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features: display/DP


Attachments
dmesg Asrock J3455-ITX Kernel 4.15.17 (52.10 KB, text/plain)
2018-04-13 10:25 UTC, F.Hartung
no flags Details
error message with boot args drm.debug=0x0e (11.88 KB, text/plain)
2018-04-17 18:00 UTC, F.Hartung
no flags Details
dmesg J3455-itx with boot args drm.debug=0x0e (61.20 KB, text/plain)
2018-04-18 08:06 UTC, F.Hartung
no flags Details
dmesg J3455-itx with boot args drm.debug=0x0e (641.99 KB, text/plain)
2018-04-19 16:29 UTC, F.Hartung
no flags Details
dmesg J3455-itx with boot args drm.debug=0x0e - without edid (131.06 KB, text/plain)
2018-04-20 09:41 UTC, F.Hartung
no flags Details
dmesg j3455-itx-hack-fix-log (52.65 KB, text/plain)
2018-05-12 10:21 UTC, F.Hartung
no flags Details
dmesg NUC7i3BNK boot with HDMI connected (120.43 KB, text/plain)
2018-06-17 21:28 UTC, Phil67ago
no flags Details
dmesg NUC7i3BNK boot with HDMI disconnected (278.42 KB, text/plain)
2018-06-17 21:29 UTC, Phil67ago
no flags Details
dmesg NUC-DN2820FYKH boot with HDMI disconnected (123.08 KB, text/plain)
2018-06-17 21:30 UTC, Phil67ago
no flags Details
dmesg NUC7i3BNK boot with HDMI disconnected - patched (158.68 KB, text/plain)
2018-06-18 11:00 UTC, Phil67ago
no flags Details

Description Chris Wilson 2017-10-18 16:07:33 UTC
[ 1140.571937] WARN_ON(len <= 0)
[ 1140.571965] ------------[ cut here ]------------
[ 1140.572026] WARNING: CPU: 2 PID: 23503 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.572030] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.572039] CPU: 2 PID: 23503 Comm: tee Not tainted 4.14.0-rc5+ #280
[ 1140.572042] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.572048] task: ffff88026ef10ec0 task.stack: ffffc900002d8000
[ 1140.572084] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.572088] RSP: 0018:ffffc900002dbca0 EFLAGS: 00010286
[ 1140.572091] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.572094] RDX: 0000000000000001 RSI: 0000000000000096 RDI: ffffffff81c256c4
[ 1140.572097] RBP: ffffc900002dbca0 R08: 0000000000000011 R09: 0000000000000224
[ 1140.572100] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.572102] R13: ffff880273499200 R14: 0000000000006257 R15: 0000000000000000
[ 1140.572106] FS:  00007fe08124b700(0000) GS:ffff88027fd00000(0000) knlGS:0000000000000000
[ 1140.572108] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.572111] CR2: 00005600bf834128 CR3: 000000026ee53000 CR4: 00000000001406e0
[ 1140.572113] Call Trace:
[ 1140.572153]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.572165]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.572173]  status_store+0xb6/0x180
[ 1140.572178]  dev_attr_store+0x18/0x30
[ 1140.572183]  sysfs_kf_write+0x37/0x40
[ 1140.572187]  kernfs_fop_write+0x110/0x1a0
[ 1140.572192]  __vfs_write+0x28/0x130
[ 1140.572195]  vfs_write+0xb5/0x1a0
[ 1140.572199]  SyS_write+0x46/0xa0
[ 1140.572204]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.572207] RIP: 0033:0x7fe080d78760
[ 1140.572210] RSP: 002b:00007fff9577d418 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1140.572213] RAX: ffffffffffffffda RBX: 00005600bf832090 RCX: 00007fe080d78760
[ 1140.572216] RDX: 0000000000000003 RSI: 00007fff9577d520 RDI: 0000000000000003
[ 1140.572218] RBP: 00007fe081033440 R08: 00005600bf832270 R09: 00007fe08124b700
[ 1140.572224] R10: 0000000000000839 R11: 0000000000000246 R12: 0000000000000000
[ 1140.572226] R13: 00007fff9577d120 R14: 00005600bf833590 R15: 00005600bf832090
[ 1140.572229] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.572268] ---[ end trace 3fb8b1e693ce8020 ]---
[ 1140.572272] WARN_ON(len <= 0)
[ 1140.572294] ------------[ cut here ]------------
[ 1140.572343] WARNING: CPU: 2 PID: 23503 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.572345] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.572353] CPU: 2 PID: 23503 Comm: tee Tainted: G        W       4.14.0-rc5+ #280
[ 1140.572356] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.572359] task: ffff88026ef10ec0 task.stack: ffffc900002d8000
[ 1140.572395] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.572398] RSP: 0018:ffffc900002dbca0 EFLAGS: 00010286
[ 1140.572401] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.572404] RDX: 0000000000000001 RSI: 0000000000000096 RDI: ffffffff81c256c4
[ 1140.572406] RBP: ffffc900002dbca0 R08: 0000000000000011 R09: 0000000000000249
[ 1140.572409] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.572411] R13: ffff880275053b00 R14: 0000000000008ca0 R15: 0000000000000000
[ 1140.572414] FS:  00007fe08124b700(0000) GS:ffff88027fd00000(0000) knlGS:0000000000000000
[ 1140.572417] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.572420] CR2: 00005600bf834128 CR3: 000000026ee53000 CR4: 00000000001406e0
[ 1140.572422] Call Trace:
[ 1140.572464]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.572479]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.572486]  status_store+0xb6/0x180
[ 1140.572490]  dev_attr_store+0x18/0x30
[ 1140.572495]  sysfs_kf_write+0x37/0x40
[ 1140.572499]  kernfs_fop_write+0x110/0x1a0
[ 1140.572505]  __vfs_write+0x28/0x130
[ 1140.572510]  vfs_write+0xb5/0x1a0
[ 1140.572514]  SyS_write+0x46/0xa0
[ 1140.572519]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.572522] RIP: 0033:0x7fe080d78760
[ 1140.572525] RSP: 002b:00007fff9577d418 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1140.572528] RAX: ffffffffffffffda RBX: 00005600bf832090 RCX: 00007fe080d78760
[ 1140.572531] RDX: 0000000000000003 RSI: 00007fff9577d520 RDI: 0000000000000003
[ 1140.572533] RBP: 00007fe081033440 R08: 00005600bf832270 R09: 00007fe08124b700
[ 1140.572536] R10: 0000000000000839 R11: 0000000000000246 R12: 0000000000000000
[ 1140.572539] R13: 00007fff9577d120 R14: 00005600bf833590 R15: 00005600bf832090
[ 1140.572542] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.572580] ---[ end trace 3fb8b1e693ce8021 ]---
[ 1140.572584] WARN_ON(len <= 0)
[ 1140.572607] ------------[ cut here ]------------
[ 1140.572654] WARNING: CPU: 2 PID: 23503 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.572657] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.572665] CPU: 2 PID: 23503 Comm: tee Tainted: G        W       4.14.0-rc5+ #280
[ 1140.572667] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.572670] task: ffff88026ef10ec0 task.stack: ffffc900002d8000
[ 1140.572706] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.572710] RSP: 0018:ffffc900002dbca0 EFLAGS: 00010286
[ 1140.572713] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.572716] RDX: 0000000000000001 RSI: 0000000000000096 RDI: ffffffff81c256c4
[ 1140.572719] RBP: ffffc900002dbca0 R08: 0000000000000011 R09: 000000000000026e
[ 1140.572722] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.572724] R13: ffff8802734c9100 R14: 0000000000009c40 R15: 0000000000000000
[ 1140.572727] FS:  00007fe08124b700(0000) GS:ffff88027fd00000(0000) knlGS:0000000000000000
[ 1140.572730] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.572732] CR2: 00005600bf834128 CR3: 000000026ee53000 CR4: 00000000001406e0
[ 1140.572735] Call Trace:
[ 1140.572772]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.572785]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.572791]  status_store+0xb6/0x180
[ 1140.572795]  dev_attr_store+0x18/0x30
[ 1140.572799]  sysfs_kf_write+0x37/0x40
[ 1140.572803]  kernfs_fop_write+0x110/0x1a0
[ 1140.572807]  __vfs_write+0x28/0x130
[ 1140.572811]  vfs_write+0xb5/0x1a0
[ 1140.572815]  SyS_write+0x46/0xa0
[ 1140.572820]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.572823] RIP: 0033:0x7fe080d78760
[ 1140.572825] RSP: 002b:00007fff9577d418 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1140.572829] RAX: ffffffffffffffda RBX: 00005600bf832090 RCX: 00007fe080d78760
[ 1140.572831] RDX: 0000000000000003 RSI: 00007fff9577d520 RDI: 0000000000000003
[ 1140.572834] RBP: 00007fe081033440 R08: 00005600bf832270 R09: 00007fe08124b700
[ 1140.572837] R10: 0000000000000839 R11: 0000000000000246 R12: 0000000000000000
[ 1140.572840] R13: 00007fff9577d120 R14: 00005600bf833590 R15: 00005600bf832090
[ 1140.572843] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.572880] ---[ end trace 3fb8b1e693ce8022 ]---
[ 1140.572884] WARN_ON(len <= 0)
[ 1140.572905] ------------[ cut here ]------------
[ 1140.572951] WARNING: CPU: 2 PID: 23503 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.572953] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.572960] CPU: 2 PID: 23503 Comm: tee Tainted: G        W       4.14.0-rc5+ #280
[ 1140.572962] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.572965] task: ffff88026ef10ec0 task.stack: ffffc900002d8000
[ 1140.573001] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.573004] RSP: 0018:ffffc900002dbca0 EFLAGS: 00010286
[ 1140.573007] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.573010] RDX: 0000000000000001 RSI: 0000000000000096 RDI: ffffffff81c256c4
[ 1140.573012] RBP: ffffc900002dbca0 R08: 0000000000000011 R09: 0000000000000293
[ 1140.573015] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.573018] R13: ffff880275e55900 R14: 00000000000083d6 R15: 0000000000000000
[ 1140.573021] FS:  00007fe08124b700(0000) GS:ffff88027fd00000(0000) knlGS:0000000000000000
[ 1140.573024] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.573026] CR2: 00005600bf834128 CR3: 000000026ee53000 CR4: 00000000001406e0
[ 1140.573029] Call Trace:
[ 1140.573065]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.573076]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.573082]  status_store+0xb6/0x180
[ 1140.573085]  dev_attr_store+0x18/0x30
[ 1140.573090]  sysfs_kf_write+0x37/0x40
[ 1140.573094]  kernfs_fop_write+0x110/0x1a0
[ 1140.573098]  __vfs_write+0x28/0x130
[ 1140.573102]  vfs_write+0xb5/0x1a0
[ 1140.573106]  SyS_write+0x46/0xa0
[ 1140.573110]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.573113] RIP: 0033:0x7fe080d78760
[ 1140.573116] RSP: 002b:00007fff9577d418 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1140.573119] RAX: ffffffffffffffda RBX: 00005600bf832090 RCX: 00007fe080d78760
[ 1140.573122] RDX: 0000000000000003 RSI: 00007fff9577d520 RDI: 0000000000000003
[ 1140.573125] RBP: 00007fe081033440 R08: 00005600bf832270 R09: 00007fe08124b700
[ 1140.573127] R10: 0000000000000839 R11: 0000000000000246 R12: 0000000000000000
[ 1140.573130] R13: 00007fff9577d120 R14: 00005600bf833590 R15: 00005600bf832090
[ 1140.573133] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.573171] ---[ end trace 3fb8b1e693ce8023 ]---
[ 1140.573174] WARN_ON(len <= 0)
[ 1140.573192] ------------[ cut here ]------------
[ 1140.573234] WARNING: CPU: 2 PID: 23503 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.573785] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.573826] CPU: 0 PID: 23503 Comm: tee Tainted: G        W       4.14.0-rc5+ #280
[ 1140.573834] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.573841] task: ffff88026ef10ec0 task.stack: ffffc900002d8000
[ 1140.573893] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.573903] RSP: 0018:ffffc900002dbca0 EFLAGS: 00010286
[ 1140.573913] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.573919] RDX: 0000000000000001 RSI: 0000000000000096 RDI: ffffffff81c256c4
[ 1140.573925] RBP: ffffc900002dbca0 R08: 0000000000000011 R09: 00000000000002b8
[ 1140.573932] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.573939] R13: ffff8802734c9800 R14: 000000000000fde8 R15: 0000000000000000
[ 1140.573946] FS:  00007fe08124b700(0000) GS:ffff88027fc00000(0000) knlGS:0000000000000000
[ 1140.573952] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.573959] CR2: 00007ffd07837e80 CR3: 000000026ee53000 CR4: 00000000001406f0
[ 1140.573964] Call Trace:
[ 1140.574004]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.574018]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.574026]  status_store+0xb6/0x180
[ 1140.574030]  dev_attr_store+0x18/0x30
[ 1140.574036]  sysfs_kf_write+0x37/0x40
[ 1140.574040]  kernfs_fop_write+0x110/0x1a0
[ 1140.574047]  __vfs_write+0x28/0x130
[ 1140.574051]  vfs_write+0xb5/0x1a0
[ 1140.574055]  SyS_write+0x46/0xa0
[ 1140.574060]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.574063] RIP: 0033:0x7fe080d78760
[ 1140.574066] RSP: 002b:00007fff9577d418 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
[ 1140.574070] RAX: ffffffffffffffda RBX: 00005600bf832090 RCX: 00007fe080d78760
[ 1140.574072] RDX: 0000000000000003 RSI: 00007fff9577d520 RDI: 0000000000000003
[ 1140.574075] RBP: 00007fe081033440 R08: 00005600bf832270 R09: 00007fe08124b700
[ 1140.574079] R10: 0000000000000839 R11: 0000000000000246 R12: 0000000000000000
[ 1140.574081] R13: 00007fff9577d120 R14: 00005600bf833590 R15: 00005600bf832090
[ 1140.574084] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.574174] ---[ end trace 3fb8b1e693ce8024 ]---
[ 1140.586881] WARN_ON(len <= 0)
[ 1140.586962] ------------[ cut here ]------------
[ 1140.587025] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.587028] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.587038] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.587041] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.587044] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.587082] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.587085] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.587088] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.587091] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.587094] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 00000000000002dd
[ 1140.587097] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.587100] R13: ffff88027349b200 R14: 0000000000006257 R15: 0000000000000000
[ 1140.587103] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.587106] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.587108] CR2: 0000560840dd5000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.587111] Call Trace:
[ 1140.587152]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.587163]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.587171]  drm_mode_getconnector+0x2d0/0x300
[ 1140.587175]  ? drm_mode_object_put+0x32/0x50
[ 1140.587181]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.587185]  drm_ioctl_kernel+0x69/0xb0
[ 1140.587189]  drm_ioctl+0x2f9/0x3d0
[ 1140.587194]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.587200]  do_vfs_ioctl+0x94/0x5c0
[ 1140.587206]  ? SYSC_newfstat+0x35/0x50
[ 1140.587209]  SyS_ioctl+0x41/0x70
[ 1140.587213]  ? SyS_poll+0x62/0x110
[ 1140.587218]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.587222] RIP: 0033:0x7f5bea41de07
[ 1140.587225] RSP: 002b:00007fffb4b9e128 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.587229] RAX: ffffffffffffffda RBX: 00007f5bea6d6b00 RCX: 00007f5bea41de07
[ 1140.587231] RDX: 00007fffb4b9e170 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.587234] RBP: 0000564cb1ce5b70 R08: 00172fc58e099b82 R09: 00007fffb4bef080
[ 1140.587237] R10: 0000000000000001 R11: 0000000000003246 R12: 000000000004b640
[ 1140.587240] R13: 00000000000204a0 R14: 0000564cb1ce5b60 R15: 00007fffb4b9f2b4
[ 1140.587243] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.587281] ---[ end trace 3fb8b1e693ce8025 ]---
[ 1140.587284] WARN_ON(len <= 0)
[ 1140.587299] ------------[ cut here ]------------
[ 1140.587337] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.587339] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.587345] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.587348] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.587351] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.587386] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.587390] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.587393] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.587396] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.587399] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 0000000000000305
[ 1140.587402] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.587406] R13: ffff88027349bb00 R14: 0000000000008ca0 R15: 0000000000000000
[ 1140.587409] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.587412] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.587415] CR2: 0000560840dd5000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.587418] Call Trace:
[ 1140.587454]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.587464]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.587469]  drm_mode_getconnector+0x2d0/0x300
[ 1140.587473]  ? drm_mode_object_put+0x32/0x50
[ 1140.587477]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.587481]  drm_ioctl_kernel+0x69/0xb0
[ 1140.587484]  drm_ioctl+0x2f9/0x3d0
[ 1140.587489]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.587493]  do_vfs_ioctl+0x94/0x5c0
[ 1140.587497]  ? SYSC_newfstat+0x35/0x50
[ 1140.587502]  SyS_ioctl+0x41/0x70
[ 1140.587505]  ? SyS_poll+0x62/0x110
[ 1140.587509]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.587512] RIP: 0033:0x7f5bea41de07
[ 1140.587514] RSP: 002b:00007fffb4b9e128 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.587518] RAX: ffffffffffffffda RBX: 00007f5bea6d6b00 RCX: 00007f5bea41de07
[ 1140.587520] RDX: 00007fffb4b9e170 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.587523] RBP: 0000564cb1ce5b70 R08: 00172fc58e099b82 R09: 00007fffb4bef080
[ 1140.587525] R10: 0000000000000001 R11: 0000000000003246 R12: 000000000004b640
[ 1140.587528] R13: 00000000000204a0 R14: 0000564cb1ce5b60 R15: 00007fffb4b9f2b4
[ 1140.587531] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.587571] ---[ end trace 3fb8b1e693ce8026 ]---
[ 1140.587574] WARN_ON(len <= 0)
[ 1140.587588] ------------[ cut here ]------------
[ 1140.587626] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.587629] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.587635] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.587638] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.587640] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.587676] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.587679] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.587682] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.587685] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.587688] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 000000000000032d
[ 1140.587691] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.587693] R13: ffff880273495a00 R14: 0000000000009c40 R15: 0000000000000000
[ 1140.587696] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.587699] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.587702] CR2: 0000560840dd5000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.587704] Call Trace:
[ 1140.587740]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.587750]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.587756]  drm_mode_getconnector+0x2d0/0x300
[ 1140.587759]  ? drm_mode_object_put+0x32/0x50
[ 1140.587764]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.587767]  drm_ioctl_kernel+0x69/0xb0
[ 1140.587771]  drm_ioctl+0x2f9/0x3d0
[ 1140.587776]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.587780]  do_vfs_ioctl+0x94/0x5c0
[ 1140.587784]  ? SYSC_newfstat+0x35/0x50
[ 1140.587788]  SyS_ioctl+0x41/0x70
[ 1140.587792]  ? SyS_poll+0x62/0x110
[ 1140.587795]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.587798] RIP: 0033:0x7f5bea41de07
[ 1140.587801] RSP: 002b:00007fffb4b9e128 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.587804] RAX: ffffffffffffffda RBX: 00007f5bea6d6b00 RCX: 00007f5bea41de07
[ 1140.587807] RDX: 00007fffb4b9e170 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.587810] RBP: 0000564cb1ce5b70 R08: 00172fc58e099b82 R09: 00007fffb4bef080
[ 1140.587812] R10: 0000000000000001 R11: 0000000000003246 R12: 000000000004b640
[ 1140.587815] R13: 00000000000204a0 R14: 0000564cb1ce5b60 R15: 00007fffb4b9f2b4
[ 1140.587818] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.587855] ---[ end trace 3fb8b1e693ce8027 ]---
[ 1140.587858] WARN_ON(len <= 0)
[ 1140.587872] ------------[ cut here ]------------
[ 1140.587911] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.587914] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.587920] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.587923] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.587926] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.587961] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.587964] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.587968] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.587970] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.587973] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 0000000000000355
[ 1140.587975] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.587978] R13: ffff880273495300 R14: 00000000000083d6 R15: 0000000000000000
[ 1140.587981] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.587984] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.587987] CR2: 0000560840dd5000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.587989] Call Trace:
[ 1140.588025]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.588034]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.588040]  drm_mode_getconnector+0x2d0/0x300
[ 1140.588043]  ? drm_mode_object_put+0x32/0x50
[ 1140.588048]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.588051]  drm_ioctl_kernel+0x69/0xb0
[ 1140.588055]  drm_ioctl+0x2f9/0x3d0
[ 1140.588059]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.588064]  do_vfs_ioctl+0x94/0x5c0
[ 1140.588068]  ? SYSC_newfstat+0x35/0x50
[ 1140.588072]  SyS_ioctl+0x41/0x70
[ 1140.588076]  ? SyS_poll+0x62/0x110
[ 1140.588080]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.588082] RIP: 0033:0x7f5bea41de07
[ 1140.588085] RSP: 002b:00007fffb4b9e128 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.588088] RAX: ffffffffffffffda RBX: 00007f5bea6d6b00 RCX: 00007f5bea41de07
[ 1140.588091] RDX: 00007fffb4b9e170 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.588094] RBP: 0000564cb1ce5b70 R08: 00172fc58e099b82 R09: 00007fffb4bef080
[ 1140.588096] R10: 0000000000000001 R11: 0000000000003246 R12: 000000000004b640
[ 1140.588099] R13: 00000000000204a0 R14: 0000564cb1ce5b60 R15: 00007fffb4b9f2b4
[ 1140.588102] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.588139] ---[ end trace 3fb8b1e693ce8028 ]---
[ 1140.588142] WARN_ON(len <= 0)
[ 1140.588156] ------------[ cut here ]------------
[ 1140.588194] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.588197] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.588203] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.588206] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.588208] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.588244] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.588248] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.588252] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.588254] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.588257] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 000000000000037d
[ 1140.588259] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.588262] R13: ffff880273495b00 R14: 000000000000fde8 R15: 0000000000000000
[ 1140.588265] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.588268] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.588270] CR2: 0000560840dd5000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.588273] Call Trace:
[ 1140.588309]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.588318]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.588323]  drm_mode_getconnector+0x2d0/0x300
[ 1140.588327]  ? drm_mode_object_put+0x32/0x50
[ 1140.588331]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.588334]  drm_ioctl_kernel+0x69/0xb0
[ 1140.588338]  drm_ioctl+0x2f9/0x3d0
[ 1140.588342]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.588347]  do_vfs_ioctl+0x94/0x5c0
[ 1140.588351]  ? SYSC_newfstat+0x35/0x50
[ 1140.588355]  SyS_ioctl+0x41/0x70
[ 1140.588358]  ? SyS_poll+0x62/0x110
[ 1140.588362]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.588365] RIP: 0033:0x7f5bea41de07
[ 1140.588369] RSP: 002b:00007fffb4b9e128 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.588373] RAX: ffffffffffffffda RBX: 00007f5bea6d6b00 RCX: 00007f5bea41de07
[ 1140.588376] RDX: 00007fffb4b9e170 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.588379] RBP: 0000564cb1ce5b70 R08: 00172fc58e099b82 R09: 00007fffb4bef080
[ 1140.588382] R10: 0000000000000001 R11: 0000000000003246 R12: 000000000004b640
[ 1140.588385] R13: 00000000000204a0 R14: 0000564cb1ce5b60 R15: 00007fffb4b9f2b4
[ 1140.588388] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.588425] ---[ end trace 3fb8b1e693ce8029 ]---
[ 1140.613050] WARN_ON(common_len <= 0)
[ 1140.613083] ------------[ cut here ]------------
[ 1140.613178] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1653 intel_dp_compute_config+0xde/0x8b0 [i915]
[ 1140.613182] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.613195] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.613199] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.613203] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.613256] RIP: 0010:intel_dp_compute_config+0xde/0x8b0 [i915]
[ 1140.613299] RSP: 0018:ffffc90008c5fa30 EFLAGS: 00010286
[ 1140.613304] RAX: 0000000000000018 RBX: ffff880275b44000 RCX: ffffffff81a343d8
[ 1140.613318] RDX: 0000000000000001 RSI: 0000000000000096 RDI: ffffffff81c256c4
[ 1140.613328] RBP: ffffc90008c5fa98 R08: 0000000000000018 R09: 00000000000003a5
[ 1140.613335] R10: 0000000000000780 R11: 0000000000000018 R12: 0000000000000001
[ 1140.613339] R13: ffff880275203000 R14: ffff880275203000 R15: ffff880275107800
[ 1140.613345] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.613350] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.613354] CR2: 00007f5be1da6000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.613363] Call Trace:
[ 1140.613421]  intel_ddi_compute_config+0x4a/0xe0 [i915]
[ 1140.613483]  intel_atomic_check+0x302/0x11b0 [i915]
[ 1140.613498]  drm_atomic_check_only+0x43e/0x540
[ 1140.613516]  ? handle_conflicting_encoders+0x260/0x270 [drm_kms_helper]
[ 1140.613523]  drm_atomic_commit+0x18/0x50
[ 1140.613535]  drm_atomic_helper_set_config+0x68/0x90 [drm_kms_helper]
[ 1140.613544]  ? radix_tree_lookup+0xd/0x10
[ 1140.613553]  __drm_mode_set_config_internal+0x65/0x110
[ 1140.613560]  drm_mode_setcrtc+0x4bc/0x650
[ 1140.613568]  ? kvfree+0x2a/0x40
[ 1140.613574]  ? drm_mode_getcrtc+0x190/0x190
[ 1140.613580]  drm_ioctl_kernel+0x69/0xb0
[ 1140.613585]  drm_ioctl+0x2f9/0x3d0
[ 1140.613591]  ? drm_mode_getcrtc+0x190/0x190
[ 1140.613601]  do_vfs_ioctl+0x94/0x5c0
[ 1140.613608]  ? _copy_from_user+0x36/0x70
[ 1140.613614]  ? restore_altstack+0x47/0x50
[ 1140.613619]  SyS_ioctl+0x41/0x70
[ 1140.613626]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.613631] RIP: 0033:0x7f5bea41de07
[ 1140.613634] RSP: 002b:00007fffb4b9e968 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.613640] RAX: ffffffffffffffda RBX: 0000564cb1ca4bd0 RCX: 00007f5bea41de07
[ 1140.613644] RDX: 00007fffb4b9ea40 RSI: 00000000c06864a2 RDI: 000000000000000d
[ 1140.613649] RBP: 00007f5bec980000 R08: 00007f5bec980000 R09: 0000564cb18e7340
[ 1140.613653] R10: 0000564cb18ecbe0 R11: 0000000000003246 R12: 00007fffb4b9e930
[ 1140.613657] R13: 00007f5bec9802e0 R14: 0000564cb1ca4bd0 R15: 00007f5bec980420
[ 1140.613663] Code: c2 89 c7 83 e8 01 39 74 91 fc 0f 8e f0 01 00 00 85 c0 75 eb 48 c7 c6 aa 6c 14 a0 48 c7 c7 35 69 14 a0 44 89 5d c4 e8 93 fd fb e0 <0f> ff 48 8b 45 c8 41 be ff ff ff ff 44 8b 5d c4 44 8b 80 d8 36 
[ 1140.613723] ---[ end trace 3fb8b1e693ce802a ]---
[ 1140.618214] WARN_ON(common_len <= 0)
[ 1140.618248] ------------[ cut here ]------------
[ 1140.618324] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1653 intel_dp_compute_config+0xde/0x8b0 [i915]
[ 1140.618339] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.618351] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.618355] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.618359] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.618411] RIP: 0010:intel_dp_compute_config+0xde/0x8b0 [i915]
[ 1140.618416] RSP: 0018:ffffc90008c5fa30 EFLAGS: 00010286
[ 1140.618421] RAX: 0000000000000018 RBX: ffff880275b44000 RCX: ffffffff81a343d8
[ 1140.618425] RDX: 0000000000000001 RSI: 0000000000000096 RDI: ffffffff81c256c4
[ 1140.618429] RBP: ffffc90008c5fa98 R08: 0000000000000018 R09: 00000000000003d3
[ 1140.618433] R10: 0000000000000780 R11: 0000000000000018 R12: 0000000000000001
[ 1140.618437] R13: ffff880275203000 R14: ffff880275203000 R15: ffff880275107800
[ 1140.618441] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.618445] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.618449] CR2: 00007f5be15bd000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.618452] Call Trace:
[ 1140.618508]  intel_ddi_compute_config+0x4a/0xe0 [i915]
[ 1140.618564]  intel_atomic_check+0x302/0x11b0 [i915]
[ 1140.618573]  drm_atomic_check_only+0x43e/0x540
[ 1140.618588]  ? handle_conflicting_encoders+0x260/0x270 [drm_kms_helper]
[ 1140.618595]  drm_atomic_commit+0x18/0x50
[ 1140.618607]  drm_atomic_helper_set_config+0x68/0x90 [drm_kms_helper]
[ 1140.618615]  ? radix_tree_lookup+0xd/0x10
[ 1140.618622]  __drm_mode_set_config_internal+0x65/0x110
[ 1140.618627]  drm_mode_setcrtc+0x4bc/0x650
[ 1140.618635]  ? kvfree+0x2a/0x40
[ 1140.618641]  ? drm_mode_getcrtc+0x190/0x190
[ 1140.618646]  drm_ioctl_kernel+0x69/0xb0
[ 1140.618651]  drm_ioctl+0x2f9/0x3d0
[ 1140.618657]  ? drm_mode_getcrtc+0x190/0x190
[ 1140.618665]  do_vfs_ioctl+0x94/0x5c0
[ 1140.618671]  ? _copy_from_user+0x36/0x70
[ 1140.618677]  ? restore_altstack+0x47/0x50
[ 1140.618683]  SyS_ioctl+0x41/0x70
[ 1140.618689]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.618694] RIP: 0033:0x7f5bea41de07
[ 1140.618698] RSP: 002b:00007fffb4b9e968 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.618704] RAX: ffffffffffffffda RBX: 0000564cb1ca4cb0 RCX: 00007f5bea41de07
[ 1140.618708] RDX: 00007fffb4b9ea40 RSI: 00000000c06864a2 RDI: 000000000000000d
[ 1140.618712] RBP: 00007f5bec980000 R08: 00007f5bec980000 R09: 0000564cb18e7340
[ 1140.618715] R10: 0000564cb18ecbe0 R11: 0000000000003246 R12: 00007fffb4b9e930
[ 1140.618719] R13: 00007f5bec9802e0 R14: 0000564cb1ca4cb0 R15: 00007f5bec980420
[ 1140.618724] Code: c2 89 c7 83 e8 01 39 74 91 fc 0f 8e f0 01 00 00 85 c0 75 eb 48 c7 c6 aa 6c 14 a0 48 c7 c7 35 69 14 a0 44 89 5d c4 e8 93 fd fb e0 <0f> ff 48 8b 45 c8 41 be ff ff ff ff 44 8b 5d c4 44 8b 80 d8 36 
[ 1140.618780] ---[ end trace 3fb8b1e693ce802b ]---
[ 1140.631452] WARN_ON(len <= 0)
[ 1140.631487] ------------[ cut here ]------------
[ 1140.631587] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.631592] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.631604] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.631609] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.631614] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.631667] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.631671] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.631676] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.631680] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.631684] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 0000000000000401
[ 1140.631687] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.631691] R13: ffff880275071000 R14: 0000000000006257 R15: 0000000000000000
[ 1140.631695] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.631699] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.631703] CR2: 00007f5be15bd000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.631706] Call Trace:
[ 1140.631760]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.631775]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.631783]  ? ext4_dirty_inode+0x5c/0x70
[ 1140.631791]  drm_mode_getconnector+0x2d0/0x300
[ 1140.631796]  ? drm_mode_object_put+0x32/0x50
[ 1140.631803]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.631808]  drm_ioctl_kernel+0x69/0xb0
[ 1140.631813]  drm_ioctl+0x2f9/0x3d0
[ 1140.631818]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.631826]  do_vfs_ioctl+0x94/0x5c0
[ 1140.631833]  ? SYSC_newfstat+0x35/0x50
[ 1140.631838]  SyS_ioctl+0x41/0x70
[ 1140.631843]  ? SyS_poll+0x62/0x110
[ 1140.631849]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.631854] RIP: 0033:0x7f5bea41de07
[ 1140.631857] RSP: 002b:00007fffb4b9e558 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.631862] RAX: ffffffffffffffda RBX: 0000564cb18e7600 RCX: 00007f5bea41de07
[ 1140.631865] RDX: 00007fffb4b9e5a0 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.631869] RBP: 00007fffb4b9ea40 R08: 0019cf281bf80b82 R09: 00007fffb4bef080
[ 1140.631873] R10: 0000000000000001 R11: 0000000000003246 R12: 00000000c06864a2
[ 1140.631876] R13: 000000000000000d R14: 0000000000000002 R15: 0000564cb18e7430
[ 1140.631880] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.631933] ---[ end trace 3fb8b1e693ce802c ]---
[ 1140.631936] WARN_ON(len <= 0)
[ 1140.631956] ------------[ cut here ]------------
[ 1140.632009] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.632013] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.632021] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.632025] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.632028] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.632077] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.632082] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.632087] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.632090] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.632095] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 000000000000042a
[ 1140.632098] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.632102] R13: ffff880275b0ca00 R14: 0000000000008ca0 R15: 0000000000000000
[ 1140.632106] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.632110] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.632113] CR2: 00007f5be15bd000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.632116] Call Trace:
[ 1140.632166]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.632180]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.632186]  ? ext4_dirty_inode+0x5c/0x70
[ 1140.632192]  drm_mode_getconnector+0x2d0/0x300
[ 1140.632197]  ? drm_mode_object_put+0x32/0x50
[ 1140.632202]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.632207]  drm_ioctl_kernel+0x69/0xb0
[ 1140.632212]  drm_ioctl+0x2f9/0x3d0
[ 1140.632218]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.632224]  do_vfs_ioctl+0x94/0x5c0
[ 1140.632230]  ? SYSC_newfstat+0x35/0x50
[ 1140.632236]  SyS_ioctl+0x41/0x70
[ 1140.632242]  ? SyS_poll+0x62/0x110
[ 1140.632247]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.632251] RIP: 0033:0x7f5bea41de07
[ 1140.632255] RSP: 002b:00007fffb4b9e558 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.632260] RAX: ffffffffffffffda RBX: 0000564cb18e7600 RCX: 00007f5bea41de07
[ 1140.632263] RDX: 00007fffb4b9e5a0 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.632267] RBP: 00007fffb4b9ea40 R08: 0019cf281bf80b82 R09: 00007fffb4bef080
[ 1140.632271] R10: 0000000000000001 R11: 0000000000003246 R12: 00000000c06864a2
[ 1140.632275] R13: 000000000000000d R14: 0000000000000002 R15: 0000564cb18e7430
[ 1140.632278] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.632329] ---[ end trace 3fb8b1e693ce802d ]---
[ 1140.632333] WARN_ON(len <= 0)
[ 1140.632352] ------------[ cut here ]------------
[ 1140.632404] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.632407] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.632415] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.632418] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.632422] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.632471] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.632475] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.632479] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.632483] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.632487] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 0000000000000453
[ 1140.632491] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.632494] R13: ffff880273603400 R14: 0000000000009c40 R15: 0000000000000000
[ 1140.632498] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.632502] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.632505] CR2: 00007f5be15bd000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.632508] Call Trace:
[ 1140.632557]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.632570]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.632575]  ? ext4_dirty_inode+0x5c/0x70
[ 1140.632581]  drm_mode_getconnector+0x2d0/0x300
[ 1140.632586]  ? drm_mode_object_put+0x32/0x50
[ 1140.632592]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.632596]  drm_ioctl_kernel+0x69/0xb0
[ 1140.632602]  drm_ioctl+0x2f9/0x3d0
[ 1140.632607]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.632613]  do_vfs_ioctl+0x94/0x5c0
[ 1140.632619]  ? SYSC_newfstat+0x35/0x50
[ 1140.632624]  SyS_ioctl+0x41/0x70
[ 1140.632629]  ? SyS_poll+0x62/0x110
[ 1140.632634]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.632638] RIP: 0033:0x7f5bea41de07
[ 1140.632642] RSP: 002b:00007fffb4b9e558 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.632647] RAX: ffffffffffffffda RBX: 0000564cb18e7600 RCX: 00007f5bea41de07
[ 1140.632651] RDX: 00007fffb4b9e5a0 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.632654] RBP: 00007fffb4b9ea40 R08: 0019cf281bf80b82 R09: 00007fffb4bef080
[ 1140.632657] R10: 0000000000000001 R11: 0000000000003246 R12: 00000000c06864a2
[ 1140.632661] R13: 000000000000000d R14: 0000000000000002 R15: 0000564cb18e7430
[ 1140.632665] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.632717] ---[ end trace 3fb8b1e693ce802e ]---
[ 1140.632720] WARN_ON(len <= 0)
[ 1140.632739] ------------[ cut here ]------------
[ 1140.632791] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.632796] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.632804] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.632807] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.632811] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.632860] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.632865] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.632870] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.632874] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.632877] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 000000000000047c
[ 1140.632881] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.632884] R13: ffff8802734cf800 R14: 00000000000083d6 R15: 0000000000000000
[ 1140.632889] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.632892] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.632896] CR2: 00007f5be15bd000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.632899] Call Trace:
[ 1140.632948]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.632962]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.632968]  ? ext4_dirty_inode+0x5c/0x70
[ 1140.632974]  drm_mode_getconnector+0x2d0/0x300
[ 1140.632979]  ? drm_mode_object_put+0x32/0x50
[ 1140.632985]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.632989]  drm_ioctl_kernel+0x69/0xb0
[ 1140.632994]  drm_ioctl+0x2f9/0x3d0
[ 1140.633000]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.633006]  do_vfs_ioctl+0x94/0x5c0
[ 1140.633012]  ? SYSC_newfstat+0x35/0x50
[ 1140.633017]  SyS_ioctl+0x41/0x70
[ 1140.633022]  ? SyS_poll+0x62/0x110
[ 1140.633027]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.633032] RIP: 0033:0x7f5bea41de07
[ 1140.633036] RSP: 002b:00007fffb4b9e558 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.633041] RAX: ffffffffffffffda RBX: 0000564cb18e7600 RCX: 00007f5bea41de07
[ 1140.633044] RDX: 00007fffb4b9e5a0 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.633048] RBP: 00007fffb4b9ea40 R08: 0019cf281bf80b82 R09: 00007fffb4bef080
[ 1140.633052] R10: 0000000000000001 R11: 0000000000003246 R12: 00000000c06864a2
[ 1140.633055] R13: 000000000000000d R14: 0000000000000002 R15: 0000564cb18e7430
[ 1140.633059] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.633111] ---[ end trace 3fb8b1e693ce802f ]---
[ 1140.633114] WARN_ON(len <= 0)
[ 1140.633134] ------------[ cut here ]------------
[ 1140.633185] WARNING: CPU: 1 PID: 23487 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.633190] Modules linked in: i915 intel_gtt drm_kms_helper prime_numbers
[ 1140.633199] CPU: 1 PID: 23487 Comm: Xorg Tainted: G        W       4.14.0-rc5+ #280
[ 1140.633202] Hardware name:                  /NUC6CAYB, BIOS AYAPLCEL.86A.0029.2016.1124.1625 11/24/2016
[ 1140.633206] task: ffff880275c7ed00 task.stack: ffffc90008c5c000
[ 1140.633256] RIP: 0010:intel_dp_max_link_rate+0x54/0x70 [i915]
[ 1140.633292] RSP: 0018:ffffc90008c5fbb0 EFLAGS: 00010282
[ 1140.633304] RAX: 0000000000000011 RBX: ffff880275203000 RCX: ffffffff81a343d8
[ 1140.633317] RDX: 0000000000000001 RSI: 0000000000000092 RDI: ffffffff81c256c4
[ 1140.633325] RBP: ffffc90008c5fbb0 R08: 0000000000000011 R09: 00000000000004a5
[ 1140.633332] R10: 000000003b9aca00 R11: 0000000000000011 R12: 0000000000098580
[ 1140.633339] R13: ffff88027529a500 R14: 000000000000fde8 R15: 0000000000000000
[ 1140.633347] FS:  00007f5beca19a40(0000) GS:ffff88027fc80000(0000) knlGS:0000000000000000
[ 1140.633356] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1140.633363] CR2: 00007f5be15bd000 CR3: 000000026ac06000 CR4: 00000000001406e0
[ 1140.633370] Call Trace:
[ 1140.633426]  intel_dp_mode_valid+0xb5/0x150 [i915]
[ 1140.633444]  drm_helper_probe_single_connector_modes+0x549/0x710 [drm_kms_helper]
[ 1140.633457]  ? ext4_dirty_inode+0x5c/0x70
[ 1140.633468]  drm_mode_getconnector+0x2d0/0x300
[ 1140.633478]  ? drm_mode_object_put+0x32/0x50
[ 1140.633488]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.633497]  drm_ioctl_kernel+0x69/0xb0
[ 1140.633508]  drm_ioctl+0x2f9/0x3d0
[ 1140.633519]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[ 1140.633530]  do_vfs_ioctl+0x94/0x5c0
[ 1140.633540]  ? SYSC_newfstat+0x35/0x50
[ 1140.633549]  SyS_ioctl+0x41/0x70
[ 1140.633560]  ? SyS_poll+0x62/0x110
[ 1140.633565]  entry_SYSCALL_64_fastpath+0x13/0x94
[ 1140.633569] RIP: 0033:0x7f5bea41de07
[ 1140.633573] RSP: 002b:00007fffb4b9e558 EFLAGS: 00003246 ORIG_RAX: 0000000000000010
[ 1140.633578] RAX: ffffffffffffffda RBX: 0000564cb18e7600 RCX: 00007f5bea41de07
[ 1140.633582] RDX: 00007fffb4b9e5a0 RSI: 00000000c05064a7 RDI: 000000000000000d
[ 1140.633585] RBP: 00007fffb4b9ea40 R08: 0019cf281bf80b82 R09: 00007fffb4bef080
[ 1140.633589] R10: 0000000000000001 R11: 0000000000003246 R12: 00000000c06864a2
[ 1140.633592] R13: 000000000000000d R14: 0000000000000002 R15: 0000564cb18e7430
[ 1140.633596] Code: eb 0e 89 c2 89 c1 83 e8 01 41 3b 74 90 fc 7d 24 85 c0 75 ee 55 48 c7 c6 89 6c 14 a0 48 c7 c7 35 69 14 a0 48 89 e5 e8 6d 00 fc e0 <0f> ff b8 d0 78 02 00 5d c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 
[ 1140.633653] ---[ end trace 3fb8b1e693ce8030 ]---
Comment 1 Jani Saarinen 2018-03-29 07:11:37 UTC
First of all. Sorry about spam.
This is mass update for our bugs. 

Sorry if you feel this annoying but with this trying to understand if bug still valid or not.
If bug investigation still in progress, please ignore this and I apologize!

If you think this is not anymore valid, please comment to the bug that can be closed.
If you haven't tested with our latest pre-upstream tree(drm-tip), can you do that also to see if issue is valid there still and if you cannot see issue there, please comment to the bug.
Comment 2 F.Hartung 2018-04-12 20:46:12 UTC
This bug is still present in kernel 4.15.16 & 4.16.1 so IMHO it is still valid. I use a Asrock J3455-ITX board that uses a similar cpu as your NUC6CAYB so I guess it could be related to the LSPCON stuff and how Intel handled the DP to HDMI conversion.

My dmesg output is flooded by the following messages.

[   83.324999] ------------[ cut here ]------------
[   83.325000] WARN_ON(len <= 0)
[   83.325017] WARNING: CPU: 0 PID: 915 at drivers/gpu/drm/i915/intel_dp.c:1554 intel_dp_max_link_rate+0x5e/0x80
[   83.325017] Modules linked in: 8021q wl(PO) iwlmvm mac80211 iwlwifi snd_hda_codec_hdmi btusb btrtl btbcm btintel bluetooth intel_powerclamp intel_rapl snd_hda_codec_realtek ecdh_generic snd_usb_audio snd_hda_codec_generic snd_usbmidi_lib snd_rawmidi snd_hda_intel cfg80211 snd_hda_codec snd_hda_core rfkill snd_hwdep overlay uvesafb
[   83.325036] CPU: 0 PID: 915 Comm: Xorg Tainted: P        W  O     4.15.16 #1
[   83.325037] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./J3455-ITX, BIOS P1.60 01/16/2018
[   83.325039] RIP: 0010:intel_dp_max_link_rate+0x5e/0x80
[   83.325040] RSP: 0018:ffffa2eceeaf3bd8 EFLAGS: 00010292
[   83.325042] RAX: 0000000000000011 RBX: ffffa2ed366a7000 RCX: ffffffffaf246a18
[   83.325043] RDX: 0000000000000001 RSI: 0000000000000086 RDI: 0000000000000283
[   83.325044] RBP: 0000000000098580 R08: 00000000000029ac R09: ffffffffaffc0c00
[   83.325045] R10: fffffbff49d0d980 R11: 0000000000000001 R12: ffffa2ed34366000
[   83.325046] R13: 00000000000121c0 R14: 0000000000000000 R15: ffffa2ed366a7100
[   83.325048] FS:  00007ff786e5fd00(0000) GS:ffffa2ed3fc00000(0000) knlGS:0000000000000000
[   83.325050] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   83.325051] CR2: 00000000020ae5b8 CR3: 0000000274368000 CR4: 00000000001406b0
[   83.325052] Call Trace:
[   83.325054]  intel_dp_mode_valid+0xa7/0x160
[   83.325057]  drm_helper_probe_single_connector_modes+0x3de/0x6b0
[   83.325060]  drm_mode_getconnector+0x146/0x300
[   83.325062]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[   83.325065]  drm_ioctl_kernel+0x5b/0xb0
[   83.325067]  drm_ioctl+0x29f/0x340
[   83.325069]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[   83.325072]  ? generic_file_write_iter+0xf1/0x1e0
[   83.325075]  ? __vfs_write+0xdd/0x140
[   83.325078]  do_vfs_ioctl+0x90/0x5f0
[   83.325080]  SyS_ioctl+0x3b/0x70
[   83.325082]  do_syscall_64+0x6f/0x130
[   83.325084]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
[   83.325086] RIP: 0033:0x7ff785690767
[   83.325087] RSP: 002b:00007ffd8bfd6108 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[   83.325089] RAX: ffffffffffffffda RBX: 00000000020aa9f0 RCX: 00007ff785690767
[   83.325090] RDX: 00007ffd8bfd6190 RSI: 00000000c05064a7 RDI: 000000000000000a
[   83.325091] RBP: 00007ffd8bfd6190 R08: 00000000020a9f00 R09: 0000000000000001
[   83.325092] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c05064a7
[   83.325093] R13: 000000000000000a R14: 000000000000000a R15: 00007ffd8bfd6190
[   83.325094] Code: 8a fc eb 10 8b 32 89 c1 48 83 ea 04 83 e8 01 41 39 f0 7d 1f 85 c0 75 ec 48 c7 c6 ff c2 f8 ae 48 c7 c7 57 1e ef ae e8 02 8e 6f ff <0f> 0b b8 d0 78 02 00 c3 83 e9 01 48 63 c9 8b 84 8f 8c 00 00 00 
[   83.325134] ---[ end trace e51363f93b03cea5 ]---
Comment 3 F.Hartung 2018-04-13 10:25:43 UTC
Created attachment 138822 [details]
dmesg Asrock J3455-ITX Kernel 4.15.17
Comment 4 F.Hartung 2018-04-13 10:28:47 UTC
I use my system as HTPC and as the second multimedia device. The warning only occurs when the system boots and the TV is set to HDMI1 which is the STB. After switching to HDMI2 and rebooting the warning is gone.

So I guess the problem is that the driver can't detect the correct DP rate while the TV uses the other input and sends no data to the HTPC.
Comment 5 Jani Saarinen 2018-04-13 12:19:30 UTC
Can you also try with latest drm-tip: https://cgit.freedesktop.org/drm-tip?
Shashank, any idea on this. 

On CI we have same model but not HDMI connected there. https://intel-gfx-ci.01.org/hardware.html
Comment 6 F.Hartung 2018-04-13 13:42:01 UTC
I try to build the drm-tip kernel but I have to adjust & patch the underlying build system first. The recent kernel 4.16.x screwed the video output of my apollo lake based board completely so I'm not sure if it will work at all.

But maybe you can test it with your Asrock J4205-ITX since its bascially the same board just the cpu clock is a bit higher.
Comment 7 F.Hartung 2018-04-13 16:14:56 UTC
I used the latest commit (https://github.com/freedesktop/drm-tip), finished my rebuild, uploaded the image but still:

[   19.052823] ------------[ cut here ]------------
[   19.052824] WARN_ON(len <= 0)
[   19.052841] WARNING: CPU: 2 PID: 857 at drivers/gpu/drm/i915/intel_dp.c:1619 intel_dp_max_link_rate+0x55/0x70
[   19.052841] Modules linked in: 8021q wl(PO) iwlmvm mac80211 iwlwifi snd_hda_codec_hdmi btusb btrtl btbcm btintel bluetooth snd_hda_codec_realtek snd_usb_audio snd_hda_codec_generic snd_usbmidi_lib ecdh_generic snd_rawmidi cfg80211 intel_powerclamp intel_rapl snd_hda_intel rfkill snd_hda_codec snd_hda_core snd_hwdep overlay uvesafb
[   19.052860] CPU: 2 PID: 857 Comm: Xorg Tainted: P        W  O     4.16.0-rc7 #1
[   19.052861] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./J3455-ITX, BIOS P1.60 01/16/2018
[   19.052863] RIP: 0010:intel_dp_max_link_rate+0x55/0x70
[   19.052864] RSP: 0018:ffff9e5375bd7bd0 EFLAGS: 00010282
[   19.052866] RAX: 0000000000000011 RBX: ffff9e5376519000 RCX: ffffffff8c246e58
[   19.052867] RDX: 0000000000000001 RSI: 0000000000000086 RDI: 0000000000000297
[   19.052868] RBP: 0000000000098580 R08: 0000000000001376 R09: ffffffff8cfd6c40
[   19.052870] R10: ffffee2989d54940 R11: 0000000000000001 R12: ffff9e5375525c00
[   19.052871] R13: 00000000000121c0 R14: 0000000000000000 R15: ffff9e5376519108
[   19.052873] FS:  00007f82608a8d00(0000) GS:ffff9e537fd00000(0000) knlGS:0000000000000000
[   19.052874] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   19.052875] CR2: 0000000001a5a2a8 CR3: 00000002743e2000 CR4: 00000000001406a0
[   19.052876] Call Trace:
[   19.052878]  intel_dp_mode_valid+0xa7/0x160
[   19.052881]  drm_helper_probe_single_connector_modes+0x3d5/0x6a0
[   19.052884]  drm_mode_getconnector+0x146/0x300
[   19.052887]  ? shmem_getpage_gfp.isra.41+0x409/0xbc0
[   19.052890]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[   19.052891]  drm_ioctl_kernel+0x81/0xd0
[   19.052893]  drm_ioctl+0x2a8/0x350
[   19.052896]  ? drm_mode_connector_property_set_ioctl+0x40/0x40
[   19.052898]  ? generic_file_write_iter+0xf1/0x1e0
[   19.052900]  ? __vfs_write+0xdd/0x140
[   19.052902]  do_vfs_ioctl+0x90/0x5f0
[   19.052904]  SyS_ioctl+0x3b/0x70
[   19.052907]  do_syscall_64+0x6f/0x130
[   19.052909]  entry_SYSCALL_64_after_hwframe+0x42/0xb7
[   19.052911] RIP: 0033:0x7f825f0d9767
[   19.052912] RSP: 002b:00007ffd11ca3798 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
[   19.052914] RAX: ffffffffffffffda RBX: 0000000001a56cb0 RCX: 00007f825f0d9767
[   19.052915] RDX: 00007ffd11ca3820 RSI: 00000000c05064a7 RDI: 000000000000000a
[   19.052917] RBP: 00007ffd11ca3820 R08: 0000000001a56000 R09: 0000000000000001
[   19.052918] R10: 0000000000000000 R11: 0000000000000246 R12: 00000000c05064a7
[   19.052919] R13: 000000000000000a R14: 000000000000000a R15: 00007ffd11ca3820
[   19.052921] Code: 8a fc eb 10 8b 32 89 c1 48 83 ea 04 83 e8 01 41 39 f0 7d 1f 85 c0 75 ec 48 c7 c6 78 93 f9 8b 48 c7 c7 a7 a1 ef 8b e8 cb 18 6e ff <0f> 0b b8 d0 78 02 00 c3 83 e9 01 48 63 c9 8b 44 8f 74 c3 0f 1f 
[   19.052964] WARNING: CPU: 2 PID: 857 at drivers/gpu/drm/i915/intel_dp.c:1619 intel_dp_max_link_rate+0x55/0x70
[   19.052965] ---[ end trace a187945a29a828b9 ]---

apollo:~ # uname -r
4.16.0-rc7
Comment 8 shashank.sharma@intel.com 2018-04-16 03:11:50 UTC
Can you please paste the output of following here, while HDMI connected:
$ cat /sys/kernel/debug/dri/0/i915_display_info:
Comment 9 Jani Saarinen 2018-04-16 08:14:19 UTC
This from CI systems:
CRTC info
---------
CRTC 46: pipe: A, active=yes, (size=1024x768), dither=no, bpp=24
	fb: 110, pos: 0x0, size: 1024x768
	encoder 88: type: DDI C, connectors:
		connector 89: type: DP-2, status: connected, mode:
		id 0:"1024x768" freq 60 clock 65000 hdisp 1024 hss 1048 hse 1184 htot 1344 vdisp 768 vss 771 vse 777 vtot 806 type 0x48 flags 0xa
	cursor visible? no, position (0, 0), size 0x0, addr 0x00000000
	num_scalers=2, scaler_users=0 scaler_id=-1, scalers[0]: use=no, mode=0, scalers[1]: use=no, mode=0
	--Plane id 28: type=PRI, crtc_pos=   0x   0, crtc_size=1024x 768, src_pos=0.0000x0.0000, src_size=1024.0000x768.0000, format=XR24 little-endian (0x34325258), rotation=0 (0x00000001)
	--Plane id 33: type=OVL, crtc_pos=   0x   0, crtc_size=   0x   0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001)
	--Plane id 38: type=OVL, crtc_pos=   0x   0, crtc_size=   0x   0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001)
	--Plane id 43: type=CUR, crtc_pos=   0x   0, crtc_size=   0x   0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001)
	underrun reporting: cpu=yes pch=yes 
CRTC 65: pipe: B, active=no, (size=1024x768), dither=no, bpp=24
	underrun reporting: cpu=yes pch=yes 
CRTC 79: pipe: C, active=no, (size=1024x768), dither=no, bpp=24
	underrun reporting: cpu=yes pch=yes 

Connector info
--------------
connector 81: type DP-1, status: disconnected
	DPCD rev: 12
	audio support: no
	DP branch device present: yes
		Type: DisplayPort
		ID: MC2800
		HW: 2.2
		SW: 1.60
	modes:
connector 89: type DP-2, status: connected
	name: 
	physical dimensions: 600x340mm
	subpixel order: Unknown
	CEA rev: 0
	DPCD rev: 11
	audio support: no
	DP branch device present: yes
		Type: VGA
		ID: 
		HW: 0.0
		SW: 0.0
	modes:
		id 96:"1024x768" freq 60 clock 65000 hdisp 1024 hss 1048 hse 1184 htot 1344 vdisp 768 vss 771 vse 777 vtot 806 type 0x48 flags 0xa
		id 104:"1920x1080" freq 60 clock 148500 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0xa
		id 103:"1600x1200" freq 60 clock 162000 hdisp 1600 hss 1664 hse 1856 htot 2160 vdisp 1200 vss 1201 vse 1204 vtot 1250 type 0x40 flags 0x5
		id 105:"1680x1050" freq 60 clock 146250 hdisp 1680 hss 1784 hse 1960 htot 2240 vdisp 1050 vss 1053 vse 1059 vtot 1089 type 0x40 flags 0x6
		id 106:"1400x1050" freq 60 clock 121750 hdisp 1400 hss 1488 hse 1632 htot 1864 vdisp 1050 vss 1053 vse 1057 vtot 1089 type 0x40 flags 0x6
		id 111:"1600x900" freq 60 clock 108000 hdisp 1600 hss 1624 hse 1704 htot 1800 vdisp 900 vss 901 vse 904 vtot 1000 type 0x40 flags 0x5
		id 102:"1280x1024" freq 60 clock 108000 hdisp 1280 hss 1328 hse 1440 htot 1688 vdisp 1024 vss 1025 vse 1028 vtot 1066 type 0x40 flags 0x5
		id 109:"1440x900" freq 60 clock 106500 hdisp 1440 hss 1520 hse 1672 htot 1904 vdisp 900 vss 903 vse 909 vtot 934 type 0x40 flags 0x6
		id 100:"1280x960" freq 60 clock 108000 hdisp 1280 hss 1376 hse 1488 htot 1800 vdisp 960 vss 961 vse 964 vtot 1000 type 0x40 flags 0x5
		id 99:"1366x768" freq 60 clock 85500 hdisp 1366 hss 1436 hse 1579 htot 1792 vdisp 768 vss 771 vse 774 vtot 798 type 0x40 flags 0x5
		id 101:"1280x720" freq 60 clock 74250 hdisp 1280 hss 1390 hse 1430 htot 1650 vdisp 720 vss 725 vse 730 vtot 750 type 0x40 flags 0x5
		id 107:"800x600" freq 60 clock 40000 hdisp 800 hss 840 hse 968 htot 1056 vdisp 600 vss 601 vse 605 vtot 628 type 0x40 flags 0x5
		id 108:"640x480" freq 60 clock 25175 hdisp 640 hss 656 hse 752 htot 800 vdisp 480 vss 490 vse 492 vtot 525 type 0x40 flags 0xa
Comment 10 F.Hartung 2018-04-16 13:42:56 UTC
phoenix:~ # cat /sys/kernel/debug/dri/0/i915_display_info
CRTC info
---------
CRTC 37: pipe: A, active=yes, (size=1920x1080), dither=no, bpp=24
	fb: 97, pos: 0x0, size: 1920x1080
	encoder 58: type: DDI B, connectors:
		connector 59: type: HDMI-A-1, status: connected, mode:
		id 0:"" freq 0 clock 148500 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x0 flags 0x5
	cursor visible? no, position (0, 0), size 0x0, addr 0x00000000
	num_scalers=2, scaler_users=0 scaler_id=-1, scalers[0]: use=no, mode=0, scalers[1]: use=no, mode=0
	--Plane id 28: type=PRI, crtc_pos=   0x   0, crtc_size=1920x1080, src_pos=0.0000x0.0000, src_size=1920.0000x1080.0000, format=XR24 little-endian (0x34325258), rotation=0 (0x00000001)
	--Plane id 31: type=OVL, crtc_pos=   0x   0, crtc_size=   0x   0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001)
	--Plane id 34: type=CUR, crtc_pos=   0x   0, crtc_size=   0x   0, src_pos=0.0000x0.0000, src_size=0.0000x0.0000, format=N/A, rotation=0 (0x00000001)
	underrun reporting: cpu=yes pch=yes 
CRTC 47: pipe: B, active=no, (size=0x0), dither=no, bpp=0
	underrun reporting: cpu=yes pch=yes 
CRTC 57: pipe: C, active=no, (size=0x0), dither=no, bpp=0
	underrun reporting: cpu=yes pch=yes 

Connector info
--------------
connector 59: type HDMI-A-1, status: connected
	name: 
	physical dimensions: 1600x900mm
	subpixel order: Unknown
	CEA rev: 3
	audio support: yes
	modes:
		id 67:"1920x1080" freq 50 clock 148500 hdisp 1920 hss 2448 hse 2492 htot 2640 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x48 flags 0x5
		id 92:"1920x1080" freq 60 clock 148500 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5
		id 104:"1920x1080" freq 60 clock 148352 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5
		id 93:"1920x1080i" freq 60 clock 74250 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1094 vtot 1125 type 0x40 flags 0x15
		id 105:"1920x1080i" freq 60 clock 74176 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1094 vtot 1125 type 0x40 flags 0x15
		id 69:"1920x1080i" freq 50 clock 74250 hdisp 1920 hss 2448 hse 2492 htot 2640 vdisp 1080 vss 1084 vse 1094 vtot 1125 type 0x40 flags 0x15
		id 102:"1920x1080" freq 30 clock 74250 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5
		id 113:"1920x1080" freq 30 clock 74176 hdisp 1920 hss 2008 hse 2052 htot 2200 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5
		id 101:"1920x1080" freq 25 clock 74250 hdisp 1920 hss 2448 hse 2492 htot 2640 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5
		id 100:"1920x1080" freq 24 clock 74250 hdisp 1920 hss 2558 hse 2602 htot 2750 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5
		id 112:"1920x1080" freq 24 clock 74176 hdisp 1920 hss 2558 hse 2602 htot 2750 vdisp 1080 vss 1084 vse 1089 vtot 1125 type 0x40 flags 0x5
		id 79:"1280x1024" freq 75 clock 135000 hdisp 1280 hss 1296 hse 1440 htot 1688 vdisp 1024 vss 1025 vse 1028 vtot 1066 type 0x40 flags 0x5
		id 73:"1280x1024" freq 60 clock 108000 hdisp 1280 hss 1328 hse 1440 htot 1688 vdisp 1024 vss 1025 vse 1028 vtot 1066 type 0x40 flags 0x5
		id 68:"1360x768" freq 60 clock 85500 hdisp 1360 hss 1424 hse 1536 htot 1792 vdisp 768 vss 771 vse 777 vtot 795 type 0x40 flags 0x5
		id 71:"1280x768" freq 60 clock 79500 hdisp 1280 hss 1344 hse 1472 htot 1664 vdisp 768 vss 771 vse 778 vtot 798 type 0x40 flags 0x6
		id 72:"1280x768" freq 60 clock 68250 hdisp 1280 hss 1328 hse 1360 htot 1440 vdisp 768 vss 771 vse 778 vtot 790 type 0x40 flags 0x9
		id 94:"1280x720" freq 60 clock 74250 hdisp 1280 hss 1390 hse 1430 htot 1650 vdisp 720 vss 725 vse 730 vtot 750 type 0x40 flags 0x5
		id 106:"1280x720" freq 60 clock 74176 hdisp 1280 hss 1390 hse 1430 htot 1650 vdisp 720 vss 725 vse 730 vtot 750 type 0x40 flags 0x5
		id 87:"1280x720" freq 50 clock 74250 hdisp 1280 hss 1720 hse 1760 htot 1980 vdisp 720 vss 725 vse 730 vtot 750 type 0x40 flags 0x5
		id 80:"1024x768" freq 75 clock 78750 hdisp 1024 hss 1040 hse 1136 htot 1312 vdisp 768 vss 769 vse 772 vtot 800 type 0x40 flags 0x5
		id 81:"1024x768" freq 70 clock 75000 hdisp 1024 hss 1048 hse 1184 htot 1328 vdisp 768 vss 771 vse 777 vtot 806 type 0x40 flags 0xa
		id 82:"1024x768" freq 60 clock 65000 hdisp 1024 hss 1048 hse 1184 htot 1344 vdisp 768 vss 771 vse 777 vtot 806 type 0x40 flags 0xa
		id 83:"800x600" freq 75 clock 49500 hdisp 800 hss 816 hse 896 htot 1056 vdisp 600 vss 601 vse 604 vtot 625 type 0x40 flags 0x5
		id 84:"800x600" freq 72 clock 50000 hdisp 800 hss 856 hse 976 htot 1040 vdisp 600 vss 637 vse 643 vtot 666 type 0x40 flags 0x5
		id 74:"800x600" freq 60 clock 40000 hdisp 800 hss 840 hse 968 htot 1056 vdisp 600 vss 601 vse 605 vtot 628 type 0x40 flags 0x5
		id 75:"800x600" freq 56 clock 36000 hdisp 800 hss 824 hse 896 htot 1024 vdisp 600 vss 601 vse 603 vtot 625 type 0x40 flags 0x5
		id 70:"720x576" freq 50 clock 27000 hdisp 720 hss 732 hse 796 htot 864 vdisp 576 vss 581 vse 586 vtot 625 type 0x40 flags 0xa
		id 89:"720x576i" freq 50 clock 13500 hdisp 720 hss 732 hse 795 htot 864 vdisp 576 vss 580 vse 586 vtot 625 type 0x40 flags 0x101a
		id 107:"720x480" freq 60 clock 27027 hdisp 720 hss 736 hse 798 htot 858 vdisp 480 vss 489 vse 495 vtot 525 type 0x40 flags 0xa
		id 95:"720x480" freq 60 clock 27000 hdisp 720 hss 736 hse 798 htot 858 vdisp 480 vss 489 vse 495 vtot 525 type 0x40 flags 0xa
		id 108:"720x480i" freq 60 clock 13514 hdisp 720 hss 739 hse 801 htot 858 vdisp 480 vss 488 vse 494 vtot 525 type 0x40 flags 0x101a
		id 96:"720x480i" freq 60 clock 13500 hdisp 720 hss 739 hse 801 htot 858 vdisp 480 vss 488 vse 494 vtot 525 type 0x40 flags 0x101a
		id 76:"640x480" freq 75 clock 31500 hdisp 640 hss 656 hse 720 htot 840 vdisp 480 vss 481 vse 484 vtot 500 type 0x40 flags 0xa
		id 77:"640x480" freq 73 clock 31500 hdisp 640 hss 664 hse 704 htot 832 vdisp 480 vss 489 vse 492 vtot 520 type 0x40 flags 0xa
		id 103:"640x480" freq 60 clock 25200 hdisp 640 hss 656 hse 752 htot 800 vdisp 480 vss 490 vse 492 vtot 525 type 0x40 flags 0xa
		id 78:"640x480" freq 60 clock 25175 hdisp 640 hss 656 hse 752 htot 800 vdisp 480 vss 490 vse 492 vtot 525 type 0x40 flags 0xa
connector 64: type HDMI-A-2, status: disconnected
	audio support: no
	modes:
Comment 11 shashank.sharma@intel.com 2018-04-16 15:40:05 UTC
Connector info
--------------
connector 59: type HDMI-A-1, status: connected
	name: 
	physical dimensions: 1600x900mm
	subpixel order: Unknown
	CEA rev: 3
	audio support: yes

From the connector info pasted above, its not even a LSPCON port (LSPCON is listed as DP-1 connector), its a native HDMI 1.4 port, so there is no chance of going into DP link training as HDMI doesn't do link training. Looks like you have used some other HDMI port while testing, of the logs came from some other system.

- Shashank
Comment 12 F.Hartung 2018-04-16 16:37:01 UTC
I'm pretty sure it uses a LSPCON since I updated the hdmi firmware with this tool to 1.72 (https://downloadcenter.intel.com/download/26609/NUCs-HDMI-2-0-Firmware-Update-Tool-for-Intel-NUC-Kit-NUC6CAY-and-NUC7i3BN?product=95069)
to solve audio issues.

There is a whole thread about the problems of the Intel Apollo Lake platform and others with quite a similar board (J4205-ITX) report they also updated their hdmi firmware. 
https://forum.kodi.tv/showthread.php?tid=270298&pid=2553256#pid2553256

The Apollo Lake boards use a "HDMI-2.0-LSPCon MegaChips MCDP2800", there is a similar chip on my board so I'm pretty sure it is an internal DP port mapped to the HDMI port.

http://www.megachips.com/products/displayport/MCDP28x0

https://www.heise.de/imgs/18/2/2/5/8/6/6/2/MegaChips-MCDP2800-903a5c8eddf6bffc-b4c059ea0025935c.jpeg

https://www.heise.de/newsticker/meldung/Intel-Celeron-Gemini-Lake-mit-HDMI-2-0-und-SGX-3801532.html

I have a second TV of the same model and it's connected to my main HTPC with an i3-6100 & GA-B150N Phoenix-WIFI board. This combination works quite fine, also the logging of those messages started with kernel 4.15 so I guess it's related to recent patches.

So all in all I'm pretty sure it's using the same lspcon & I didn't use the wrong system to gather information.
Comment 13 F.Hartung 2018-04-16 17:55:15 UTC
This is a picture of the board and right beside the HDMI is the LSPCON chip located. So I have no clue how Intel manged it internally but obviously there is some DP to HDMI conversion system onboard.

https://cdn-reichelt.de/bilder/web/xxl_ws/E200/ASR_J3455-ITX_01.png
Comment 14 shashank.sharma@intel.com 2018-04-17 08:18:10 UTC
There is a chance that you have connected the HDMI to a different port, than the LSPCON HDMI port. Also when I had a look at the dmesg logs attached, I could not see any logs from I915 driver.

Can you please confirm on this (and share another complete dmesg logs):
- drm logs are enabled (drm.debug=0x0e) ? 
- I915 driver is loaded ? 
- you are connecting to right HDMI port ? 

- Shashank
Comment 15 shashank.sharma@intel.com 2018-04-17 08:25:45 UTC
(In reply to F.Hartung from comment #12)
> I'm pretty sure it uses a LSPCON since I updated the hdmi firmware with this
> tool to 1.72
> (https://downloadcenter.intel.com/download/26609/NUCs-HDMI-2-0-Firmware-
> Update-Tool-for-Intel-NUC-Kit-NUC6CAY-and-NUC7i3BN?product=95069)
> to solve audio issues.
> 
> There is a whole thread about the problems of the Intel Apollo Lake platform
> and others with quite a similar board (J4205-ITX) report they also updated
> their hdmi firmware. 
> https://forum.kodi.tv/showthread.php?tid=270298&pid=2553256#pid2553256
This is a different issue they are talking about, this is about getting HDR 10 bit output using HDMI 2.0 port (LSPCON), whereas this problem seems to be basic.
> 
> The Apollo Lake boards use a "HDMI-2.0-LSPCon MegaChips MCDP2800", there is
> a similar chip on my board so I'm pretty sure it is an internal DP port
> mapped to the HDMI port.
> 
> http://www.megachips.com/products/displayport/MCDP28x0
MCDP2800 is a DP to HDMI converter LSPCON device, which is on-board with many APL devices in a motherboard down mode.
> 
> https://www.heise.de/imgs/18/2/2/5/8/6/6/2/MegaChips-MCDP2800-
> 903a5c8eddf6bffc-b4c059ea0025935c.jpeg
> 
> https://www.heise.de/newsticker/meldung/Intel-Celeron-Gemini-Lake-mit-HDMI-2-
> 0-und-SGX-3801532.html
> 
Geminilake is different from Apollolake, even though they belong to same GEN family, GLK has a native HDMI 2.0 controller, whereas APL takes help from LSPCON for HDMI 2.0 conversion.

> I have a second TV of the same model and it's connected to my main HTPC with
> an i3-6100 & GA-B150N Phoenix-WIFI board. This combination works quite fine,
> also the logging of those messages started with kernel 4.15 so I guess it's
> related to recent patches.
> 
> So all in all I'm pretty sure it's using the same lspcon & I didn't use the
> wrong system to gather information.
Comment 16 F.Hartung 2018-04-17 16:03:53 UTC
So to be honest I do not see where that should lead.

The forum is not only talking about HDMI 2.0 and 10bit color capabilities, mostly they / we talked about the buggy audio pass-through or no audio output at all. Most of the HDMI firmware updates fixed those issues like this 

http://nucblog.net/2017/02/apollo-lake-and-kaby-lake-nuc-hd-audio-bitstreaming-firmware-fix/


The uploaded dmesg output literally states: 

[    1.488203] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem

[    1.488607] [drm] Finished loading DMC firmware i915/bxt_dmc_ver1_07.bin (v1.7)

[    1.489424] [drm] forcing DP-2 connector on

[    1.511305] [drm] Initialized i915 1.6.0 20171023 for 0000:00:02.0 on minor 0

So yes IMHO the i915 driver is loaded or at least it's firmware and stuff, also the DP-2 connector is mentioned several times.

This is the Asrock support page https://asrock.com/mb/Intel/J3455-ITX/

Feel free to show me the wrong port I'm using. Last time I checked the connectors it had a DVI-D, D-SUB and a single HDMI. Afaik there is no "real" DP connector but the internal DP 1.4 port is converted by the lspcon to HDMI 2.0 because the apollo lake plattform itself provides no HDMI 2.0 just 1.4.
Comment 17 shashank.sharma@intel.com 2018-04-17 16:28:16 UTC
(In reply to F.Hartung from comment #16)
> So to be honest I do not see where that should lead.
> 
> The forum is not only talking about HDMI 2.0 and 10bit color capabilities,
> mostly they / we talked about the buggy audio pass-through or no audio
> output at all. Most of the HDMI firmware updates fixed those issues like
> this 
> 
> http://nucblog.net/2017/02/apollo-lake-and-kaby-lake-nuc-hd-audio-
> bitstreaming-firmware-fix/
> 
Yes we have fair idea about both of these issues, and that's why I mentioned these are advance use cases, whereas your problem is basic. Based on the logs shared, there is no LSPCON device attached !!
> 
> The uploaded dmesg output literally states: 
> 
> [    1.488203] i915 0000:00:02.0: vgaarb: changed VGA decodes:
> olddecodes=io+mem,decodes=io+mem:owns=io+mem
> 
> [    1.488607] [drm] Finished loading DMC firmware i915/bxt_dmc_ver1_07.bin
> (v1.7)
> 
> [    1.489424] [drm] forcing DP-2 connector on
> 
> [    1.511305] [drm] Initialized i915 1.6.0 20171023 for 0000:00:02.0 on
> minor 0
> 
> So yes IMHO the i915 driver is loaded or at least it's firmware and stuff,
> also the DP-2 connector is mentioned several times.
> 
These are literally the only places I915 gets mentioned about in the uploaded logs, whereas if I915 driver is loaded, we will see a lot lot more logs about I915 and LSPCON.

> This is the Asrock support page https://asrock.com/mb/Intel/J3455-ITX/
> 
> Feel free to show me the wrong port I'm using. Last time I checked the
> connectors it had a DVI-D, D-SUB and a single HDMI. Afaik there is no "real"
> DP connector but the internal DP 1.4 port is converted by the lspcon to HDMI
> 2.0 because the apollo lake plattform itself provides no HDMI 2.0 just 1.4.

Ok, in the image shown, from the top view it was not possible for me to detect if there are 2 HMDI ports stacked, or there is only one port. 

Now if that's the only HDMI port, then there is a very high possibility that I915 driver is not even loaded, so LSPCON is not enabled on that port, so it's enumerated as HDMI-1 and so on. 

My theory says:
- I915 driver is not loaded.
- LSPCON is not detected, and configured/enabled.
- There is hardcoded EDID for connector DP-2:
[   14.353325] [drm] Got external EDID base block and 1 extension from "edid/edid.bin" for connector "DP-2"
- So modeset is bypassing the actual DP detect sequence, and while doing the Link training for modeset, its getting this problem as there is no real DPCD for DP.    

Next steps:
- For us to debug anything, dmesg logs of bootup with drm.debug=0x0e is a must. please provide these logs, and based on that, we can analyze the next steps. 

- Shashank
Comment 18 F.Hartung 2018-04-17 18:00:52 UTC
Created attachment 138884 [details]
error message with boot args drm.debug=0x0e

added drm.debug=0x0e to boot args & got this output. If you need the full dmesg output I can upload it later.
Comment 19 Jani Saarinen 2018-04-17 18:48:09 UTC
HI, yes, please provide full dmesg, thanks.
Comment 20 shashank.sharma@intel.com 2018-04-18 02:27:44 UTC
(In reply to F.Hartung from comment #18)
> Created attachment 138884 [details]
> error message with boot args drm.debug=0x0e
> 
> added drm.debug=0x0e to boot args & got this output. If you need the full
> dmesg output I can upload it later.

Yes, full dmesg from bootup is required.

- Shashank
Comment 21 F.Hartung 2018-04-18 08:06:24 UTC
Created attachment 138900 [details]
dmesg J3455-itx with boot args drm.debug=0x0e
Comment 22 Jani Saarinen 2018-04-18 09:10:04 UTC
is this really from boot start? It starts from 1.5s?
Comment 23 shashank.sharma@intel.com 2018-04-18 12:59:24 UTC
This is not complete. 
We are specifically interested in logs from setup, so please share logs right from the beginning. 

- Shashank
Comment 24 F.Hartung 2018-04-19 16:29:40 UTC
Created attachment 138929 [details]
dmesg J3455-itx with boot args drm.debug=0x0e

The kernel log buffer size was to small, first I had to figure out how to increase the size of it. ¯\_(ツ)_/¯

It should be quite complete now.
Comment 25 Ville Syrjala 2018-04-19 16:41:51 UTC
Why do you have all this stuff on the kernel cmdline:
drm.edid_firmware=DP-2:edid/edid.bin video=DP-2:D drm.debug=0x0e ?

Remove it and I think the errors will disappear.
Comment 26 F.Hartung 2018-04-19 17:04:16 UTC
(In reply to Ville Syrjala from comment #25)
> Why do you have all this stuff on the kernel cmdline:
> drm.edid_firmware=DP-2:edid/edid.bin video=DP-2:D drm.debug=0x0e ?
> 
> Remove it and I think the errors will disappear.

Without this edid.bin you can't switch the TV input to the HTPC without rebooting it. There's just a blank blue screen when you do it without.

This edid ist extracted/ created by this script:

https://github.com/LibreELEC/LibreELEC.tv/blob/57014df2556761a23e9f66697332f342c6e90f78/packages/sysutils/busybox/scripts/getedid

It works fine on my skylake based plattform HTPC & I had no error messages until kernel 4.15 on the apollo board so I think there is some driver problem.
Comment 27 shashank.sharma@intel.com 2018-04-19 18:19:00 UTC
Here is your VBT setting:
[drm:intel_bios_init] Port A VBT info: DP:1 HDMI:0 DVI:0 EDP:0 CRT:0
[drm:intel_bios_init] VBT HDMI level shift for port A: 8
[drm:intel_bios_init] Port B VBT info: DP:1 HDMI:1 DVI:1 EDP:0 CRT:0
[drm:intel_bios_init] VBT HDMI level shift for port B: 8
[drm:intel_bios_init] Port C VBT info: DP:0 HDMI:1 DVI:1 EDP:0 CRT:0
[drm:intel_bios_init] VBT HDMI level shift for port C: 8

This means this is how connector allocation will go:
DP-1: PORT A
DP-2: PORT B
HDMI-A-1: PORT B
HDMI-A-2: PORT C

And also port B has LSPCON:
[drm:intel_ddi_init] VBT says port B has lspcon
So DP-2 port would be driving LSPCON device.

Now, your command line option video=DP-2:D has forced DP-2 on, which is LSPCON Port too, which will bypass the natural DP detection path.
[    1.471722] [drm] forcing DP-2 connector on
[   19.208474] [drm:intel_dp_force] [CONNECTOR:69:DP-2]
[   19.208478] [drm:intel_power_well_enable] enabling always-on

Whereas drm.edid_firmware=DP-2:edid/edid.bin will ask driver to pick edid from this hard-coded file, not from actual monitor. Now LSPCON's FW also reads EDID from monitor, and uses it for Link training handling.

I think as Ville mentioned, your command line is messing up with LSPCON, So remove this hard-coding of EDID, and it should fix this issue.

- Shashank
Comment 28 F.Hartung 2018-04-20 09:41:13 UTC
Created attachment 138945 [details]
dmesg J3455-itx with boot args drm.debug=0x0e - without edid

The edid boot arg is vital for me because without this edid.bin you won't get any picture unless you start the HTPC while the TV is set to the HTPC HDMI output.
I deleted the edid and and attached the dmesg output. It's not suitable at all to reboot everytime you want to switch to the HTPC.

Basically you tell me to:
1. stay on kernel 4.15.x and get along with a flooded dmesg output
2. revert to kernel 4.14.x because this kernel worked fine with the edid
3. delete the edid.bin and reboot everytime in want to use the HTPC
Comment 29 shashank.sharma@intel.com 2018-04-20 10:30:29 UTC
(In reply to F.Hartung from comment #28)
> Created attachment 138945 [details]
> dmesg J3455-itx with boot args drm.debug=0x0e - without edid
> 
> The edid boot arg is vital for me because without this edid.bin you won't
> get any picture unless you start the HTPC while the TV is set to the HTPC
> HDMI output.
> I deleted the edid and and attached the dmesg output. It's not suitable at
> all to reboot everytime you want to switch to the HTPC.
> 
> Basically you tell me to:
> 1. stay on kernel 4.15.x and get along with a flooded dmesg output
> 2. revert to kernel 4.14.x because this kernel worked fine with the edid
> 3. delete the edid.bin and reboot everytime in want to use the HTPC

I can see from the attached logs that the warning is already gone, so its clear that the boot arg was causing the problem. 

Now I am not sure if I understood your problem correctly, 
> without this you won't get any picture unless you start the HTPC while the TV > is set to the HTPC HDMI output.

Can you give more details on:
- What exactly is your HDMI output connection arrangement ?
- How do you start the HTPC ? 
- What problems are you seeing while switching to/from HTPC ?
Comment 30 F.Hartung 2018-04-27 08:43:26 UTC
TV
 |_HDMI1_STB
 |_HDMI2_HTPC
 |_HDMI3_FireTV

The STB is the main media supply for the TV. So when switching it on the video input of the tv is mostly set to HDMI1. While the TV is on you may want to switch to another video input i.e. HDMI2 or HDMI3. When I want to use the FireTV I select input 3 (HDMI3) and after a while I get a picture no matter what I used before or what input I used when the tv has been turned on.

But this just won't work with the HTPC. Unless I set the "custom" edid.bin I won't get a picture until I reboot the HTPC or set the tv input to HDMI2 while it is turned on. Without the edid I don't get the error messages but it's annoying to turn the whole setup off & on again just to select the HTPC as video input.
While the edid is set I don't have this problem, I can switch to the HTPC no matter what input was used before and I always get a picture and not just a blank screen.
Comment 31 Jani Saarinen 2018-05-04 09:52:14 UTC
Ville, Shashank, any updates from you here?
Comment 32 Ville Syrjala 2018-05-04 20:03:25 UTC
This looks to be a more or less the same issue as bug 106291.

If I understood correctly this connector/edid overriding is a basically workaround for Kodi failing to do anything sensible when there are no displays connected. I'd say the correct thing to do is to fix this in Kodi.

I've rambled on a bit in the other bug on how we might make connector forcing work a bit better for LSPCON/DP branch devices. But for straight up DP ports with nothing truly connected I don't think we can make this do anything sane, ever (unless we implement a simulated DP sink in the kernel to take the role of the real thing).
Comment 33 F.Hartung 2018-05-10 07:44:52 UTC
(In reply to Ville Syrjala from comment #32)
> This looks to be a more or less the same issue as bug 106291.
> 
> If I understood correctly this connector/edid overriding is a basically
> workaround for Kodi failing to do anything sensible when there are no
> displays connected. I'd say the correct thing to do is to fix this in Kodi.
> 
> I've rambled on a bit in the other bug on how we might make connector
> forcing work a bit better for LSPCON/DP branch devices. But for straight up
> DP ports with nothing truly connected I don't think we can make this do
> anything sane, ever (unless we implement a simulated DP sink in the kernel
> to take the role of the real thing).

Indeed this looks like a related problem. I'm just confused why the forced edid worked with kernel 4.14.x, worked with kernel 4.15.x with the error messages and finally is broken in 4.16.8. I get the error messages but no output at all.
Since I use the same LibreELEC base and just switch the kernel version it looks like it's related to some driver changes.
Comment 34 Ville Syrjala 2018-05-11 12:46:19 UTC
(In reply to F.Hartung from comment #33)
> (In reply to Ville Syrjala from comment #32)
> > This looks to be a more or less the same issue as bug 106291.
> > 
> > If I understood correctly this connector/edid overriding is a basically
> > workaround for Kodi failing to do anything sensible when there are no
> > displays connected. I'd say the correct thing to do is to fix this in Kodi.
> > 
> > I've rambled on a bit in the other bug on how we might make connector
> > forcing work a bit better for LSPCON/DP branch devices. But for straight up
> > DP ports with nothing truly connected I don't think we can make this do
> > anything sane, ever (unless we implement a simulated DP sink in the kernel
> > to take the role of the real thing).
> 
> Indeed this looks like a related problem. I'm just confused why the forced
> edid worked with kernel 4.14.x, worked with kernel 4.15.x with the error
> messages and finally is broken in 4.16.8. I get the error messages but no
> output at all.
> Since I use the same LibreELEC base and just switch the kernel version it
> looks like it's related to some driver changes.

I guess we're now pruning out all the modes, and before we didn't for some reason.

A hack like this might help a bit. Though it will still prune the modes quite severly.

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 62f82c4298ac..0f2ad4983582 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -6292,8 +6292,14 @@ intel_dp_init_connector(struct intel_digital_port *intel_dig_port,
                return false;
 
        intel_dp_set_source_rates(intel_dp);
+       intel_dp->dpcd[DP_MAX_LINK_RATE] = DP_LINK_BW_1_62;
+       intel_dp_set_sink_rates(intel_dp);
+       intel_dp_set_common_rates(intel_dp);
 
+       intel_dp->max_link_lane_count = 1;
+       intel_dp->max_link_rate = 162000;
        intel_dp->reset_link_params = true;
+
        intel_dp->pps_pipe = INVALID_PIPE;
        intel_dp->active_pipe = INVALID_PIPE;
Comment 35 F.Hartung 2018-05-12 10:21:27 UTC
Created attachment 139516 [details]
dmesg j3455-itx-hack-fix-log

Well looks like a first step in the right direction. I got rid of those error messages & the output works fine but only at standard resolution modes so something between 800x600 up to 1280x768. 

I guess because basically we skip negotiation between the device and the display port with this patch?
Comment 36 F.Hartung 2018-05-12 10:22:27 UTC
The patch I applied to kernel 4.16.8

diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c
index 62f82c4298ac..0f2ad4983582 100644
--- a/drivers/gpu/drm/i915/intel_dp.c
+++ b/drivers/gpu/drm/i915/intel_dp.c
@@ -6036,8 +6036,14 @@
 		return false;
 
 	intel_dp_set_source_rates(intel_dp);
-
+    intel_dp->dpcd[DP_MAX_LINK_RATE] = DP_LINK_BW_1_62;
+    intel_dp_set_sink_rates(intel_dp);
+    intel_dp_set_common_rates(intel_dp);
+
+    intel_dp->max_link_lane_count = 1;
+    intel_dp->max_link_rate = 162000;
 	intel_dp->reset_link_params = true;
+
 	intel_dp->pps_pipe = INVALID_PIPE;
 	intel_dp->active_pipe = INVALID_PIPE;
Comment 37 Phil67ago 2018-06-17 21:28:18 UTC
Created attachment 140188 [details]
dmesg NUC7i3BNK boot with HDMI connected
Comment 38 Phil67ago 2018-06-17 21:29:05 UTC
Created attachment 140189 [details]
dmesg NUC7i3BNK boot with HDMI disconnected
Comment 39 Phil67ago 2018-06-17 21:30:03 UTC
Created attachment 140190 [details]
dmesg NUC-DN2820FYKH boot with HDMI disconnected
Comment 40 Phil67ago 2018-06-17 21:32:59 UTC
If it might be of any use...

NUC7i3BNK can not start correct with HDMI cable disconnected.
NUC-DN2820FYKH correctly starts with cable disconnected.

Both units use exactly same LibreELEC 9.0 image and same edid setup.
Kernel 4.14.48
see dmesg
Comment 41 Phil67ago 2018-06-18 11:00:01 UTC
Created attachment 140193 [details]
dmesg NUC7i3BNK boot with HDMI disconnected - patched

Better result with patch (#36), but not right!
Dose not pick up all edid values.
Kodi ask for 1920x1080 and gets 1440x576
When HDMI cable is attached it is still on 1440x576

xrandr - without cable
Screen 0: minimum 8 x 8, current 1440 x 576, maximum 32767 x 32767
DP1 connected primary 1440x576+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   2880x576i     50.00  
   1440x576      50.00* 
   1024x768      60.00  
   1440x480      60.00    59.94  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
   720x400       70.08  
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

xrandr - with cable
Screen 0: minimum 8 x 8, current 1440 x 576, maximum 32767 x 32767
DP1 connected primary 1440x576+0+0 (normal left inverted right x axis y axis) 1600mm x 900mm
   1280x720      60.00 +  50.00    59.94  
   1920x1080    120.00   100.00   119.88    60.00    50.00    59.94    24.00    23.98  
   1920x1080i    60.00    50.00    59.94  
   2880x576      50.00  
   2880x576i     50.00  
   2880x480      60.00    59.94  
   1280x1024     60.02  
   1152x864      59.97  
   1440x576      50.00* 
   1024x768      60.00  
   1440x480      60.00    59.94  
   800x600       60.32  
   720x576       50.00  
   720x480       60.00    59.94  
   640x480       60.00    59.94  
   720x400       70.08  
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
Comment 42 Phil67ago 2018-06-19 18:43:39 UTC
Kernel 4.17.2
Not working at all with force EDID.
Neither with cable or without.

Related: bug 106291
Comment 43 Jani Nikula 2018-06-20 07:29:02 UTC
There are two things conflated here:

1) Connector forcing. Basically a dupe of bug 106291.

2) EDID override. Please let us know where this fails without 1).
Comment 44 Jani Nikula 2018-06-20 08:21:15 UTC
Here's a crazy idea I got, please try:

http://patchwork.freedesktop.org/patch/msgid/20180620081105.31868-1-jani.nikula@intel.com
Comment 45 Phil67ago 2018-06-20 10:23:46 UTC
Without any patches...

edid:  initrd=/edid.cpio drm.edid_firmware=DP-1:edid/edid.bin 
force: video=DP-1:D

Connected+edid -> Ok
Connected+force -> Failed 
Connected+edid+force -> Failed 
Disconnected+edid -> Failed
Disconnected+edid+force -> Failed
Comment 46 Phil67ago 2018-06-21 20:14:11 UTC
As mentioned in bug 106291 there are no DHCP at all when booting up with a disconnected cable. Then simulate DCHP data in same manner as edid data on the Kernel command line would be possible but seems complicated.

Solved my problem in another way. Skipping edid and force.
Instead trigger the udev event when the cable is connected and run following:

LibreELEC 9.0


/storage/.config/udev.rules.d/99-drm-hotplug.rules:
ACTION=="change", RUN+="/storage/.config/udev.rules.d/drm-hotplug.sh"


/storage/.config/udev.rules.d/drm-hotplug.sh:
#!/bin/sh

[ -e /run/xorg-hotplugged.done ] && exit

/bin/sleep 1
XRANDR=`xrandr -d :0.0`
connector=`echo "$XRANDR" | sed -n 's,\(.*\) connected [ \a]*\([x+0-9]*\).*,\1,p'`
mode=`echo "$XRANDR" | sed -n 's,\(.*\) connected [ a-z]*\([0-9]*x[0-9]*\).*,\2,p'`

[ -z "$connector" ] && exit 
[ ! -z "$mode" ] && exit 

/bin/xrandr -d :0.0 --auto
/bin/systemctl restart kodi

/bin/touch /run/xorg-hotplugged.done
Comment 47 Jani Nikula 2018-09-11 08:07:22 UTC
(In reply to Ville Syrjala from comment #32)
> This looks to be a more or less the same issue as bug 106291.
> 
> If I understood correctly this connector/edid overriding is a basically
> workaround for Kodi failing to do anything sensible when there are no
> displays connected. I'd say the correct thing to do is to fix this in Kodi.

Agreed.

RESOLVED DUPLICATE of bug 106291, but since we're not really working on that either, this is effectively RESOLVED NOTOURBUG. Making DP connector forcing possible is both not trivial and just bandaid to the actual issue of Kodi not handling booting without displays or hotplug properly.

*** This bug has been marked as a duplicate of bug 106291 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.