kernel BUG at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5611
@ernstp
Submitted by Ernst Sjöstrand Assigned to Default DRI bug account
Link to original bug (#110610)
Description
Hi,
I was playing with the experimental fractional scaling for X11 in Gnome in Ubuntu Disco. When I logged out I got this error.
xserver-xorg-video-amdgpu 19.0.1+git1903191844.bd4ffd4
linux-image-5.0.0-14-generic 5.0.0-14.15
libgl1-mesa-dri:amd64 19.0.2-1ubuntu1
libdrm-amdgpu1:amd64 2.4.97-1ubuntu1
------------[ cut here ]------------
kernel BUG at drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5611!
invalid opcode: 0000 [#1 (closed)] SMP NOPTI
CPU: 10 PID: 4211 Comm: Xorg Not tainted 5.0.0-14-generic #15 (closed)-Ubuntu
Hardware name: System manufacturer System Product Name/PRIME X370-PRO, BIOS 4008 04/13/2018
RIP: 0010:dm_update_crtcs_state+0x60d/0x670 [amdgpu]
Code: bc fc ff ff 48 85 db 0f 84 7e fd ff ff 48 c7 45 a0 00 00 00 00 48 c7 45 c0 00 00 00 00 48 c7 45 b8 00 00 00 00 e9 65 fe ff ff <0f>
0b b8 ea ff ff ff 48 8b 7d b8 48 85 ff 0f 84 4b fc ff ff 89 45
RSP: 0018:ffff9c71c9763ab0 EFLAGS: 00010246
RAX: 0000000000000001 RBX: 0000000000000000 RCX: 0000000000002ad8
RDX: 0000000000002ad7 RSI: ffff8df77eca7160 RDI: ffff8df77e406e80
RBP: ffff9c71c9763b20 R08: 0000000000027160 R09: ffffffffc0882796
R10: fffffb221fd26a00 R11: 00000000f0000080 R12: ffff8df7749ad800
R13: ffff8df774076800 R14: 0000000000000000 R15: ffff8df71c768c80
FS: 00007f009b637a80(0000) GS:ffff8df77ec80000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f009ba3d5c8 CR3: 000000060440e000 CR4: 00000000003406e0
Call Trace:
amdgpu_dm_atomic_check+0x1c3/0x460 [amdgpu]
drm_atomic_check_only+0x59e/0x7c0 [drm]
drm_atomic_commit+0x18/0x50 [drm]
restore_fbdev_mode_atomic+0x1bf/0x1d0 [drm_kms_helper]
restore_fbdev_mode+0x51/0x160 [drm_kms_helper]
? _cond_resched+0x19/0x30
drm_fb_helper_restore_fbdev_mode_unlocked+0x4e/0xa0 [drm_kms_helper]
drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
drm_fb_helper_hotplug_event.part.38+0x97/0xc0 [drm_kms_helper]
drm_fb_helper_restore_fbdev_mode_unlocked+0x7a/0xa0 [drm_kms_helper]
drm_fb_helper_lastclose+0x15/0x20 [drm_kms_helper]
amdgpu_driver_lastclose_kms+0xe/0x20 [amdgpu]
drm_lastclose+0x35/0x100 [drm]
drm_release+0xe8/0x120 [drm]
__fput+0xbc/0x230
____fput+0xe/0x10
task_work_run+0x9d/0xc0
do_exit+0x2da/0xb30
? handle_mm_fault+0xe1/0x210
do_group_exit+0x43/0xb0
__x64_sys_exit_group+0x18/0x20
do_syscall_64+0x5a/0x110
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f009bb4a926
Code: Bad RIP value.
RSP: 002b:00007ffff209d968 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f009bc4f6d0 RCX: 00007f009bb4a926
RDX: 0000000000000000 RSI: 000000000000003c RDI: 0000000000000000
RBP: 0000000000000000 R08: 00000000000000e7 R09: fffffffffffffc78
R10: 0000000000000042 R11: 0000000000000246 R12: 00007f009bc4f6d0
R13: 0000000000000603 R14: 00007f009bc53108 R15: 0000000000000000
Modules linked in: aufs overlay edac_mce_amd kvm irqbypass nls_iso8859_1 snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio amdgpu snd_hda_codec_hdmi input_leds joydev snd_hda_intel snd_hda_codec crct10dif_pclmul snd_hda_core crc32_pclmul snd_hwdep ghash_clmulni_intel snd_pcm chash snd_seq_midi amd_iommu_v2 snd_seq_midi_event aesni_intel gpu_sched snd_rawmidi ttm aes_x86_64 drm_kms_helper crypto_simd cryptd eeepc_wmi snd_seq glue_helper asus_wmi drm sparse_keymap video snd_seq_device mxm_wmi k10temp wmi_bmof snd_timer fb_sys_fops syscopyarea sysfillrect sysimgblt ccp snd soundcore mac_hid sch_fq_codel parport_pc ppdev lp parport ip_tables x_tables autofs4 hid_generic usbhid hid igb i2c_piix4 i2c_algo_bit nvme ahci dca libahci nvme_core gpio_amdpt wmi gpio_generic
---[ end trace 721f50ce38f2bef8 ]---