Bug 112407 - [i915] eDP cannot light up after waking up from suspend the second time.
Summary: [i915] eDP cannot light up after waking up from suspend the second time.
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: high major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard: Triaged
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-27 10:03 UTC by Yvonne
Modified: 2019-11-29 19:52 UTC (History)
2 users (show)

See Also:
i915 platform: CML
i915 features: display/eDP


Attachments
dmesg log (83.78 KB, text/plain)
2019-11-27 10:03 UTC, Yvonne
no flags Details
KCONFIG (140.21 KB, text/plain)
2019-11-28 07:42 UTC, Yvonne
no flags Details
CML-RVP full dmesg (666.31 KB, text/plain)
2019-11-28 07:43 UTC, Yvonne
no flags Details

Description Yvonne 2019-11-27 10:03:08 UTC
Created attachment 146033 [details]
dmesg log

Platform: CML Laptop with ALC711+ ALC1308+ ALC715 in SDW mode

Reproduce Steps:

1.Do system reboot with HDMI/DP external port connected.
2.Enter suspend via "sudo rtcwake -m mem -s 10", and unplug HDMI/DP external port during suspend.
3.Enter suspend again after waking up from suspend in step2

Frequency:100%

Expected result:
After step3, eDP should light up after waking up from suspend.

Actual result:
After step3, eDP cannot light up after waking up from suspend.

Tested it with linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb, issue can still be reproduced.

With HDA legacy driver, same symptom still exist.

Need to fix in graphics driver.
Comment 1 Yvonne 2019-11-27 10:06:20 UTC
linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb can be found in https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4/
Comment 2 Lakshmi 2019-11-27 12:50:25 UTC
(In reply to Yvonne from comment #0)
> Created attachment 146033 [details]
> dmesg log
> 
> Platform: CML Laptop with ALC711+ ALC1308+ ALC715 in SDW mode
> 
> Reproduce Steps:
> 
> 1.Do system reboot with HDMI/DP external port connected.
> 2.Enter suspend via "sudo rtcwake -m mem -s 10", and unplug HDMI/DP external
> port during suspend.
> 3.Enter suspend again after waking up from suspend in step2
> 
> Frequency:100%
> 
> Expected result:
> After step3, eDP should light up after waking up from suspend.
> 
What have you done to make eDP working after step3?

Can you attach the full dmesg from boot with kernel parameters drm.debug=0x1e log_buf_len=4M.

Also, I would recommend to reproduce this issue using drm-tip (https://cgit.freedesktop.org/drm-tip)
Comment 3 Yvonne 2019-11-28 07:40:12 UTC
(In reply to Lakshmi from comment #2)
> (In reply to Yvonne from comment #0)
> > 
> > Expected result:
> > After step3, eDP should light up after waking up from suspend.
> > 
> What have you done to make eDP working after step3?

eDP cannot light up, but remote can connect to system. Issue only can be recovered via reboot. 

> Can you attach the full dmesg from boot with kernel parameters
> drm.debug=0x1e log_buf_len=4M.
> 
> Also, I would recommend to reproduce this issue using drm-tip
> (https://cgit.freedesktop.org/drm-tip)

I tried to reproduce issue with drm-tip (top commit is 20edef7), but with the kconfig I attached, it seems suspend cannot work. System will hang if do suspend via "sudo rtcwake -m mem -s 10" 

Besides, I tried to reproduce this issue on CML RVP with codec ALC700 in SDW mode with linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb, issue can still be reproduced. Full dmesg with kernel parameters drm.debug=0x1e log_buf_len=4M please see the attachment.
Comment 4 Yvonne 2019-11-28 07:42:13 UTC
Created attachment 146039 [details]
KCONFIG
Comment 5 Yvonne 2019-11-28 07:43:09 UTC
Created attachment 146040 [details]
CML-RVP full dmesg
Comment 6 Lakshmi 2019-11-28 13:21:10 UTC
(In reply to Yvonne from comment #3)
> (In reply to Lakshmi from comment #2)
> > (In reply to Yvonne from comment #0)
> > > 
> > > Expected result:
> > > After step3, eDP should light up after waking up from suspend.
> > > 
> > What have you done to make eDP working after step3?
> 
> eDP cannot light up, but remote can connect to system. Issue only can be
> recovered via reboot. 
> 
> > Can you attach the full dmesg from boot with kernel parameters
> > drm.debug=0x1e log_buf_len=4M.
> > 
> > Also, I would recommend to reproduce this issue using drm-tip
> > (https://cgit.freedesktop.org/drm-tip)
> 
> I tried to reproduce issue with drm-tip (top commit is 20edef7), but with
> the kconfig I attached, it seems suspend cannot work. System will hang if do
> suspend via "sudo rtcwake -m mem -s 10" 
> 
> Besides, I tried to reproduce this issue on CML RVP with codec ALC700 in SDW
> mode with
> linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.
> deb, issue can still be reproduced. Full dmesg with kernel parameters
> drm.debug=0x1e log_buf_len=4M please see the attachment.

@Jon, any comments here?
Comment 7 Martin Peres 2019-11-29 19:52:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/intel/issues/653.


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.