Bug 94451

Summary: [REGRESSION] After update to 3.19.0 system hangs on resume with Xorg active
Product: Drivers Reporter: maxtram95
Component: Video(DRI - Intel)Assignee: intel-gfx-bugs (intel-gfx-bugs)
Status: RESOLVED OBSOLETE    
Severity: normal CC: intel-gfx-bugs, maxtram95
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.19.0 Subsystem:
Regression: No Bisected commit-id:
Attachments: Commit that introduces regression
Partially revert faulty commit to make resume work again

Description maxtram95 2015-03-06 23:32:24 UTC
Created attachment 169611 [details]
Commit that introduces regression

My video card is Intel 945GSE.

Update to 3.19.0 introduced regression: when I resume from suspend, and Xorg is running and active, system freezes with black screen, cursor doesn't blink, SysRq doesn't work.

I did git bisect, first bad commit is e8115e79aa62b6ebdb3e8e61ca4092cc32938afc (Merge tag 'v3.18-rc7' into drm-next), diff is attached.
Comment 1 maxtram95 2015-04-20 11:11:33 UTC
Created attachment 174541 [details]
Partially revert faulty commit to make resume work again
Comment 2 maxtram95 2015-04-20 11:12:17 UTC
Sorry, my previous git bisect result is incorrect. There was another bug that
also caused hangs on resume.

Now I did git bisect again to catch up only this bug, and it led me to
aaecdf611a05cac26a94713bad25297e60225c29 (drm/i915: Stop gathering error
states for CS error interrupts). Then I tried to compile current master
(09d51602cf84a1264946711dd4ea0dddbac599a1) with the patch that partially reverts bad commit, and all things work. Please review that commit again.

I attach the patch that partially reverts faulty commit and fixes resume on my laptop (MSI Wind U100+) when applied to current master (09d51602cf84a1264946711dd4ea0dddbac599a1).
Comment 3 Jani Nikula 2015-10-07 10:12:18 UTC
We seem to have neglected this bug. Apologies.

If the problem persists with latest kernels, please file a bug at the freedesktop.org bugzilla [1], referencing this bug. Thank you.

[1] https://bugs.freedesktop.org/enter_bug.cgi?product=DRI&component=DRM/Intel