<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [regression] [amdgpu] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, giving up!!!"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107855#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [regression] [amdgpu] [drm:vce_v2_0_start [amdgpu]] *ERROR* VCE not responding, giving up!!!"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107855">bug 107855</a>
              from <span class="vcard"><a class="email" href="mailto:graaskaeg.via.forwarder@neverbox.com" title="Pontus Gråskæg <graaskaeg.via.forwarder@neverbox.com>"> <span class="fn">Pontus Gråskæg</span></a>
</span></b>
        <pre>OK, symlinks done, initrd rebuilt

Results are:

With amdgpu.dc=0 System boots with normal behaviour. Laptop eDP screen works,
VGA output works. I have no HDMI monitor to check if HDMI output works.

With amdgpu.dc=1 I get a blank laptop screen (eDP) and (of course) no VGA, and
I don't have an HDMI monitor to test the HDMI output. Given the problem I
experienced before, I guessed that a blind input of my LUKS password would get
me somewhere, so I enabled sshd beforehand so I could ssh into the laptop and
save the dmesg ring buffer to a file. It shows a problem. I have extracted what
I hope is the relevant part below, but have also attached full dmesg output for
both the amdgpu.dc=0 and amdgpu=1 cases.

[    2.047839] [TTM] Initializing pool allocator
[    2.047849] [TTM] Initializing DMA pool allocator
[    2.047915] [drm] amdgpu: 1024M of VRAM memory ready
[    2.047919] [drm] amdgpu: 3072M of GTT memory ready.
[    2.047933] [drm] GART: num cpu pages 262144, num gpu pages 262144
[    2.047971] [drm] PCIE GART of 1024M enabled (table at 0x000000F4007E9000).
[    2.048069] [drm] Internal thermal controller without fan control
[    2.048074] [drm] amdgpu: dpm initialized
[    2.049295] [drm] Found UVD firmware Version: 1.55 Family ID: 9
[    2.049697] [drm] Found VCE firmware Version: 50.10 Binary ID: 2
[    2.055250] [drm:dm_pp_get_static_clocks [amdgpu]] *ERROR* DM_PPLIB: invalid
powerlevel state: 0!
[    2.055339] [drm] Unsupported Connector type:5!
[    2.055459] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:3! type 0 expected 3
[    2.055535] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:4! type 0 expected 3
[    2.055610] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:5! type 0 expected 3
[    2.055686] [drm:construct [amdgpu]] *ERROR* construct: Invalid Connector
ObjectID from Adapter Service for connector index:6! type 0 expected 3
[    2.067894] [drm] Display Core initialized with v3.1.59!
[    2.068603] BUG: unable to handle kernel NULL pointer dereference at
0000000000000018
[    2.068611] PGD 0 P4D 0 
[    2.068616] Oops: 0000 [#1] SMP NOPTI
[    2.068622] CPU: 2 PID: 177 Comm: systemd-udevd Not tainted
4.19.0-041900rc2-generic #201809022230
[    2.068626] Hardware name: LENOVO 80EC/Lancer 5B3, BIOS A4CN40WW (V 2.09)
08/24/2015
[    2.068759] RIP: 0010:dc_link_aux_transfer+0x88/0x160 [amdgpu]
[    2.068764] Code: 00 00 48 c7 45 a8 00 00 00 00 48 c7 45 a0 00 00 00 00 48
8b 16 48 8b 00 8b 52 14 48 8b 80 38 01 00 00 48 8b 9c d0 b0 01 00 00 <48> 8b 43
18 48 89 df 48 8b 40 48 e8 68 29 90 f3 8b 45 10 4c 89 6d
[    2.068770] RSP: 0018:ffffa2dec1133590 EFLAGS: 00010246
[    2.068774] RAX: ffff8fba8a10b400 RBX: 0000000000000000 RCX:
ffffa2dec1133708
[    2.068777] RDX: 0000000000000000 RSI: ffff8fba8aa6cd00 RDI:
ffff8fba8a10a400
[    2.068780] RBP: ffffa2dec1133600 R08: 0000000000000001 R09:
0000000000000000
[    2.068783] R10: ffffec6ac82a9b00 R11: 0000000000000001 R12:
0000000000000001
[    2.068786] R13: ffffa2dec1133708 R14: 0000000000000000 R15:
0000000000000000
[    2.068790] FS:  00007f3f17e1e8c0(0000) GS:ffff8fba97b00000(0000)
knlGS:0000000000000000
[    2.068794] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.068797] CR2: 0000000000000018 CR3: 000000020a948000 CR4:
00000000000406e0
[    2.068800] Call Trace:
[    2.068882]  dm_dp_aux_transfer+0x61/0x130 [amdgpu]
[    2.068899]  drm_dp_dpcd_access+0x75/0x110 [drm_kms_helper]
[    2.068908]  drm_dp_dpcd_read+0x33/0xc0 [drm_kms_helper]
[    2.068984]  dm_helpers_dp_read_dpcd+0x2b/0x50 [amdgpu]
[    2.069057]  core_link_read_dpcd+0x23/0x30 [amdgpu]
[    2.069130]  retrieve_link_cap+0x55/0x440 [amdgpu]
[    2.069203]  detect_edp_sink_caps+0x12/0x40 [amdgpu]
[    2.069276]  dc_link_detect+0x54a/0xb30 [amdgpu]
[    2.069286]  ? drm_dp_mst_topology_mgr_init+0x345/0x430 [drm_kms_helper]
[    2.069356]  amdgpu_dm_initialize_drm_device+0x68d/0xb22 [amdgpu]
[    2.069429]  ? setup_x_points_distribution+0x72/0x100 [amdgpu]
[    2.069498]  dm_hw_init.cold.55+0x8c/0x116 [amdgpu]
[    2.069589]  amdgpu_device_init.cold.28+0x113a/0x12e9 [amdgpu]
[    2.069596]  ? kmalloc_order+0x18/0x40
[    2.069600]  ? kmalloc_order_trace+0x24/0xb0
[    2.069647]  amdgpu_driver_load_kms+0x8b/0x2d0 [amdgpu]
[    2.069672]  drm_dev_register+0x11f/0x160 [drm]
[    2.069720]  amdgpu_pci_probe+0x140/0x1c0 [amdgpu]
[    2.069725]  local_pci_probe+0x46/0x90
[    2.069728]  pci_device_probe+0x18d/0x1a0
[    2.069734]  really_probe+0x243/0x3b0
[    2.069737]  driver_probe_device+0xba/0x100
[    2.069741]  __driver_attach+0xe4/0x110
[    2.069744]  ? driver_probe_device+0x100/0x100
[    2.069748]  bus_for_each_dev+0x74/0xb0
[    2.069752]  ? kmem_cache_alloc_trace+0x1c8/0x1e0
[    2.069756]  driver_attach+0x1e/0x20
[    2.069760]  bus_add_driver+0x159/0x230
[    2.069763]  ? 0xffffffffc0530000
[    2.069766]  driver_register+0x70/0xc0
[    2.069769]  ? 0xffffffffc0530000
[    2.069773]  __pci_register_driver+0x57/0x60
[    2.069819]  amdgpu_init+0x87/0x89 [amdgpu]
[    2.069824]  do_one_initcall+0x4a/0x1c4
[    2.069829]  ? _cond_resched+0x19/0x30
[    2.069833]  ? kmem_cache_alloc_trace+0x172/0x1e0
[    2.069836]  ? kfree+0x15b/0x180
[    2.069840]  do_init_module+0x60/0x220
[    2.069844]  load_module+0x16c1/0x1930
[    2.069848]  __do_sys_finit_module+0xbd/0x120
[    2.069852]  ? __do_sys_finit_module+0xbd/0x120
[    2.069856]  __x64_sys_finit_module+0x1a/0x20
[    2.069859]  do_syscall_64+0x5a/0x110
[    2.069863]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[    2.069866] RIP: 0033:0x7f3f16c794d9
[    2.069869] Code: 00 f3 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89
f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d 8f 29 2c 00 f7 d8 64 89 01 48
[    2.069874] RSP: 002b:00007ffecb3898d8 EFLAGS: 00000246 ORIG_RAX:
0000000000000139
[    2.069877] RAX: ffffffffffffffda RBX: 000055d589f17be0 RCX:
00007f3f16c794d9
[    2.069880] RDX: 0000000000000000 RSI: 000055d589eb5e90 RDI:
0000000000000016
[    2.069882] RBP: 000055d589eb5e90 R08: 0000000000000000 R09:
000000000000001b
[    2.069885] R10: 0000000000000016 R11: 0000000000000246 R12:
0000000000000000
[    2.069888] R13: 000055d589e9c0c0 R14: 0000000000020000 R15:
0000000000000000
[    2.069891] Modules linked in: amdkfd amd_iommu_v2 amdgpu(+)
crct10dif_pclmul crc32_pclmul ghash_clmulni_intel chash gpu_sched pcbc radeon
aesni_intel aes_x86_64 i2c_algo_bit crypto_simd ttm cryptd psmouse glue_helper
drm_kms_helper syscopyarea sysfillrect ahci sysimgblt fb_sys_fops libahci drm
r8169 video rtsx_usb_sdmmc rtsx_usb
[    2.069916] CR2: 0000000000000018
[    2.069920] ---[ end trace 7fedfef671967588 ]---
[    2.069982] RIP: 0010:dc_link_aux_transfer+0x88/0x160 [amdgpu]
[    2.069985] Code: 00 00 48 c7 45 a8 00 00 00 00 48 c7 45 a0 00 00 00 00 48
8b 16 48 8b 00 8b 52 14 48 8b 80 38 01 00 00 48 8b 9c d0 b0 01 00 00 <48> 8b 43
18 48 89 df 48 8b 40 48 e8 68 29 90 f3 8b 45 10 4c 89 6d
[    2.069989] RSP: 0018:ffffa2dec1133590 EFLAGS: 00010246
[    2.069992] RAX: ffff8fba8a10b400 RBX: 0000000000000000 RCX:
ffffa2dec1133708
[    2.069995] RDX: 0000000000000000 RSI: ffff8fba8aa6cd00 RDI:
ffff8fba8a10a400
[    2.069997] RBP: ffffa2dec1133600 R08: 0000000000000001 R09:
0000000000000000
[    2.070000] R10: ffffec6ac82a9b00 R11: 0000000000000001 R12:
0000000000000001
[    2.070002] R13: ffffa2dec1133708 R14: 0000000000000000 R15:
0000000000000000
[    2.070005] FS:  00007f3f17e1e8c0(0000) GS:ffff8fba97b00000(0000)
knlGS:0000000000000000
[    2.070008] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[    2.070010] CR2: 0000000000000018 CR3: 000000020a948000 CR4:
00000000000406e0</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>