From: bugzilla-daemon@freedesktop.org Subject: [Bug 107153] 4.18-rc3 crash on hdmi (0010:dm_update_crtcs_state+0x41e/0x4a0) Date: Sat, 07 Jul 2018 21:38:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2135854557==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id 0BFA06E246 for ; Sat, 7 Jul 2018 21:38:22 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2135854557== Content-Type: multipart/alternative; boundary="15309995010.bFfcD.23300" Content-Transfer-Encoding: 7bit --15309995010.bFfcD.23300 Date: Sat, 7 Jul 2018 21:38:21 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D107153 Bug ID: 107153 Summary: 4.18-rc3 crash on hdmi (0010:dm_update_crtcs_state+0x41e/0x4a0) Product: DRI Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: blocker Priority: medium Component: DRM/AMDgpu Assignee: dri-devel@lists.freedesktop.org Reporter: patrik.kullman@gmail.com Just installed Ubuntu 18.04 on my Hades Canyon Intel NUC with Vega M graphi= cs. To get it to work I have installed the latest BIOS (44), a 4.18-rc3 kernel = from http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc3/, the Vega M firmwa= re from https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/ and mesa 18.1 from https://launchpad.net/~ubuntu-x-swat/+archive/ubuntu/updates?field.series_f= ilter=3Dbionic. Now, when booting it with HDMI connected to an Onkyo TX-NR555 receiver thro= ugh HDMI, it hangs on boot. If I disconnect the HDMI while booting and reconnect it after boot, I get t= he 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/amdg= pu_dm.c:4784! [ 268.676527] invalid opcode: 0000 [#1] SMP PTI [ 268.676528] CPU: 6 PID: 898 Comm: Xorg Tainted: G W=20=20=20=20= =20=20=20=20 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> 0= b b8 ea ff ff ff e9 ca fc ff ff 41 8b 4e 60 48 c7 c2 30 eb 57=20 [ 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> 3= d 01 f0 ff ff 73 01 c3 48 8b 0d 81 48 2d 00 f7 d8 64 89 01 48=20 [ 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_pcl= mul 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 b= trtl 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> 0= b b8 ea ff ff ff e9 ca fc ff ff 41 8b 4e 60 48 c7 c2 30 eb 57=20 [ 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15309995010.bFfcD.23300 Date: Sat, 7 Jul 2018 21:38:21 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 107153
Summary 4.18-rc3 crash on hdmi (0010:dm_update_crtcs_state+0x41e/0x4a= 0)
Product DRI
Version unspecified
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity blocker
Priority medium
Component DRM/AMDgpu
Assignee dri-devel@lists.freedesktop.org
Reporter patrik.kullman@gmail.com

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
http:/=
/kernel.ubuntu.com/~kernel-ppa/mainline/v4.18-rc3/, the Vega M firmware
from =
https://people.freedesktop.org/~agd5f/radeon_ucode/vegam/ and mesa 18.1
from
https://launchpad.net/~ubuntu-x-swat/+archive/ub=
untu/updates?field.series_filter=3Dbionic.

Now, when booting it with HDMI connected to an Onkyo TX-NR555 receiver thro=
ugh
HDMI, it hangs on boot.
If I disconnect the HDMI while booting and reconnect it after boot, I get t=
he
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/amdg=
pu_dm.c:4784!
[  268.676527] invalid opcode: 0000 [#1] SMP PTI
[  268.676528] CPU: 6 PID: 898 Comm: Xorg Tainted: G        W=20=20=20=20=
=20=20=20=20
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=20
[  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=20
[  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_pcl=
mul
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 b=
trtl
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=20
[  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.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15309995010.bFfcD.23300-- --===============2135854557== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============2135854557==--