Bug 98092 - [4.8 bdw] display object leak on unload
Summary: [4.8 bdw] display object leak on unload
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: Other All
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-05 10:12 UTC by prochazka.nicolas
Modified: 2017-07-24 22:40 UTC (History)
1 user (show)

See Also:
i915 platform: BDW
i915 features: power/Other


Attachments

Description prochazka.nicolas 2016-10-05 10:12:58 UTC
[  331.926208] WARNING: CPU: 3 PID: 4545 at drivers/gpu/drm/i915/intel_fbc.c:1141 __intel_fbc_disable+0xcf/0x120 [i915]
[  331.926209] WARN_ON(crtc->active)
[  331.926210] Modules linked in:
[  331.926211]  i915 drm_kms_helper sysimgblt sysfillrect syscopyarea fb_sys_fops drm
[  331.926218] CPU: 3 PID: 4545 Comm: libvirtd Not tainted 4.8.0 #6
[  331.926219] Hardware name:                  /NUC5i3RYB, BIOS RYBDWi35.86A.0359.2016.0906.1028 09/06/2016
[  331.926221]  0000000000000000 ffff880237f03bf8 ffffffff812e135c ffff880237f03c48
[  331.926224]  0000000000000000 ffff880237f03c38 ffffffff810afcd7 0000047537f03c58
[  331.926227]  ffff880240980000 ffff88024cedb000 ffffffffa018aa40 000000000000000c
[  331.926230] Call Trace:
[  331.926235]  [<ffffffff812e135c>] dump_stack+0x63/0x87
[  331.926238]  [<ffffffff810afcd7>] __warn+0xc7/0xf0
[  331.926242]  [<ffffffff810afd4a>] warn_slowpath_fmt+0x4a/0x50
[  331.926259]  [<ffffffffa011800f>] __intel_fbc_disable+0xcf/0x120 [i915]
[  331.926276]  [<ffffffffa01196a1>] intel_fbc_global_disable+0x51/0x60 [i915]
[  331.926292]  [<ffffffffa0112a1a>] intel_modeset_cleanup+0x2a/0x60 [i915]
[  331.926305]  [<ffffffffa0092ef4>] i915_driver_unload+0x74/0x180 [i915]
[  331.926318]  [<ffffffffa009d114>] i915_pci_remove+0x14/0x20 [i915]
[  331.926321]  [<ffffffff81316d14>] pci_device_remove+0x34/0xb0
[  331.926324]  [<ffffffff813e5415>] __device_release_driver+0x95/0x140
[  331.926326]  [<ffffffff813e54de>] device_release_driver+0x1e/0x30
[  331.926330]  [<ffffffff813e3a15>] unbind_store+0xb5/0xe0
[  331.926333]  [<ffffffff813e302f>] drv_attr_store+0x1f/0x30
[  331.926336]  [<ffffffff81227415>] sysfs_kf_write+0x35/0x40
[  331.926338]  [<ffffffff81226f66>] kernfs_fop_write+0x106/0x190
[  331.926342]  [<ffffffff811bd703>] __vfs_write+0x23/0x120
[  331.926345]  [<ffffffff810e96b2>] ? percpu_down_read+0x12/0x40
[  331.926348]  [<ffffffff811bddbd>] vfs_write+0xad/0x1a0
[  331.926351]  [<ffffffff811bf0a1>] SyS_write+0x41/0xa0
[  331.926353]  [<ffffffff81101d95>] ? rcu_eqs_enter.isra.34+0x45/0x50
[  331.926356]  [<ffffffff81003400>] do_syscall_64+0x70/0x180
[  331.926360]  [<ffffffff818966e1>] entry_SYSCALL64_slow_path+0x25/0x25
[  331.926362] ---[ end trace 27af13853a8779ef ]---
[  331.926408] ------------[ cut here ]------------
[  331.926418] WARNING: CPU: 3 PID: 4545 at drivers/gpu/drm/drm_crtc.c:5776 drm_mode_config_cleanup+0x225/0x240 [drm]
[  331.926419] Modules linked in: i915 drm_kms_helper sysimgblt sysfillrect syscopyarea fb_sys_fops drm
[  331.926426] CPU: 3 PID: 4545 Comm: libvirtd Tainted: G        W       4.8.0 #6
[  331.926427] Hardware name:                  /NUC5i3RYB, BIOS RYBDWi35.86A.0359.2016.0906.1028 09/06/2016
[  331.926427]  0000000000000000 ffff880237f03c60 ffffffff812e135c 0000000000000000
[  331.926430]  0000000000000000 ffff880237f03ca0 ffffffff810afcd7 0000169037f03c90
[  331.926434]  ffff880240980480 ffff880240980000 ffff880240980348 000000000000000c
[  331.926436] Call Trace:
[  331.926439]  [<ffffffff812e135c>] dump_stack+0x63/0x87
[  331.926442]  [<ffffffff810afcd7>] __warn+0xc7/0xf0
[  331.926445]  [<ffffffff810afdb8>] warn_slowpath_null+0x18/0x20
[  331.926452]  [<ffffffffa0011245>] drm_mode_config_cleanup+0x225/0x240 [drm]
[  331.926468]  [<ffffffffa0112a2e>] intel_modeset_cleanup+0x3e/0x60 [i915]
[  331.926482]  [<ffffffffa0092ef4>] i915_driver_unload+0x74/0x180 [i915]
[  331.926495]  [<ffffffffa009d114>] i915_pci_remove+0x14/0x20 [i915]
[  331.926498]  [<ffffffff81316d14>] pci_device_remove+0x34/0xb0
[  331.926501]  [<ffffffff813e5415>] __device_release_driver+0x95/0x140
[  331.926503]  [<ffffffff813e54de>] device_release_driver+0x1e/0x30
[  331.926506]  [<ffffffff813e3a15>] unbind_store+0xb5/0xe0
[  331.926509]  [<ffffffff813e302f>] drv_attr_store+0x1f/0x30
[  331.926511]  [<ffffffff81227415>] sysfs_kf_write+0x35/0x40
[  331.926513]  [<ffffffff81226f66>] kernfs_fop_write+0x106/0x190
[  331.926517]  [<ffffffff811bd703>] __vfs_write+0x23/0x120
[  331.926520]  [<ffffffff810e96b2>] ? percpu_down_read+0x12/0x40
[  331.926523]  [<ffffffff811bddbd>] vfs_write+0xad/0x1a0
[  331.926525]  [<ffffffff811bf0a1>] SyS_write+0x41/0xa0
[  331.926528]  [<ffffffff81101d95>] ? rcu_eqs_enter.isra.34+0x45/0x50
[  331.926531]  [<ffffffff81003400>] do_syscall_64+0x70/0x180
[  331.926535]  [<ffffffff818966e1>] entry_SYSCALL64_slow_path+0x25/0x25
[  331.926537] ---[ end trace 27af13853a8779f0 ]---
[  331.928906] ------------[ cut here ]------------
[  331.928926] WARNING: CPU: 0 PID: 4545 at drivers/gpu/drm/i915/i915_drv.c:603 i915_gem_fini+0xaa/0xb0 [i915]
[  331.928927] WARN_ON(!list_empty(&to_i915(dev)->context_list))
[  331.928928] Modules linked in:
[  331.928929]  i915 drm_kms_helper sysimgblt sysfillrect syscopyarea fb_sys_fops drm
[  331.928937] CPU: 0 PID: 4545 Comm: libvirtd Tainted: G        W       4.8.0 #6
[  331.928938] Hardware name:                  /NUC5i3RYB, BIOS RYBDWi35.86A.0359.2016.0906.1028 09/06/2016
[  331.928940]  0000000000000000 ffff880237f03c30 ffffffff812e135c ffff880237f03c80
[  331.928943]  0000000000000000 ffff880237f03c70 ffffffff810afcd7 0000025b812e232d
[  331.928946]  ffff88024098a558 ffff880240980068 ffffffffa018aa40 000000000000000c
[  331.928949] Call Trace:
[  331.928953]  [<ffffffff812e135c>] dump_stack+0x63/0x87
[  331.928956]  [<ffffffff810afcd7>] __warn+0xc7/0xf0
[  331.928959]  [<ffffffff810afd4a>] warn_slowpath_fmt+0x4a/0x50
[  331.928962]  [<ffffffff812e25d6>] ? ida_destroy+0x16/0x20
[  331.928974]  [<ffffffffa009173a>] i915_gem_fini+0xaa/0xb0 [i915]
[  331.928987]  [<ffffffffa0092f9c>] i915_driver_unload+0x11c/0x180 [i915]
[  331.929001]  [<ffffffffa009d114>] i915_pci_remove+0x14/0x20 [i915]
[  331.929003]  [<ffffffff81316d14>] pci_device_remove+0x34/0xb0
[  331.929007]  [<ffffffff813e5415>] __device_release_driver+0x95/0x140
[  331.929009]  [<ffffffff813e54de>] device_release_driver+0x1e/0x30
[  331.929012]  [<ffffffff813e3a15>] unbind_store+0xb5/0xe0
[  331.929015]  [<ffffffff813e302f>] drv_attr_store+0x1f/0x30
[  331.929017]  [<ffffffff81227415>] sysfs_kf_write+0x35/0x40
[  331.929019]  [<ffffffff81226f66>] kernfs_fop_write+0x106/0x190
[  331.929022]  [<ffffffff811bd703>] __vfs_write+0x23/0x120
[  331.929026]  [<ffffffff810e96b2>] ? percpu_down_read+0x12/0x40
[  331.929029]  [<ffffffff811bddbd>] vfs_write+0xad/0x1a0
[  331.929031]  [<ffffffff811bf0a1>] SyS_write+0x41/0xa0
[  331.929033]  [<ffffffff81101d95>] ? rcu_eqs_enter.isra.34+0x45/0x50
[  331.929036]  [<ffffffff81003400>] do_syscall_64+0x70/0x180
[  331.929040]  [<ffffffff818966e1>] entry_SYSCALL64_slow_path+0x25/0x25
[  331.929042] ---[ end trace 27af13853a8779f1 ]---
[  331.929081] ------------[ cut here ]------------
[  331.929090] WARNING: CPU: 0 PID: 4545 at drivers/gpu/drm/drm_mm.c:775 drm_mm_takedown+0x2c/0x30 [drm]
[  331.929091] Memory manager not clean during takedown.
[  331.929091] Modules linked in: i915 drm_kms_helper sysimgblt sysfillrect syscopyarea fb_sys_fops drm
[  331.929098] CPU: 0 PID: 4545 Comm: libvirtd Tainted: G        W       4.8.0 #6
[  331.929099] Hardware name:                  /NUC5i3RYB, BIOS RYBDWi35.86A.0359.2016.0906.1028 09/06/2016
[  331.929099]  0000000000000000 ffff880237f03c08 ffffffff812e135c ffff880237f03c58
[  331.929103]  0000000000000000 ffff880237f03c48 ffffffff810afcd7 000003078118e138
[  331.929105]  ffff880240980000 ffff8802409892e0 ffffffffa018aa40 000000000000000c
[  331.929108] Call Trace:
[  331.929110]  [<ffffffff812e135c>] dump_stack+0x63/0x87
[  331.929113]  [<ffffffff810afcd7>] __warn+0xc7/0xf0
[  331.929115]  [<ffffffff810afd4a>] warn_slowpath_fmt+0x4a/0x50
[  331.929123]  [<ffffffffa000c20c>] drm_mm_takedown+0x2c/0x30 [drm]
[  331.929140]  [<ffffffffa00cac09>] i915_ggtt_cleanup_hw+0x59/0xa0 [i915]
[  331.929151]  [<ffffffffa00910e8>] i915_driver_cleanup_hw+0x48/0x50 [i915]
[  331.929163]  [<ffffffffa0092fb4>] i915_driver_unload+0x134/0x180 [i915]
[  331.929176]  [<ffffffffa009d114>] i915_pci_remove+0x14/0x20 [i915]
[  331.929179]  [<ffffffff81316d14>] pci_device_remove+0x34/0xb0
[  331.929181]  [<ffffffff813e5415>] __device_release_driver+0x95/0x140
[  331.929183]  [<ffffffff813e54de>] device_release_driver+0x1e/0x30
[  331.929186]  [<ffffffff813e3a15>] unbind_store+0xb5/0xe0
[  331.929188]  [<ffffffff813e302f>] drv_attr_store+0x1f/0x30
[  331.929190]  [<ffffffff81227415>] sysfs_kf_write+0x35/0x40
[  331.929192]  [<ffffffff81226f66>] kernfs_fop_write+0x106/0x190
[  331.929194]  [<ffffffff811bd703>] __vfs_write+0x23/0x120
[  331.929197]  [<ffffffff810e96b2>] ? percpu_down_read+0x12/0x40
[  331.929200]  [<ffffffff811bddbd>] vfs_write+0xad/0x1a0
[  331.929202]  [<ffffffff811bf0a1>] SyS_write+0x41/0xa0
[  331.929204]  [<ffffffff81101d95>] ? rcu_eqs_enter.isra.34+0x45/0x50
[  331.929206]  [<ffffffff81003400>] do_syscall_64+0x70/0x180
[  331.929209]  [<ffffffff818966e1>] entry_SYSCALL64_slow_path+0x25/0x25
[  331.929211] ---[ end trace 27af13853a8779f2 ]---
[  331.929242] =============================================================================
[  331.929244] BUG i915_gem_object (Tainted: G        W      ): Objects remaining in i915_gem_object on __kmem_cache_shutdown()
[  331.929244] -----------------------------------------------------------------------------
Comment 1 prochazka.nicolas 2016-10-05 10:14:24 UTC
Linux kernel 4.8.0
IGD Broadwell
Comment 2 Chris Wilson 2017-02-03 11:20:54 UTC
commit a667fb402c1e856209bf9e77ba41fc1cf356b867
Author: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Date:   Thu Dec 15 15:29:44 2016 +0100

    drm/i915: Disable all crtcs during driver unload, v2.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.