Bug 86269 - [SNB]igt/pm_rpm/universal-planes causes system hang and kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4116!
Summary: [SNB]igt/pm_rpm/universal-planes causes system hang and kernel BUG at driver...
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-14 02:35 UTC by lu hua
Modified: 2017-10-06 14:33 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (42.31 KB, text/plain)
2014-11-14 02:35 UTC, lu hua
no flags Details

Description lu hua 2014-11-14 02:35:39 UTC
Created attachment 109445 [details]
dmesg

==System Environment==
--------------------------
Regression: not sure, this case has Bug 85634

Non-working platforms:  SNB-HuronRiver

==kernel==
--------------------------
drm-intel-nightly/22ba72f728eaf30e63ded0c0bb0484b4bc6f92d4

==Bug detailed description==
igt/pm_rpm/universal-planes
igt/pm_rpm/universal-planes-dpms
igt/pm_rpm/legacy-planes
igt/pm_rpm/legacy-planes-dpms
Above 4 cases doesn't exit testing and report kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4116!. 

run ./pm_rpm --run-subtest universal-planes
output:
IGT-Version: 1.8-g6ee3337 (x86_64) (Linux: 3.18.0-rc2_drm-intel-nightly_203b34_20141103+ x86_64)
Runtime PM support: 1
PC8 residency support: 0

dmesg:
[  561.140966] WARNING: CPU: 2 PID: 4343 at drivers/gpu/drm/i915/i915_gem.c:4144 i915_gem_object_unpin_fence+0x44/0x60 [i915]()
[  561.140970] Modules linked in: netconsole configfs dm_mod snd_hda_codec_hdmi iTCO_wdt iTCO_vendor_support ppdev snd_hda_codec_idt snd_hda_codec_generic pcspkr uvcvideo videobuf2_vmalloc videobuf2_memops snd_hda_intel videobuf2_core v4l2_common snd_hda_controller videodev lpc_ich mfd_core snd_hda_codec firewire_ohci snd_hwdep firewire_core snd_pcm crc_itu_t snd_timer snd soundcore wmi battery parport_pc parport tpm_infineon tpm_tis tpm ac acpi_cpufreq i915 button video drm_kms_helper drm cfbfillrect cfbimgblt cfbcopyarea [last unloaded: netconsole]
[  561.141069] CPU: 2 PID: 4343 Comm: pm_rpm Not tainted 3.18.0-rc2_drm-intel-nightly_203b34_20141103+ #1126
[  561.141072] Hardware name: Hewlett-Packard HP EliteBook 8460p/161C, BIOS 68SCF Ver. F.22 12/22/2011
[  561.141076]  0000000000000000 0000000000000009 ffffffff8178ef42 0000000000000000
[  561.141085]  ffffffff8103a8cc ffff8800b8042a80 ffffffffa009cc1a ffff0000ffff0000
[  561.141095]  ffff8801334e0000 ffff880002c216c0 ffff8800b81d6060 0000000000000000
[  561.141105] Call Trace:
[  561.141112]  [<ffffffff8178ef42>] ? dump_stack+0x41/0x51
[  561.141117]  [<ffffffff8103a8cc>] ? warn_slowpath_common+0x78/0x90
[  561.141144]  [<ffffffffa009cc1a>] ? i915_gem_object_unpin_fence+0x44/0x60 [i915]
[  561.141154]  [<ffffffffa009cc1a>] ? i915_gem_object_unpin_fence+0x44/0x60 [i915]
[  561.141167]  [<ffffffffa00c8237>] ? intel_unpin_fb_obj+0x28/0x31 [i915]
[  561.141179]  [<ffffffffa00d82e9>] ? intel_disable_plane+0xad/0xff [i915]
[  561.141188]  [<ffffffffa0018c75>] ? __setplane_internal+0x41/0x26f [drm]
[  561.141196]  [<ffffffffa002347b>] ? drm_modeset_lock_all_crtcs+0x27/0x43 [drm]
[  561.141202]  [<ffffffffa002391b>] ? __drm_modeset_lock_all+0xc8/0xf2 [drm]
[  561.141211]  [<ffffffffa001b52a>] ? drm_mode_setplane+0x1aa/0x1ce [drm]
[  561.141219]  [<ffffffffa0010738>] ? drm_ioctl+0x279/0x3bc [drm]
[  561.141224]  [<ffffffff8133eb32>] ? sprintf+0x46/0x4b
[  561.141231]  [<ffffffffa001b380>] ? drm_mode_getplane+0xd0/0xd0 [drm]
[  561.141236]  [<ffffffff813e8ace>] ? rtpm_status_show+0x6a/0x78
[  561.141240]  [<ffffffff813e8a64>] ? control_show+0x37/0x37
[  561.141243]  [<ffffffff813e194b>] ? dev_attr_show+0x17/0x48
[  561.141248]  [<ffffffff8116b156>] ? kernfs_seq_start+0x24/0x7a
[  561.141252]  [<ffffffff8116c355>] ? sysfs_kf_seq_show+0x79/0xc3
[  561.141256]  [<ffffffff8116b128>] ? kernfs_seq_stop+0x10/0x1a
[  561.141261]  [<ffffffff81120cdb>] ? do_vfs_ioctl+0x3ec/0x435
[  561.141265]  [<ffffffff810a14e2>] ? __audit_syscall_entry+0xb2/0xd2
[  561.141269]  [<ffffffff8100d284>] ? syscall_trace_enter_phase1+0x11e/0x127
[  561.141273]  [<ffffffff81120d6d>] ? SyS_ioctl+0x49/0x78
[  561.141277]  [<ffffffff810a170b>] ? __audit_syscall_exit+0x209/0x225
[  561.141281]  [<ffffffff817945d2>] ? system_call_fastpath+0x12/0x17
[  561.141285] ---[ end trace 7b11f843da104d61 ]---
[  561.141300] ------------[ cut here ]------------
[  561.143657] kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4116!

==Reproduce steps==
---------------------------- 
1. ./pm_rpm --run-subtest universal-planes
Comment 1 Daniel Vetter 2014-11-18 12:44:33 UTC
Probably fixed with

commit b8bbac1d01397ead65516f11adba1c7baf76a016
Author: Paulo Zanoni <paulo.r.zanoni@intel.com>
Date:   Mon Nov 10 14:47:30 2014 -0200

    drm/i915: use the correct obj when preparing the sprite plane
Comment 2 Guo Jinxian 2014-11-19 06:44:47 UTC
Verified on latest -nighlty(3cb89f9eef2888c848248bf45d6dd0d67c594586)


[root@x-sgb4 tests]# ./pm_rpm --run-subtest universal-planes
IGT-Version: 1.8-gb35b150 (i686) (Linux: 3.18.0-rc5_drm-intel-nightly_3cb89f_20141119+ i686)
Runtime PM support: 1
PC8 residency support: 0
Subtest universal-planes: SUCCESS (21.278s)
[root@x-sgb4 tests]# dmesg -r|egrep "<[1-4]>"|grep drm
[root@x-sgb4 tests]#
Comment 3 Elizabeth 2017-10-06 14:33:46 UTC
Closing old verified.


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.