<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - 4.18-rc3 crash on hdmi (0010:dm_update_crtcs_state+0x41e/0x4a0)"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=107153">107153</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>4.18-rc3 crash on hdmi (0010:dm_update_crtcs_state+0x41e/0x4a0)
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/AMDgpu
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>patrik.kullman@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Just installed Ubuntu 18.04 on my Hades Canyon Intel NUC with Vega M graphics.
To get it to work I have installed the latest BIOS (44), a 4.18-rc3 kernel from
<a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc3/">http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc3/</a>, the Vega M firmware
from <a href="https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/">https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/</a> and mesa 18.1
from
<a href="https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates?field.series_filter=bionic">https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates?field.series_filter=bionic</a>.

Now, when booting it with HDMI connected to an Onkyo TX-NR555 receiver through
HDMI, it hangs on boot.
If I disconnect the HDMI while booting and reconnect it after boot, I get the
following crash:

[  268.434749] [drm] fb mappable at 0x2000A28000
[  268.434750] [drm] vram apper at 0x2000000000
[  268.434750] [drm] size 35389440
[  268.434751] [drm] fb depth is 24
[  268.434751] [drm]    pitch is 16384
[  268.434811] fbcon: amdgpudrmfb (fb0) is primary device
[  268.643348] Console: switching to colour frame buffer device 512x135
[  268.659459] amdgpu 0000:01:00.0: fb0: amdgpudrmfb frame buffer device
[  268.676523] ------------[ cut here ]------------
[  268.676523] kernel BUG at
/home/kernel/COD/linux/drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:4784!
[  268.676527] invalid opcode: 0000 [#1] SMP PTI
[  268.676528] CPU: 6 PID: 898 Comm: Xorg Tainted: G        W        
4.18.0-041800rc3-generic #201807012030
[  268.676529] Hardware name: Intel Corporation NUC8i7HVK/NUC8i7HVB, BIOS
HNKBLi70.86A.0044.2018.0615.1726 06/15/2018
[  268.676567] RIP: 0010:dm_update_crtcs_state+0x41e/0x4a0 [amdgpu]
[  268.676567] Code: e9 8f fd ff ff 8b 45 c0 48 8d 65 d8 5b 41 5c 41 5d 41 5e
41 5f 5d c3 48 83 bb 08 0d 00 00 00 0f 85 08 ff ff ff e9 fc fe ff ff <0f> 0b b8
ea ff ff ff e9 ca fc ff ff 41 8b 4e 60 48 c7 c2 30 eb 57 
[  268.676579] RSP: 0018:ffffb43642be7a18 EFLAGS: 00010246
[  268.676580] RAX: ffff9014665e0001 RBX: 0000000000000000 RCX:
00000000000010b8
[  268.676581] RDX: 00000000000010b7 RSI: ffff90147eda7160 RDI:
ffff90146e002f00
[  268.676581] RBP: ffffb43642be7a78 R08: 0000000000027160 R09:
ffffffffc0534386
[  268.676582] R10: fffffc7211997800 R11: 00000000f0000080 R12:
ffff901464f30f80
[  268.676582] R13: 0000000000000000 R14: ffff901460322800 R15:
ffff9014665e0c00
[  268.676583] FS:  00007fde55c2c600(0000) GS:ffff90147ed80000(0000)
knlGS:0000000000000000
[  268.676583] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  268.676584] CR2: 0000555b891b2670 CR3: 000000046307c005 CR4:
00000000003606e0
[  268.676584] Call Trace:
[  268.676612]  amdgpu_dm_atomic_check+0x18e/0x3d0 [amdgpu]
[  268.676614]  ? radix_tree_lookup+0xd/0x10
[  268.676626]  drm_atomic_check_only+0x33b/0x510 [drm]
[  268.676631]  drm_atomic_commit+0x18/0x50 [drm]
[  268.676637]  drm_atomic_helper_set_config+0x7c/0x90 [drm_kms_helper]
[  268.676642]  __drm_mode_set_config_internal+0x6b/0x120 [drm]
[  268.676647]  drm_mode_setcrtc+0x4b0/0x6a0 [drm]
[  268.676652]  ? drm_mode_getcrtc+0x1a0/0x1a0 [drm]
[  268.676656]  drm_ioctl_kernel+0xa4/0xf0 [drm]
[  268.676660]  drm_ioctl+0x37b/0x440 [drm]
[  268.676664]  ? drm_mode_getcrtc+0x1a0/0x1a0 [drm]
[  268.676680]  amdgpu_drm_ioctl+0x4f/0x90 [amdgpu]
[  268.676682]  do_vfs_ioctl+0xa8/0x630
[  268.676683]  ? recalc_sigpending+0x1b/0x50
[  268.676685]  ? _copy_from_user+0x3e/0x60
[  268.676686]  ksys_ioctl+0x75/0x80
[  268.676687]  __x64_sys_ioctl+0x1a/0x20
[  268.676688]  do_syscall_64+0x5a/0x120
[  268.676690]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  268.676690] RIP: 0033:0x7fde530215d7
[  268.676691] Code: b3 66 90 48 8b 05 b1 48 2d 00 64 c7 00 26 00 00 00 48 c7
c0 ff ff ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 b8 10 00 00 00 0f 05 <48> 3d 01
f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48 
[  268.676703] RSP: 002b:00007ffff62d35d8 EFLAGS: 00000246 ORIG_RAX:
0000000000000010
[  268.676704] RAX: ffffffffffffffda RBX: 00007ffff62d3610 RCX:
00007fde530215d7
[  268.676704] RDX: 00007ffff62d3610 RSI: 00000000c06864a2 RDI:
000000000000000c
[  268.676705] RBP: 00007ffff62d3610 R08: 0000000000000000 R09:
0000555b891a3690
[  268.676705] R10: 00007ffff62d36d0 R11: 0000000000000246 R12:
00000000c06864a2
[  268.676706] R13: 000000000000000c R14: 0000000000000000 R15:
0000555b891a3690
[  268.676706] Modules linked in: ccm thunderbolt rfcomm cmac bnep arc4
nls_iso8859_1 8250_dw intel_rapl x86_pkg_temp_thermal intel_powerclamp
snd_hda_codec_realtek snd_hda_codec_generic coretemp snd_hda_codec_hdmi
kvm_intel snd_hda_intel kvm snd_hda_codec irqbypass snd_hda_core morus1280_avx2
morus1280_sse2 morus1280_glue snd_hwdep morus640_sse2 morus640_glue snd_pcm
iwlmvm aegis256_aesni aegis128l_aesni mac80211 aegis128_aesni crct10dif_pclmul
crc32_pclmul ghash_clmulni_intel pcbc snd_seq_midi snd_seq_midi_event
snd_rawmidi aesni_intel aes_x86_64 snd_seq crypto_simd cryptd glue_helper
iwlwifi intel_cstate intel_rapl_perf idma64 btusb virt_dma snd_seq_device btrtl
snd_timer btbcm btintel bluetooth snd ir_rc6_decoder wmi_bmof
intel_wmi_thunderbolt mei_me input_leds cfg80211 serio_raw intel_lpss_pci
[  268.676724]  ecdh_generic tps6598x mei intel_lpss intel_pch_thermal
soundcore typec rc_rc6_mce ite_cir rc_core acpi_pad mac_hid sch_fq_codel
parport_pc ppdev lp parport ip_tables x_tables hid_generic usbhid hid amdkfd
amd_iommu_v2 amdgpu chash gpu_sched ttm drm_kms_helper syscopyarea psmouse
sysfillrect sysimgblt fb_sys_fops igb e1000e drm sdhci_pci dca cqhci
i2c_algo_bit sdhci wmi pinctrl_sunrisepoint video pinctrl_intel
[  268.676737] ---[ end trace e2c9200fd11b91c9 ]---
[  268.676763] RIP: 0010:dm_update_crtcs_state+0x41e/0x4a0 [amdgpu]
[  268.676763] Code: e9 8f fd ff ff 8b 45 c0 48 8d 65 d8 5b 41 5c 41 5d 41 5e
41 5f 5d c3 48 83 bb 08 0d 00 00 00 0f 85 08 ff ff ff e9 fc fe ff ff <0f> 0b b8
ea ff ff ff e9 ca fc ff ff 41 8b 4e 60 48 c7 c2 30 eb 57 
[  268.676777] RSP: 0018:ffffb43642be7a18 EFLAGS: 00010246
[  268.676778] RAX: ffff9014665e0001 RBX: 0000000000000000 RCX:
00000000000010b8
[  268.676778] RDX: 00000000000010b7 RSI: ffff90147eda7160 RDI:
ffff90146e002f00
[  268.676779] RBP: ffffb43642be7a78 R08: 0000000000027160 R09:
ffffffffc0534386
[  268.676779] R10: fffffc7211997800 R11: 00000000f0000080 R12:
ffff901464f30f80
[  268.676780] R13: 0000000000000000 R14: ffff901460322800 R15:
ffff9014665e0c00
[  268.676780] FS:  00007fde55c2c600(0000) GS:ffff90147ed80000(0000)
knlGS:0000000000000000
[  268.676781] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  268.676781] CR2: 0000555b891b2670 CR3: 000000046307c005 CR4:
00000000003606e0

I assume that this is what happens and hangs it when the cable is connected on
boot as well.</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>