Bug 81864 - [PNV Regression]igt/kms_flip some subcases causes system hang
Summary: [PNV Regression]igt/kms_flip some subcases causes system hang
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: Rodrigo Vivi
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-29 07:27 UTC by Guo Jinxian
Modified: 2017-10-06 14:36 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg (61.60 KB, text/plain)
2014-07-29 07:27 UTC, Guo Jinxian
no flags Details

Description Guo Jinxian 2014-07-29 07:27:57 UTC
Created attachment 103627 [details]
dmesg

==System Environment==
--------------------------
Regression: Yes. 
Good commit on -next-queued: 91565c85b66db820f01894a971d39aaef60c4325(here has another bug 80704)

Non-working platforms: PNV

==kernel==
--------------------------
origin/drm-intel-nightly: 608e8cf58f0c125093664d452d6d297991feb6c7(fails)
    drm-intel-nightly: 2014y-07m-28d-17h-29m-13s integration manifest
origin/drm-intel-next-queued: 98fcc935e2f2f5de04ec8957312dc26a94371ae7(fails)
    work around warning in i915_gem_gtt
origin/drm-intel-fixes: f4be89cecea437aaddd7700d05c6bdb5678041f7(here has another bug 80704)
    drm/i915: Fix crash when failing to parse MIPI VBT

==Bug detailed description==
igt/kms_flip some subcases causes system hang.

Case list:
igt/kms_flip/rcs-flip-vs-dpms
igt/kms_flip/rcs-flip-vs-modeset
igt/kms_flip/wf_vblank-vs-modeset-interruptible

Output:
[root@x-pnv2 tests]# time ./kms_flip --run-subtest rcs-flip-vs-dpms
IGT-Version: 1.7-ge48c495 (i686) (Linux: 3.16.0-rc4_drm-intel-next-queued_98fcc9_20140729+ i686)
^Z^C


^C


==Reproduce steps==
---------------------------- 
1. ./kms_flip --run-subtest rcs-flip-vs-dpms
Comment 1 Chris Wilson 2014-08-25 10:52:16 UTC
[    2.318443] BUG: unable to handle kernel paging request at f8502100
[    2.318462] IP: [<f8300d1f>] gen4_read32+0x1f/0x72 [i915]
[    2.318576] *pde = 00000000 
[    2.318590] Oops: 0000 [#1] SMP 
[    2.318606] Modules linked in: i915(+) video button drm_kms_helper drm
[    2.318638] CPU: 1 PID: 1226 Comm: udevd Not tainted 3.16.0-rc4_drm-intel-next-queued_98fcc9_20140729+ #894
[    2.318660] Hardware name: MICRO-STAR INTERNATIONAL CO., LTD MS-N014/MS-N014, BIOS EN014IMS.10B 11/30/2009
[    2.318681] task: f619b700 ti: f62b8000 task.ti: f62b8000
[    2.318698] EIP: 0060:[<f8300d1f>] EFLAGS: 00010086 CPU: 1
[    2.318802] EIP is at gen4_read32+0x1f/0x72 [i915]
[    2.318820] EAX: 00000293 EBX: f5a20000 ECX: f5a20058 EDX: f8502100
[    2.318836] ESI: f5a20058 EDI: 00000001 EBP: 00182100 ESP: f62b9c90
[    2.318852]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
[    2.318866] CR0: 8005003b CR2: f8502100 CR3: 35911000 CR4: 000007d0
[    2.318880] Stack:
[    2.318892]  f5a20000 f5a20000 00000010 00000004 fffb7535 f831a150 01a20000 f5a20000
[    2.318923]  f5a23b20 00000061 f5a24554 f831a35f 00000006 00000061 f62b9ccc 00000000
[    2.318953]  00000000 f5a20000 00000c00 f82d77d1 f5a20000 f8300ee2 f5a20000 00000000
[    2.318982] Call Trace:
[    2.319037]  [<f831a150>] ? vlv_sideband_rw+0xa4/0x261 [i915]
[    2.319037]  [<f831a35f>] ? vlv_punit_read+0x52/0x64 [i915]
[    2.319037]  [<f82d77d1>] ? vlv_set_power_well.isra.22+0x35/0x108 [i915]
[    2.319037]  [<f8300ee2>] ? gen4_write64+0x7d/0x7d [i915]
[    2.319037]  [<f8300d00>] ? gen4_read64+0x7f/0x7f [i915]
[    2.319037]  [<f82d7ad1>] ? chv_dpio_cmn_power_well_enable+0xde/0x1b9 [i915]
[    2.319037]  [<f82da900>] ? intel_display_power_get+0x67/0xa2 [i915]

This looks to have been a merge error, that should now be resolved.
Comment 2 Guo Jinxian 2014-08-27 06:48:42 UTC
Verified on latest -nightly(d82af52b1766594ece621e427f1604194ca2b415)

[root@x-pnv2 tests]# ./kms_flip --run-subtest rcs-flip-vs-dpms
IGT-Version: 1.7-g50166d2 (i686) (Linux: 3.17.0-rc1_drm-intel-nightly_d82af5_20140826+ i686)
Using monotonic timestamps
Beginning rcs-flip-vs-dpms on crtc 10, connector 11
  1024x600 60 1024 1072 1104 1200 600 603 609 625 0xa 0x48 45000
..
rcs-flip-vs-dpms on crtc 10, connector 11: PASSED

Beginning rcs-flip-vs-dpms on crtc 7, connector 17
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
..
rcs-flip-vs-dpms on crtc 7, connector 17: PASSED

Beginning rcs-flip-vs-dpms on crtc 10, connector 17
  1024x768 60 1024 1048 1184 1344 768 771 777 806 0xa 0x40 65000
..
rcs-flip-vs-dpms on crtc 10, connector 17: PASSED

Subtest rcs-flip-vs-dpms: SUCCESS
Comment 3 Elizabeth 2017-10-06 14:36:52 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.