Bug 94942

Summary: Skylake: PSR not enabled until after suspend/resume
Product: DRI Reporter: Greg White <gwhite>
Component: DRM/IntelAssignee: Jim Bride <jim.bride>
Status: CLOSED WORKSFORME QA Contact: Intel GFX Bugs mailing list <intel-gfx-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: XOrg git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: SKL i915 features: display/PSR, power/suspend-resume
Attachments:
Description Flags
DMesg none

Description Greg White 2016-04-14 23:38:57 UTC
Created attachment 122954 [details]
DMesg

PSR is not enabled until after a suspend/resume cycle.  Dmesg attached.

Before resume:

[root@ringle 0]# cat i915_edp_psr_status 
Sink_Support: yes
Source_OK: no
Enabled: no
Active: no
Busy frontbuffer bits: 0x000
Re-enable work scheduled: no
Main link in standby mode: no
HW Enabled & Active bit: no

After:

[root@ringle 0]# cat i915_edp_psr_status 
Sink_Support: yes
Source_OK: yes
Enabled: yes
Active: yes
Busy frontbuffer bits: 0x000
Re-enable work scheduled: no
Main link in standby mode: no
HW Enabled & Active bit: yes


[root@ringle 0]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 94
model name      : Intel(R) Xeon(R) CPU E3-1505M v5 @ 2.80GHz
stepping        : 3
microcode       : 0x84
cpu MHz         : 858.629
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 22
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
bugs            :
bogomips        : 5615.86
clflush size    : 64
cache_alignment : 64
address sizes   : 39 bits physical, 48 bits virtual
power management:
Comment 1 Jari Tahvanainen 2017-03-27 13:03:35 UTC
Hello Greg. I'm really sorry about this too looong delay until getting back to you. Is this problem still valid with the latest kernel (preferable from drm-tip) ?
Comment 2 Greg White 2017-03-27 17:08:52 UTC
No, I think this has gone away.
Comment 3 yann 2017-03-28 06:48:03 UTC
(In reply to Greg White from comment #2)
> No, I think this has gone away.

Thanks Greg, then closing as worksforme. Please re-open if this is occurring again.

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.