On 2017-08-21 03:45 PM, Dave Airlie wrote: > Running amd-staging-4.12 > > Happens a lot, rather annoying. > Indeed. Just sent out a patch that should fix it. Harry > Dave. > > [ 50.552027] ------------[ cut here ]------------ > [ 50.552070] WARNING: CPU: 5 PID: 1092 at > /home/airlied/devel/kernel/linux-2.6/drivers/gpu/drm/amd/amdgpu/../display/dc/dm_services.h:170 > generic_reg_update_ex+0xd4/0x133 [amdgpu] > [ 50.552071] Modules linked in: ipt_REJECT nf_reject_ipv4 > ip6t_REJECT nf_reject_ipv6 nf_conntrack_ipv4 xt_tcpudp > nf_conntrack_ipv6 nf_defrag_ipv6 nf_defrag_ipv4 xt_conntrack > nf_conntrack libcrc32c cmac ip6table_filter ip6_tables iptable_filter > ip_tables x_tables bnep snd_hda_codec_realtek snd_hda_codec_hdmi > snd_hda_codec_generic snd_hda_intel btusb kvm_amd btrtl kvm > snd_hda_codec btbcm btintel mxm_wmi snd_hda_core snd_seq bluetooth > snd_usb_audio snd_usbmidi_lib snd_hwdep snd_rawmidi snd_seq_device > cdc_acm ecdh_generic tpm_infineon acpi_cpufreq tpm_tis snd_pcm > tpm_tis_core irqbypass tpm snd_timer snd soundcore wmi button > i2c_piix4 nfsd auth_rpcgss oid_registry nfs_acl lockd grace sunrpc > ohci_pci amdgpu ehci_pci hwmon ohci_hcd i2c_algo_bit ehci_hcd > drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops > [ 50.552121] ttm drm i2c_core r8169 mii > [ 50.552126] CPU: 5 PID: 1092 Comm: (agetty) Tainted: G W > 4.12.0+ #225 > [ 50.552127] Hardware name: To be filled by O.E.M. To be filled by > O.E.M./M5A97 R2.0, BIOS 2603 06/26/2015 > [ 50.552128] task: ffff880429152540 task.stack: ffff88041a914000 > [ 50.552171] RIP: 0010:generic_reg_update_ex+0xd4/0x133 [amdgpu] > [ 50.552172] RSP: 0018:ffff88041a917300 EFLAGS: 00010246 > [ 50.552174] RAX: 0000000000000030 RBX: 0000000000000004 RCX: 0000000000000000 > [ 50.552175] RDX: ffff88041a9173a0 RSI: 0000000000003b1d RDI: ffff8804273e4a80 > [ 50.552176] RBP: ffff88041a917370 R08: 0000000000000000 R09: 0000000000000001 > [ 50.552177] R10: 0000000000000000 R11: 0000000000000002 R12: 0000000000000001 > [ 50.552178] R13: ffff88041a917318 R14: 0000000000000000 R15: ffff880424ef8000 > [ 50.552179] FS: 00007f912fb7bd80(0000) GS:ffff88043ed40000(0000) > knlGS:0000000000000000 > [ 50.552180] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > [ 50.552181] CR2: 00007f912de54810 CR3: 000000042ac78000 CR4: 00000000000406e0 > [ 50.552182] Call Trace: > [ 50.552231] dce110_opp_power_on_regamma_lut+0x100/0x113 [amdgpu] > [ 50.552277] dce110_set_output_transfer_func+0x71b/0x72c [amdgpu] > [ 50.552324] ? dce_ipp_set_degamma+0x60/0x66 [amdgpu] > [ 50.552370] dc_update_planes_and_stream+0x6bd/0x7ca [amdgpu] > [ 50.552418] dc_commit_planes_to_stream+0x1ff/0x225 [amdgpu] > [ 50.552493] amdgpu_dm_atomic_commit_tail+0x719/0x7fa [amdgpu] > [ 50.552498] ? _raw_spin_unlock+0x22/0x2c > [ 50.552505] ? drm_atomic_helper_wait_for_dependencies+0x8e/0x12c > [drm_kms_helper] > [ 50.552512] commit_tail+0x3a/0x62 [drm_kms_helper] > [ 50.552518] drm_atomic_helper_commit+0xde/0xec [drm_kms_helper] > [ 50.552564] amdgpu_dm_atomic_commit+0x74/0x7f [amdgpu] > [ 50.552576] drm_atomic_commit+0x46/0x4b [drm] > [ 50.552582] drm_fb_helper_pan_display+0x124/0x1e5 [drm_kms_helper] > [ 50.552586] fb_pan_display+0xec/0x132 > [ 50.552589] bit_update_start+0x1b/0x44 > [ 50.552591] fbcon_switch+0x3e5/0x466 > [ 50.552600] redraw_screen+0xe2/0x198 > [ 50.552603] csi_J+0xcd/0x131 > [ 50.552604] do_con_write+0x1081/0x1c7a > [ 50.552609] ? trace_hardirqs_on_caller+0x16a/0x186 > [ 50.552613] con_write+0xe/0x20 > [ 50.552615] n_tty_write+0xef/0x3fb > [ 50.552637] ? do_wait_intr_irq+0x7e/0x7e > [ 50.552641] tty_write+0x1c7/0x25a > [ 50.552643] ? n_tty_open+0xc6/0xc6 > [ 50.552646] __vfs_write+0x21/0xf0 > [ 50.552649] ? security_file_permission+0x27/0x99 > [ 50.552652] ? rw_verify_area+0x71/0xa9 > [ 50.552654] vfs_write+0xdc/0x185 > [ 50.552656] SyS_write+0x4c/0x89 > [ 50.552660] do_syscall_64+0x5e/0xf1 > [ 50.552663] entry_SYSCALL64_slow_path+0x25/0x25 > [ 50.552664] RIP: 0033:0x7f912e4335b0 > [ 50.552665] RSP: 002b:00007fffbb995ed8 EFLAGS: 00000246 ORIG_RAX: > 0000000000000001 > [ 50.552667] RAX: ffffffffffffffda RBX: 000000000000000a RCX: 00007f912e4335b0 > [ 50.552668] RDX: 000000000000000a RSI: 00007f912f8b661f RDI: 0000000000000003 > [ 50.552669] RBP: 00007f912f8b661f R08: 00007fffbb995e90 R09: 0000000000000000 > [ 50.552670] R10: 00007f912e1cec00 R11: 0000000000000246 R12: 0000000000000003 > [ 50.552671] R13: 0000000000000000 R14: ffffffffffffffff R15: 00005603b7e3cf68 > [ 50.552677] Code: 2f 45 8b 36 77 13 41 89 c2 4c 89 c2 83 c0 08 4f > 8d 44 15 00 41 b2 01 eb 07 49 8d 50 08 41 b1 01 45 85 f6 45 8b 00 0f > b6 c9 75 02 <0f> ff 41 d3 e0 41 ff c4 41 31 d8 45 21 f0 44 31 c3 e9 76 > ff ff > [ 50.552723] ---[ end trace 987a9739662cf919 ]--- >