Re: [git pull] drm fixes

From: Josh Boyer
Date: Mon Mar 23 2015 - 14:34:36 EST


On Mon, Mar 23, 2015 at 11:33 AM, Josh Boyer <jwboyer@xxxxxxxxxxxxxxxxx> wrote:

<snip>

>> Xi Ruoyao (1):
>> drm/i915: Ensure plane->state->fb stays in sync with plane->fb

Turns out to be that commit.

git bisect start 'drivers/gpu/drm/i915/'
# good: [b314acaccd7e0d55314d96be4a33b5f50d0b3344] Merge branch
'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
git bisect good b314acaccd7e0d55314d96be4a33b5f50d0b3344
# bad: [bc465aa9d045feb0e13b4a8f32cc33c1943f62d6] Linux 4.0-rc5
git bisect bad bc465aa9d045feb0e13b4a8f32cc33c1943f62d6
# bad: [319c1d420a0b62d9dbb88104afebaabc968cdbfa] drm/i915: Ensure
plane->state->fb stays in sync with plane->fb
git bisect bad 319c1d420a0b62d9dbb88104afebaabc968cdbfa
# first bad commit: [319c1d420a0b62d9dbb88104afebaabc968cdbfa]
drm/i915: Ensure plane->state->fb stays in sync with plane->fb

Doing a straight revert on top of 4.0-rc5 makes things work again,
albeit with the WARN_ON(obj->frontbuffer_bits) splat still being
there.

josh

