WARNING: CPU: 2 PID: 1504 at drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_surface.c:158 dc_surface_retain+0x34/0x50 [amdgpu] Modules linked in: md4 nls_utf8 cifs ccm dns_resolver fscache isofs rfcomm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nfnetlink ebtable_nat ebtable_broute bridge stp llc ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack libcrc32c iptable_mangle iptable_raw iptable_security ebtable_filter ebtables ip6table_filter ip6_tables ppdev parport_pc parport fuse vmw_vsock_vmci_transport vsock vmw_vmci cmac bnep sunrpc vfat fat squashfs arc4 loop intel_rapl x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm kvm_intel kvm mac80211 snd_hda_codec_ca0132 iTCO_wdt irqbypass iTCO_vendor_support crct10dif_pclmul crc32_pclmul snd_hda_codec_hdmi ghash_clmulni_intel snd_hda_intel intel_cstate snd_hda_codec btusb intel_uncore iwlwifi intel_rapl_perf btrtl btbcm snd_hda_core btintel cfg80211 bluetooth snd_hwdep snd_seq snd_seq_device snd_pcm joydev rfkill snd_timer mei_me snd i2c_i801 mei shpchp soundcore lpc_ich nuvoton_cir rc_core tpm_tis tpm_tis_core tpm video binfmt_misc uas usb_storage hid_roccat_isku amdkfd amd_iommu_v2 amdgpu i2c_algo_bit drm_kms_helper ttm e1000e drm crc32c_intel ptp pps_core hid_roccat_koneplus hid_roccat hid_roccat_common CPU: 2 PID: 1504 Comm: InputThread Tainted: G W 4.11.8-20170704.amdstg.fc26.x86_64 #1 Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z87-M8, BIOS P1.70 10/07/2014 Call Trace: dump_stack+0x63/0x84 __warn+0xcb/0xf0 warn_slowpath_null+0x1d/0x20 dc_surface_retain+0x34/0x50 [amdgpu] resource_attach_surfaces_to_context+0xf0/0x450 [amdgpu] ? __alloc_pages_nodemask+0x108/0x2b0 resource_validate_attach_surfaces+0xae/0x160 [amdgpu] dce100_validate_with_context+0x13f/0x190 [amdgpu] dc_get_validate_context+0x73/0xe0 [amdgpu] amdgpu_dm_atomic_check+0x52e/0xba0 [amdgpu] drm_atomic_check_only+0x39e/0x580 [drm] ? refcount_dec_and_test+0x11/0x20 drm_atomic_commit+0x18/0x50 [drm] drm_atomic_helper_update_plane+0xf1/0x150 [drm_kms_helper] __setplane_internal+0x1e7/0x250 [drm] drm_mode_cursor_universal+0x113/0x200 [drm] drm_mode_cursor_common+0x84/0x170 [drm] drm_mode_cursor_ioctl+0x4a/0x60 [drm] drm_ioctl+0x212/0x4d0 [drm] ? drm_mode_setplane+0x190/0x190 [drm] ? ep_scan_ready_list.constprop.13+0x1c1/0x240 amdgpu_drm_ioctl+0x4f/0x90 [amdgpu] do_vfs_ioctl+0xa5/0x600 ? security_file_permission+0x9b/0xc0 SyS_ioctl+0x79/0x90 entry_SYSCALL_64_fastpath+0x1a/0xa9 RIP: 0033:0x7f6fe034a5c7 RSP: 002b:00007f6fcbffd328 EFLAGS: 00003246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 000000000228ec80 RCX: 00007f6fe034a5c7 RDX: 00007f6fcbffd360 RSI: 00000000c01c64a3 RDI: 0000000000000017 RBP: 00007f6fcbffdcb0 R08: 0000000001e49060 R09: 0000000000000a00 R10: 0000000001ea9d60 R11: 0000000000003246 R12: 00007f6fcbffdcd0 R13: 00007f6fcbffdc90 R14: 000000000228e6a0 R15: 0000000000000000