Bug 91437 - PSR - screen freezes when sound controller power saving is enabled
Summary: PSR - screen freezes when sound controller power saving is enabled
Status: CLOSED DUPLICATE of bug 91436
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: DRI git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-23 10:38 UTC by ivan
Modified: 2017-07-24 22:45 UTC (History)
2 users (show)

See Also:
i915 platform: BDW
i915 features: display/PSR


Attachments
tar.gz with all relevant dmesg and laptop specs (93.97 KB, text/plain)
2015-07-23 10:38 UTC, ivan
no flags Details
patch to mask lpsp back again (2.13 KB, patch)
2015-08-20 16:28 UTC, Rodrigo Vivi
no flags Details | Splinter Review

Description ivan 2015-07-23 10:38:00 UTC
Created attachment 117313 [details]
tar.gz with all relevant dmesg and laptop specs

With PSR enabled, FBC=0, laptop undocked (on AC), the screen goes blank in X (but not in console) when the sound controller power saving is enabled (/sys/module/snd_hda_intel/parameters/power_save = Y)

(I hit bug 91436 but a suspend-resume cycle allows to continue to work with the laptop and do further tests)

A- with snd power saving not configured ("N") when switching to battery, everything's OK. (see folder boot-undocked_ac_fbc0_psr1-hdaN in attached tgz).

B- with snd power saving configured ("Y") when switching to battery, the screen goes blank when I'm in X, but not when I'm in a console. See folder boot-undocked_ac_fbc0_psr1-hdaY in attached tgz:

1-boot_freezeatprompt (bug 91436)
2-after_suspendresume_cycle (workaround to get a functional display)
3-bat-on-console-hdaY (switch to battery when in console)
4-ac-console (switch to AC when in console)
5-bat-X-hdaY (switch to battery when in Xorg)
6-suspend_resume_cycle-still_blank (tried suspend/resume workaround but still blank)
7-movetoconsole_suspendresumecycle-still_blank (switch to console, another suspend/resume cycle test, but still blank).


Hardware: lenovo T450s, model 20BX000TBM (see attached dmidecode and lspci_vv).
OS: Fedora 22, fully updated (as of 2015-07-23)
Kernel: git drm-intel-nightly (as of 2015-07-22 evening). .config attached (config.drm-intel).
Xorg:
- xorg-x11-server-Xorg-1.17.2-1.fc22.x86_64
- xorg-x11-drv-intel-2.99.917-12.20150615.fc22.x86_64
- mesa-dri-drivers-10.6.1-1.20150629.fc22.x86_64


(sorry to attach a tar.gz, too many files to attach).
Comment 1 ivan 2015-07-23 11:18:21 UTC
note: there's a chance that this bug is related to two other bugs (bug 91436 and bug 91438) that I found when trying to debug flickering with Rodrigo Vivi when PSR was enabled.
Comment 2 Rodrigo Vivi 2015-08-20 16:28:26 UTC
Created attachment 117818 [details] [review]
patch to mask lpsp back again

Hi Ivan, 

could you please confirm this patch fixes this issue?

Thanks
Comment 3 ivan 2015-08-28 07:01:58 UTC
note: tested with branch psr-delayed-enable (as of 2015-08-21) but bug 91436 prevents from doing additional tests (no way to "unfreeze" the screen and to test if powering down the audio controller makes the screen freeze again).
Comment 4 Rodrigo Vivi 2015-10-23 23:09:45 UTC
I also believe you wont see this on
display-pm-rework branch...
Please let me know.
Comment 5 Rodrigo Vivi 2015-11-24 15:51:33 UTC
PSR is not dependent anymore from audio driver in our main dev branch (drm-intel-nightly). If you see any issue it is still the same as 91436. 
So closing this for now.

*** This bug has been marked as a duplicate of bug 91436 ***


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.