[46245.833513] general protection fault: 0000 [#1] SMP NOPTI [46245.834614] Modules linked in: nfnetlink_queue nfnetlink_log nfnetlink nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc sit tunnel4 ip_tunnel af_packet bridge stp llc ipv6 ipt_MASQUERADE nf_nat_masquerade_ipv4 xt_conntrack iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack iptable_filter ip_tables x_tables tcp_bbr sch_fq_codel arc4 joydev input_leds hid_generic usbhid hid btrfs libcrc32c xor zstd_compress lzo_compress zlib_deflate raid6_pq zstd_decompress xxhash zlib_inflate lzo_decompress amdgpu edac_mce_amd kvm_amd kvm mfd_core chash ath10k_pci gpu_sched drm_kms_helper ath10k_core syscopyarea sysfillrect sysimgblt fb_sys_fops ttm snd_hda_codec_realtek irqbypass ath crc32_pclmul crc32c_intel snd_hda_codec_generic drm snd_hda_codec_hdmi mac80211 evdev pps_ldisc pps_core [46245.840134] snd_hda_intel drm_panel_orientation_quirks cfbfillrect cfbimgblt snd_hda_codec cfbcopyarea snd_hwdep 8250 i2c_algo_bit snd_hda_core fb xhci_pci sp5100_tco cfg80211 8250_base font snd_pcm xhci_hcd fbdev aesni_intel i2c_piix4 mpt3sas r8169 serial_core snd_timer i2c_core rtc_cmos aes_x86_64 snd crypto_simd cryptd usbcore hwmon video glue_helper soundcore mii backlight raid_class scsi_transport_sas button usb_common acpi_cpufreq processor unix [46245.843320] CPU: 0 PID: 8835 Comm: Xorg.wrap Tainted: G W T 4.17.0-rc2-ojab #6 [46245.845009] RIP: 0010:resource_build_scaling_params+0x733/0x10c0 [amdgpu] [46245.846666] RSP: 0018:ffffa498c1367b48 EFLAGS: 00010296 [46245.848332] RAX: 3a8d12265423e785 RBX: ffff8f66cb5ace18 RCX: 00000000fffffffe [46245.850004] RDX: 0000000000000000 RSI: 0000000000000000 RDI: 000000024ee4a102 [46245.851693] RBP: 000000004ee4a102 R08: 000000000000043a R09: 000000000004ce16 [46245.853373] R10: 7fffffffffffffff R11: 0000000000000001 R12: ffff8f66cb5ace28 [46245.855062] R13: 0000000000000009 R14: 0000000000000000 R15: ffff8f6ded8e1400 [46245.856759] FS: 00007f9e41779700(0000) GS:ffff8f6e5ee00000(0000) knlGS:0000000000000000 [46245.858481] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [46245.860212] CR2: 00007f9e40dffad3 CR3: 000000008b5d0000 CR4: 00000000003406f0 [46245.861967] Call Trace: [46245.863767] resource_build_scaling_params_for_context+0x2a/0x50 [amdgpu] [46245.865595] dc_validate_global_state+0x232/0x2b0 [amdgpu] [46245.867436] amdgpu_dm_atomic_check+0x399/0x3b0 [amdgpu] [46245.869255] drm_atomic_check_only+0x360/0x520 [drm] [46245.871083] ? drm_atomic_add_affected_connectors+0x128/0x140 [drm] [46245.872910] drm_atomic_commit+0x1e/0x70 [drm] [46245.874743] restore_fbdev_mode_atomic+0x1a8/0x210 [drm_kms_helper] [46245.876580] drm_fb_helper_restore_fbdev_mode_unlocked+0x61/0xa0 [drm_kms_helper] [46245.878426] drm_lastclose+0x30/0xc0 [drm] [46245.880257] drm_release+0x2ae/0x360 [drm] [46245.882198] __fput+0xec/0x210 [46245.883969] task_work_run+0x96/0xc0 [46245.885697] exit_to_usermode_loop+0xa5/0xb0 [46245.887404] do_syscall_64+0xed/0x110 [46245.889100] entry_SYSCALL_64_after_hwframe+0x49/0xbe [46245.890788] RIP: 0033:0x7f9e4105d5c0 [46245.892480] RSP: 002b:00007ffdd8f4bb58 EFLAGS: 00000246 ORIG_RAX: 0000000000000003 [46245.894338] RAX: 0000000000000000 RBX: 00007ffdd8f4bbc0 RCX: 00007f9e4105d5c0 [46245.896118] RDX: 00007ffdd8f4bb80 RSI: 00000000c04064a0 RDI: 0000000000000003 [46245.897911] RBP: 0000000000000000 R08: 00007f9e40dff500 R09: 0000000000000000 [46245.899672] R10: 00007ffdd8f4b920 R11: 0000000000000246 R12: 0000000000000003 [46245.901423] R13: 0000000000000001 R14: 0000000000000001 R15: 00007ffdd8f4bbc0 [46245.903126] Code: 48 8b 40 48 e8 cf 10 e3 fb 84 c0 75 70 8b 4b 2c 8b 53 28 44 8b 4b 30 44 8b 43 34 41 8b b7 8c 00 00 00 88 44 24 38 48 8b 44 24 40 <48> 8b 78 10 89 74 24 28 41 8b b7 88 00 00 00 89 74 24 20 41 8b [46245.905011] RIP: resource_build_scaling_params+0x733/0x10c0 [amdgpu] RSP: ffffa498c1367b48 [46245.906842] ---[ end trace 46e852690de93abb ]---