> I have a machine that no longer boots in a headless manner with -rc5.
> It's an Celeron based NUC device. I blacklisted the i915 driver and
> it boots fine, then I ran insmod manually and got the backtrace below.
> This machine only has HDMI output on it. If I have it connected (even
> if the monitor is set to display some other input) it will boot fine,
> but the backtrace is still present. I'm going to guess the machine
> "hangs" in headless because X causes some further issues in the
> headless case.
>
> Linux v4.0-rc4-199-gb314acaccd7e gets this splat in the headless state:
>
> [ +0.000039] WARNING: CPU: 0 PID: 63 at
> drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object+0x2e5/0x320
> [i915]()
> [ +0.000002] WARN_ON(obj->frontbuffer_bits)
>
> which is what I thought one of these commits was supposed to fix. I
> don't see that in -rc5, but then we have these other issues.
>
> josh
>
> Backtrace via 'insmod i915.ko.xz' in headless state with 4.0-rc5:
>
> [ +0.063764] vgaarb: device changed decodes:
> PCI:0000:00:02.0,olddecodes=io+mem,decodes=io+mem:owns=io+mem
> [ +0.007099] ------------[ cut here ]------------
> [ +0.000037] WARNING: CPU: 1 PID: 1486 at include/linux/kref.h:47
> drm_framebuffer_reference+0x7a/0x90 [drm]()
> [ +0.000003] Modules linked in: i915(+) ip6t_rpfilter ip6t_REJECT
> nf_reject_ipv6 xt_conntrack bnep iTCO_wdt iTCO_vendor_support
> ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables
> ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6
> ip6table_mangle ip6table_security ip6table_raw ip6table_filter
> ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4
> nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw arc4
> iwlmvm mac80211 intel_rapl coretemp kvm_intel kvm iwlwifi btusb
> bluetooth i2c_algo_bit cfg80211 drm_kms_helper crct10dif_pclmul
> snd_hda_codec_hdmi crc32_pclmul crc32c_intel ghash_clmulni_intel
> snd_hda_codec_realtek vfat snd_hda_codec_generic snd_intel_sst_acpi
> fat serio_raw snd_intel_sst_core snd_hda_intel i2c_i801 drm
> snd_soc_sst_mfld_platform snd_hda_controller
> [ +0.000046] r8169 lpc_ich snd_soc_rt5640 snd_hda_codec mfd_core
> snd_soc_rl6231 mii mei_txe ir_lirc_codec ir_xmp_decoder
> ir_mce_kbd_decoder lirc_dev snd_soc_core ir_sharp_decoder shpchp
> ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder mei ir_rc6_decoder
> ir_rc5_decoder ir_nec_decoder snd_compress snd_pcm_dmaengine snd_hwdep
> snd_seq snd_seq_device iosf_mbi rc_rc6_mce snd_pcm ite_cir snd_timer
> rc_core dw_dmac snd dw_dmac_core regmap_i2c i2c_hid
> i2c_designware_platform soundcore rfkill_gpio i2c_designware_core
> rfkill snd_soc_sst_acpi nfsd auth_rpcgss nfs_acl lockd grace sunrpc
> sdhci_acpi video sdhci mmc_core
> [ +0.000051] CPU: 1 PID: 1486 Comm: insmod Not tainted
> 4.0.0-0.rc5.git0.1.fc23.x86_64 #1
> [ +0.000004] Hardware name:
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/DN2820FYK,
> BIOS FYBYT10H.86A.0034.2014.0513.1413 05/13/2014
> [ +0.000003] 0000000000000000 00000000ee312e2f ffff8800b7e03688
> ffffffff8177ac09
> [ +0.000004] 0000000000000000 0000000000000000 ffff8800b7e036c8
> ffffffff8109c78a
> [ +0.000004] ffff8800b7e036b8 ffff880234b46d80 ffff880228ef4f00
> ffff88021a540000
> [ +0.000005] Call Trace:
> [ +0.000009] [<ffffffff8177ac09>] dump_stack+0x45/0x57
> [ +0.000006] [<ffffffff8109c78a>] warn_slowpath_common+0x8a/0xc0
> [ +0.000004] [<ffffffff8109c8ba>] warn_slowpath_null+0x1a/0x20
> [ +0.000016] [<ffffffffa032022a>] drm_framebuffer_reference+0x7a/0x90 [drm]
> [ +0.000018] [<ffffffffa03326fd>] drm_atomic_set_fb_for_plane+0x2d/0x90 [drm]
> [ +0.000043] [<ffffffffa08418c5>]
> i9xx_get_initial_plane_config+0x295/0x3e0 [i915]
> [ +0.000006] [<ffffffff810c9207>] ? wake_up_process+0x27/0x50
> [ +0.000031] [<ffffffffa0852721>] intel_modeset_init+0x9f1/0x1a40 [i915]
> [ +0.000027] [<ffffffffa081bf5b>] ?
> valleyview_irq_postinstall+0x3b/0x50 [i915]
> [ +0.000034] [<ffffffffa08873ef>] i915_driver_load+0xe5f/0x10f0 [i915]
> [ +0.000006] [<ffffffff816964ab>] ? netlink_broadcast_filtered+0x12b/0x380
> [ +0.000005] [<ffffffff8139b730>] ? kobj_ns_drop+0x50/0x50
> [ +0.000004] [<ffffffff8139bae8>] ? kobject_uevent_env+0x178/0x540
> [ +0.000006] [<ffffffff814d98d9>] ? devtmpfs_create_node+0x109/0x140
> [ +0.000004] [<ffffffff814cde27>] ? get_device+0x17/0x30
> [ +0.000005] [<ffffffff814d3ce5>] ? klist_class_dev_get+0x15/0x20
> [ +0.000005] [<ffffffff81770a22>] ? klist_add_tail+0x32/0x40
> [ +0.000004] [<ffffffff814cf85f>] ? device_add+0x19f/0x6a0
> [ +0.000018] [<ffffffffa031a825>] drm_dev_register+0xb5/0x110 [drm]
> [ +0.000013] [<ffffffffa031d9bd>] drm_get_pci_dev+0x8d/0x200 [drm]
> [ +0.000022] [<ffffffffa07de22b>] i915_pci_probe+0x3b/0x60 [i915]
> [ +0.000006] [<ffffffff813e4485>] local_pci_probe+0x45/0xa0
> [ +0.000005] [<ffffffff81299a72>] ? sysfs_do_create_link_sd.isra.2+0x72/0xc0
> [ +0.000005] [<ffffffff813e57e9>] pci_device_probe+0xf9/0x150
> [ +0.000004] [<ffffffff814d2d83>] driver_probe_device+0xa3/0x400
> [ +0.000004] [<ffffffff814d31bb>] __driver_attach+0x9b/0xa0
> [ +0.000005] [<ffffffff814d3120>] ? __device_attach+0x40/0x40
> [ +0.000004] [<ffffffff814d0a43>] bus_for_each_dev+0x73/0xc0
> [ +0.000004] [<ffffffff814d27ee>] driver_attach+0x1e/0x20
> [ +0.000004] [<ffffffff814d23a0>] bus_add_driver+0x180/0x250
> [ +0.000004] [<ffffffff814d39b4>] driver_register+0x64/0xf0
> [ +0.000005] [<ffffffff813e3d0c>] __pci_register_driver+0x4c/0x50
> [ +0.000013] [<ffffffffa031dc2a>] drm_pci_init+0xfa/0x130 [drm]
> [ +0.000010] [<ffffffffa08e7000>] ? 0xffffffffa08e7000
> [ +0.000022] [<ffffffffa08e70a0>] i915_init+0xa0/0xa8 [i915]
> [ +0.000006] [<ffffffff81002148>] do_one_initcall+0xd8/0x210
> [ +0.000005] [<ffffffff811ded12>] ? __vunmap+0xa2/0x100
> [ +0.000005] [<ffffffff811fc599>] ? kmem_cache_alloc_trace+0x1a9/0x230
> [ +0.000005] [<ffffffff81779e0d>] ? do_init_module+0x28/0x1cc
> [ +0.000004] [<ffffffff81779e46>] do_init_module+0x61/0x1cc
> [ +0.000005] [<ffffffff81120c4b>] load_module+0x20ab/0x2520
> [ +0.000004] [<ffffffff8111c550>] ? store_uevent+0x70/0x70
> [ +0.000004] [<ffffffff811dd9ec>] ? vmap_page_range_noflush+0x22c/0x350
> [ +0.000005] [<ffffffff8112118d>] SyS_init_module+0xcd/0x120
> [ +0.000006] [<ffffffff81781349>] system_call_fastpath+0x12/0x17
> [ +0.000004] ---[ end trace ff7adae285a9d5a5 ]---
> [ +0.026613] i915 0000:00:02.0: No connectors reported connected with modes
> [ +0.000012] [drm] Cannot find any crtc or sizes - going 1024x768
> [ +0.002192] fbcon: inteldrmfb (fb0) is primary device
> [ +0.000122] Console: switching to colour frame buffer device 128x48
> [ +0.000014] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device
> [ +0.000003] i915 0000:00:02.0: registered panic notifier
> [ +0.003554] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no)
> [ +0.002204] input: Video Bus as
> /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input13
> [ +0.001292] [drm] Initialized i915 1.6.0 20150130 for 0000:00:02.0 on minor 0
> [ +0.000873] ------------[ cut here ]------------
> [ +0.000037] WARNING: CPU: 0 PID: 563 at
> drivers/gpu/drm/drm_atomic.c:482 drm_atomic_check_only+0x33d/0x500
> [drm]()
> [ +0.000003] Modules linked in: i915(+) ip6t_rpfilter ip6t_REJECT
> nf_reject_ipv6 xt_conntrack bnep iTCO_wdt iTCO_vendor_support
> ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables
> ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6
> ip6table_mangle ip6table_security ip6table_raw ip6table_filter
> ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4
> nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw arc4
> iwlmvm mac80211 intel_rapl coretemp kvm_intel kvm iwlwifi btusb
> bluetooth i2c_algo_bit cfg80211 drm_kms_helper crct10dif_pclmul
> snd_hda_codec_hdmi crc32_pclmul crc32c_intel ghash_clmulni_intel
> snd_hda_codec_realtek vfat snd_hda_codec_generic snd_intel_sst_acpi
> fat serio_raw snd_intel_sst_core snd_hda_intel i2c_i801 drm
> snd_soc_sst_mfld_platform snd_hda_controller
> [ +0.000046] r8169 lpc_ich snd_soc_rt5640 snd_hda_codec mfd_core
> snd_soc_rl6231 mii mei_txe ir_lirc_codec ir_xmp_decoder
> ir_mce_kbd_decoder lirc_dev snd_soc_core ir_sharp_decoder shpchp
> ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder mei ir_rc6_decoder
> ir_rc5_decoder ir_nec_decoder snd_compress snd_pcm_dmaengine snd_hwdep
> snd_seq snd_seq_device iosf_mbi rc_rc6_mce snd_pcm ite_cir snd_timer
> rc_core dw_dmac snd dw_dmac_core regmap_i2c i2c_hid
> i2c_designware_platform soundcore rfkill_gpio i2c_designware_core
> rfkill snd_soc_sst_acpi nfsd auth_rpcgss nfs_acl lockd grace sunrpc
> sdhci_acpi video sdhci mmc_core
> [ +0.000050] CPU: 0 PID: 563 Comm: Xorg Tainted: G W
> 4.0.0-0.rc5.git0.1.fc23.x86_64 #1
> [ +0.000003] Hardware name:
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/DN2820FYK,
> BIOS FYBYT10H.86A.0034.2014.0513.1413 05/13/2014
> [ +0.000003] 0000000000000000 000000001fbdeb23 ffff88022358bc28
> ffffffff8177ac09
> [ +0.000005] 0000000000000000 0000000000000000 ffff88022358bc68
> ffffffff8109c78a
> [ +0.000004] ffff88021a79fb00 0000000000000040 ffff8802344da000
> ffff88021a4482a0
> [ +0.000004] Call Trace:
> [ +0.000010] [<ffffffff8177ac09>] dump_stack+0x45/0x57
> [ +0.000006] [<ffffffff8109c78a>] warn_slowpath_common+0x8a/0xc0
> [ +0.000004] [<ffffffff8109c8ba>] warn_slowpath_null+0x1a/0x20
> [ +0.000017] [<ffffffffa033213d>] drm_atomic_check_only+0x33d/0x500 [drm]
> [ +0.000006] [<ffffffff811bc0a6>] ? kmemdup+0x36/0x50
> [ +0.000016] [<ffffffffa0332317>] drm_atomic_commit+0x17/0x60 [drm]
> [ +0.000011] [<ffffffffa03f571d>]
> drm_atomic_helper_plane_set_property+0x8d/0xd0 [drm_kms_helper]
> [ +0.000014] [<ffffffffa03208ad>] drm_mode_plane_set_obj_prop+0x2d/0x90 [drm]
> [ +0.000009] [<ffffffffa03f750b>] restore_fbdev_mode+0x6b/0xf0
> [drm_kms_helper]
> [ +0.000009] [<ffffffffa03f95c9>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper]
> [ +0.000041] [<ffffffffa0860b3e>] intel_fbdev_restore_mode+0x1e/0x50 [i915]
> [ +0.000034] [<ffffffffa088795e>] i915_driver_lastclose+0xe/0x20 [i915]
> [ +0.000036] [<ffffffffa0314d3e>] drm_lastclose+0x2e/0x150 [drm]
> [ +0.000012] [<ffffffffa0315128>] drm_release+0x2c8/0x4b0 [drm]
> [ +0.000006] [<ffffffff8121c66f>] __fput+0xdf/0x1f0
> [ +0.000005] [<ffffffff8121c7ce>] ____fput+0xe/0x10
> [ +0.000004] [<ffffffff810b9727>] task_work_run+0xb7/0xf0
> [ +0.000006] [<ffffffff81014cdd>] do_notify_resume+0x8d/0xa0
> [ +0.000005] [<ffffffff817815a3>] int_signal+0x12/0x17
> [ +0.000003] ---[ end trace ff7adae285a9d5a6 ]---
> [ +0.097956] ------------[ cut here ]------------
> [ +0.000036] WARNING: CPU: 0 PID: 563 at
> drivers/gpu/drm/i915/i915_gem.c:4525 i915_gem_free_object+0x2e5/0x320
> [i915]()
> [ +0.000003] WARN_ON(obj->frontbuffer_bits)
> [ +0.000002] Modules linked in:
> [ +0.000002] i915 ip6t_rpfilter ip6t_REJECT nf_reject_ipv6
> xt_conntrack bnep iTCO_wdt iTCO_vendor_support ebtable_nat
> ebtable_broute bridge stp llc ebtable_filter ebtables ip6table_nat
> nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6 ip6table_mangle
> ip6table_security ip6table_raw ip6table_filter ip6_tables iptable_nat
> nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat nf_conntrack
> iptable_mangle iptable_security iptable_raw arc4 iwlmvm mac80211
> intel_rapl coretemp kvm_intel kvm iwlwifi btusb bluetooth i2c_algo_bit
> cfg80211 drm_kms_helper crct10dif_pclmul snd_hda_codec_hdmi
> crc32_pclmul crc32c_intel ghash_clmulni_intel snd_hda_codec_realtek
> vfat snd_hda_codec_generic snd_intel_sst_acpi fat serio_raw
> snd_intel_sst_core snd_hda_intel i2c_i801 drm
> snd_soc_sst_mfld_platform snd_hda_controller r8169 lpc_ich
> [ +0.000057] snd_soc_rt5640 snd_hda_codec mfd_core snd_soc_rl6231
> mii mei_txe ir_lirc_codec ir_xmp_decoder ir_mce_kbd_decoder lirc_dev
> snd_soc_core ir_sharp_decoder shpchp ir_sanyo_decoder ir_sony_decoder
> ir_jvc_decoder mei ir_rc6_decoder ir_rc5_decoder ir_nec_decoder
> snd_compress snd_pcm_dmaengine snd_hwdep snd_seq snd_seq_device
> iosf_mbi rc_rc6_mce snd_pcm ite_cir snd_timer rc_core dw_dmac snd
> dw_dmac_core regmap_i2c i2c_hid i2c_designware_platform soundcore
> rfkill_gpio i2c_designware_core rfkill snd_soc_sst_acpi nfsd
> auth_rpcgss nfs_acl lockd grace sunrpc sdhci_acpi video sdhci mmc_core
> [ +0.000048] CPU: 0 PID: 563 Comm: Xorg Tainted: G W
> 4.0.0-0.rc5.git0.1.fc23.x86_64 #1
> [ +0.000003] Hardware name:
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/DN2820FYK,
> BIOS FYBYT10H.86A.0034.2014.0513.1413 05/13/2014
> [ +0.000003] 0000000000000000 000000001fbdeb23 ffff88022358bbc8
> ffffffff8177ac09
> [ +0.000004] 0000000000000000 ffff88022358bc20 ffff88022358bc08
> ffffffff8109c78a
> [ +0.000004] ffff880228d95570 ffff8800ac0fc040 ffff8800ac0fc000
> ffff8800ac0fc0c0
> [ +0.000005] Call Trace:
> [ +0.000009] [<ffffffff8177ac09>] dump_stack+0x45/0x57
> [ +0.000006] [<ffffffff8109c78a>] warn_slowpath_common+0x8a/0xc0
> [ +0.000004] [<ffffffff8109c815>] warn_slowpath_fmt+0x55/0x70
> [ +0.000020] [<ffffffffa080ac6d>] ? i915_vma_unbind+0x24d/0x260 [i915]
> [ +0.000018] [<ffffffffa080c4f5>] i915_gem_free_object+0x2e5/0x320 [i915]
> [ +0.000006] [<ffffffff813b6451>] ? list_del+0x11/0x40
> [ +0.000020] [<ffffffffa0315417>] drm_gem_object_free+0x27/0x40 [drm]
> [ +0.000023] [<ffffffffa0840645>]
> intel_user_framebuffer_destroy+0x75/0xa0 [i915]
> [ +0.000015] [<ffffffffa0320a0e>] drm_framebuffer_free+0x4e/0x60 [drm]
> [ +0.000014] [<ffffffffa0322095>] drm_framebuffer_unreference+0x35/0x70 [drm]
> [ +0.000014] [<ffffffffa032219a>]
> drm_mode_set_config_internal+0xca/0x100 [drm]
> [ +0.000010] [<ffffffffa03f7568>] restore_fbdev_mode+0xc8/0xf0
> [drm_kms_helper]
> [ +0.000010] [<ffffffffa03f95c9>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper]
> [ +0.000022] [<ffffffffa0860b3e>] intel_fbdev_restore_mode+0x1e/0x50 [i915]
> [ +0.000025] [<ffffffffa088795e>] i915_driver_lastclose+0xe/0x20 [i915]
> [ +0.000012] [<ffffffffa0314d3e>] drm_lastclose+0x2e/0x150 [drm]
> [ +0.000011] [<ffffffffa0315128>] drm_release+0x2c8/0x4b0 [drm]
> [ +0.000006] [<ffffffff8121c66f>] __fput+0xdf/0x1f0
> [ +0.000004] [<ffffffff8121c7ce>] ____fput+0xe/0x10
> [ +0.000005] [<ffffffff810b9727>] task_work_run+0xb7/0xf0
> [ +0.000006] [<ffffffff81014cdd>] do_notify_resume+0x8d/0xa0
> [ +0.000005] [<ffffffff817815a3>] int_signal+0x12/0x17
> [ +0.000002] ---[ end trace ff7adae285a9d5a7 ]---
> [ +0.191566] ------------[ cut here ]------------
> [ +0.000041] WARNING: CPU: 1 PID: 563 at
> drivers/gpu/drm/drm_atomic.c:482 drm_atomic_check_only+0x33d/0x500
> [drm]()
> [ +0.000003] Modules linked in: i915 ip6t_rpfilter ip6t_REJECT
> nf_reject_ipv6 xt_conntrack bnep iTCO_wdt iTCO_vendor_support
> ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables
> ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6
> ip6table_mangle ip6table_security ip6table_raw ip6table_filter
> ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4
> nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw arc4
> iwlmvm mac80211 intel_rapl coretemp kvm_intel kvm iwlwifi btusb
> bluetooth i2c_algo_bit cfg80211 drm_kms_helper crct10dif_pclmul
> snd_hda_codec_hdmi crc32_pclmul crc32c_intel ghash_clmulni_intel
> snd_hda_codec_realtek vfat snd_hda_codec_generic snd_intel_sst_acpi
> fat serio_raw snd_intel_sst_core snd_hda_intel i2c_i801 drm
> snd_soc_sst_mfld_platform snd_hda_controller
> [ +0.000046] r8169 lpc_ich snd_soc_rt5640 snd_hda_codec mfd_core
> snd_soc_rl6231 mii mei_txe ir_lirc_codec ir_xmp_decoder
> ir_mce_kbd_decoder lirc_dev snd_soc_core ir_sharp_decoder shpchp
> ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder mei ir_rc6_decoder
> ir_rc5_decoder ir_nec_decoder snd_compress snd_pcm_dmaengine snd_hwdep
> snd_seq snd_seq_device iosf_mbi rc_rc6_mce snd_pcm ite_cir snd_timer
> rc_core dw_dmac snd dw_dmac_core regmap_i2c i2c_hid
> i2c_designware_platform soundcore rfkill_gpio i2c_designware_core
> rfkill snd_soc_sst_acpi nfsd auth_rpcgss nfs_acl lockd grace sunrpc
> sdhci_acpi video sdhci mmc_core
> [ +0.000051] CPU: 1 PID: 563 Comm: Xorg Tainted: G W
> 4.0.0-0.rc5.git0.1.fc23.x86_64 #1
> [ +0.000002] Hardware name:
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/DN2820FYK,
> BIOS FYBYT10H.86A.0034.2014.0513.1413 05/13/2014
> [ +0.000003] 0000000000000000 000000001fbdeb23 ffff88022358bbb8
> ffffffff8177ac09
> [ +0.000005] 0000000000000000 0000000000000000 ffff88022358bbf8
> ffffffff8109c78a
> [ +0.000004] ffff8800b7e13740 0000000000000040 ffff880228e6c480
> ffff88021e70ec60
> [ +0.000004] Call Trace:
> [ +0.000010] [<ffffffff8177ac09>] dump_stack+0x45/0x57
> [ +0.000006] [<ffffffff8109c78a>] warn_slowpath_common+0x8a/0xc0
> [ +0.000004] [<ffffffff8109c8ba>] warn_slowpath_null+0x1a/0x20
> [ +0.000016] [<ffffffffa033213d>] drm_atomic_check_only+0x33d/0x500 [drm]
> [ +0.000006] [<ffffffff811bc0a6>] ? kmemdup+0x36/0x50
> [ +0.000016] [<ffffffffa0332317>] drm_atomic_commit+0x17/0x60 [drm]
> [ +0.000011] [<ffffffffa03f571d>]
> drm_atomic_helper_plane_set_property+0x8d/0xd0 [drm_kms_helper]
> [ +0.000014] [<ffffffffa03208ad>] drm_mode_plane_set_obj_prop+0x2d/0x90 [drm]
> [ +0.000009] [<ffffffffa03f750b>] restore_fbdev_mode+0x6b/0xf0
> [drm_kms_helper]
> [ +0.000009] [<ffffffffa03f95c9>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper]
> [ +0.000009] [<ffffffffa03f9642>] drm_fb_helper_set_par+0x22/0x50
> [drm_kms_helper]
> [ +0.000008] [<ffffffffa03f954f>]
> drm_fb_helper_hotplug_event+0x8f/0xe0 [drm_kms_helper]
> [ +0.000009] [<ffffffffa03f95ec>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x4c/0x80 [drm_kms_helper]
> [ +0.000030] [<ffffffffa0860b3e>] intel_fbdev_restore_mode+0x1e/0x50 [i915]
> [ +0.000026] [<ffffffffa088795e>] i915_driver_lastclose+0xe/0x20 [i915]
> [ +0.000012] [<ffffffffa0314d3e>] drm_lastclose+0x2e/0x150 [drm]
> [ +0.000012] [<ffffffffa0315128>] drm_release+0x2c8/0x4b0 [drm]
> [ +0.000005] [<ffffffff8121c66f>] __fput+0xdf/0x1f0
> [ +0.000005] [<ffffffff8121c7ce>] ____fput+0xe/0x10
> [ +0.000004] [<ffffffff810b9727>] task_work_run+0xb7/0xf0
> [ +0.000006] [<ffffffff81014cdd>] do_notify_resume+0x8d/0xa0
> [ +0.000005] [<ffffffff817815a3>] int_signal+0x12/0x17
> [ +0.000003] ---[ end trace ff7adae285a9d5a8 ]---
> [ +0.000015] general protection fault: 0000 [#1] SMP
> [ +0.000054] Modules linked in: i915 ip6t_rpfilter ip6t_REJECT
> nf_reject_ipv6 xt_conntrack bnep iTCO_wdt iTCO_vendor_support
> ebtable_nat ebtable_broute bridge stp llc ebtable_filter ebtables
> ip6table_nat nf_conntrack_ipv6 nf_defrag_ipv6 nf_nat_ipv6
> ip6table_mangle ip6table_security ip6table_raw ip6table_filter
> ip6_tables iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4
> nf_nat nf_conntrack iptable_mangle iptable_security iptable_raw arc4
> iwlmvm mac80211 intel_rapl coretemp kvm_intel kvm iwlwifi btusb
> bluetooth i2c_algo_bit cfg80211 drm_kms_helper crct10dif_pclmul
> snd_hda_codec_hdmi crc32_pclmul crc32c_intel ghash_clmulni_intel
> snd_hda_codec_realtek vfat snd_hda_codec_generic snd_intel_sst_acpi
> fat serio_raw snd_intel_sst_core snd_hda_intel i2c_i801 drm
> snd_soc_sst_mfld_platform snd_hda_controller
> [ +0.000702] r8169 lpc_ich snd_soc_rt5640 snd_hda_codec mfd_core
> snd_soc_rl6231 mii mei_txe ir_lirc_codec ir_xmp_decoder
> ir_mce_kbd_decoder lirc_dev snd_soc_core ir_sharp_decoder shpchp
> ir_sanyo_decoder ir_sony_decoder ir_jvc_decoder mei ir_rc6_decoder
> ir_rc5_decoder ir_nec_decoder snd_compress snd_pcm_dmaengine snd_hwdep
> snd_seq snd_seq_device iosf_mbi rc_rc6_mce snd_pcm ite_cir snd_timer
> rc_core dw_dmac snd dw_dmac_core regmap_i2c i2c_hid
> i2c_designware_platform soundcore rfkill_gpio i2c_designware_core
> rfkill snd_soc_sst_acpi nfsd auth_rpcgss nfs_acl lockd grace sunrpc
> sdhci_acpi video sdhci mmc_core
> [ +0.000532] CPU: 1 PID: 563 Comm: Xorg Tainted: G W
> 4.0.0-0.rc5.git0.1.fc23.x86_64 #1
> [ +0.000071] Hardware name:
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff
> \xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff\xffffffff/DN2820FYK,
> BIOS FYBYT10H.86A.0034.2014.0513.1413 05/13/2014
> [ +0.000109] task: ffff8800b2e2c520 ti: ffff880223588000 task.ti:
> ffff880223588000
> [ +0.000059] RIP: 0010:[<ffffffff810e37d3>] [<ffffffff810e37d3>]
> mutex_optimistic_spin+0x53/0x1f0
> [ +0.000076] RSP: 0018:ffff88022358bae8 EFLAGS: 00010206
> [ +0.000044] RAX: 00008124f0000118 RBX: 0000000000000000 RCX: 0000000000000002
> [ +0.000056] RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff880234b46528
> [ +0.000057] RBP: ffff88022358bb38 R08: 0000000000000096 R09: 000000000000041f
> [ +0.000057] R10: 0000000000000000 R11: 000000000000041f R12: 0000000000000000
> [ +0.000056] R13: ffff8800b2e2c520 R14: ffff880234b46d80 R15: ffff880234b46528
> [ +0.002152] FS: 00007fd5c325d9c0(0000) GS:ffff88023fd00000(0000)
> knlGS:0000000000000000
> [ +0.002190] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
> [ +0.002192] CR2: 00007fb821fd8b50 CR3: 0000000228d2a000 CR4: 00000000001007e0
> [ +0.002217] Stack:
> [ +0.002206] ffff88022358bb58 ffff8800b2e2c520 0000000000000000
> 0000000000000246
> [ +0.002292] ffff88022358bb78 ffff880234b46528 ffff880234b46528
> ffff8800b2e2c520
> [ +0.002299] ffff880234b46d80 0000000000000000 ffff88022358bb98
> ffffffff8177f1aa
> [ +0.002310] Call Trace:
> [ +0.002262] [<ffffffff8177f1aa>] __mutex_lock_slowpath+0x3a/0x120
> [ +0.002297] [<ffffffff81779c67>] ? printk+0x55/0x6b
> [ +0.002312] [<ffffffff8177f2b3>] mutex_lock+0x23/0x40
> [ +0.002308] [<ffffffffa03209ea>] drm_framebuffer_free+0x2a/0x60 [drm]
> [ +0.002329] [<ffffffffa0322095>] drm_framebuffer_unreference+0x35/0x70 [drm]
> [ +0.002319] [<ffffffffa03f5bef>]
> drm_atomic_helper_plane_destroy_state+0x1f/0x30 [drm_kms_helper]
> [ +0.002366] [<ffffffffa0863f6e>] intel_plane_destroy_state+0xe/0x10 [i915]
> [ +0.002368] [<ffffffffa0331a2a>] drm_atomic_state_clear+0x10a/0x170 [drm]
> [ +0.002378] [<ffffffffa0331aa6>] drm_atomic_state_free+0x16/0x60 [drm]
> [ +0.002362] [<ffffffffa03f5743>]
> drm_atomic_helper_plane_set_property+0xb3/0xd0 [drm_kms_helper]
> [ +0.002411] [<ffffffffa03208ad>] drm_mode_plane_set_obj_prop+0x2d/0x90 [drm]
> [ +0.002420] [<ffffffffa03f750b>] restore_fbdev_mode+0x6b/0xf0
> [drm_kms_helper]
> [ +0.002435] [<ffffffffa03f95c9>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x29/0x80 [drm_kms_helper]
> [ +0.002472] [<ffffffffa03f9642>] drm_fb_helper_set_par+0x22/0x50
> [drm_kms_helper]
> [ +0.002483] [<ffffffffa03f954f>]
> drm_fb_helper_hotplug_event+0x8f/0xe0 [drm_kms_helper]
> [ +0.002504] [<ffffffffa03f95ec>]
> drm_fb_helper_restore_fbdev_mode_unlocked+0x4c/0x80 [drm_kms_helper]
> [ +0.002533] [<ffffffffa0860b3e>] intel_fbdev_restore_mode+0x1e/0x50 [i915]
> [ +0.002492] [<ffffffffa088795e>] i915_driver_lastclose+0xe/0x20 [i915]
> [ +0.002424] [<ffffffffa0314d3e>] drm_lastclose+0x2e/0x150 [drm]
> [ +0.002366] [<ffffffffa0315128>] drm_release+0x2c8/0x4b0 [drm]
> [ +0.002299] [<ffffffff8121c66f>] __fput+0xdf/0x1f0
> [ +0.002241] [<ffffffff8121c7ce>] ____fput+0xe/0x10
> [ +0.002171] [<ffffffff810b9727>] task_work_run+0xb7/0xf0
> [ +0.002124] [<ffffffff81014cdd>] do_notify_resume+0x8d/0xa0
> [ +0.002067] [<ffffffff817815a3>] int_signal+0x12/0x17
> [ +0.002016] Code: 8b 04 25 08 b9 00 00 48 8b 80 38 c0 ff ff a8 08 0f
> 85 c2 00 00 00 49 89 ff 49 89 f4 89 d3 48 8b 47 18 48 85 c0 0f 84 1d
> 01 00 00 <8b> 40 28 85 c0 0f 84 a2 00 00 00 49 8d 47 20 48 89 c7 48 89
> 45
> [ +0.004217] RIP [<ffffffff810e37d3>] mutex_optimistic_spin+0x53/0x1f0
> [ +0.001983] RSP <ffff88022358bae8>
> [ +0.009890] ---[ end trace ff7adae285a9d5a9 ]---
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/