Bug 69166 - [Baytrail-M] Monitor can't light up after resuming from S3
Summary: [Baytrail-M] Monitor can't light up after resuming from S3
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other All
: high major
Assignee: Jesse Barnes
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-10 07:39 UTC by shui yangwei
Modified: 2017-10-06 14:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
dmesg: monitor fail to display after resuming from S3 (122.22 KB, text/plain)
2013-09-10 07:39 UTC, shui yangwei
no flags Details
dmesg: remove i915 have the same issue (60.06 KB, text/plain)
2013-09-10 08:12 UTC, shui yangwei
no flags Details

Description shui yangwei 2013-09-10 07:39:51 UTC
Created attachment 85534 [details]
dmesg: monitor fail to display after resuming from S3

Environment:
----------------------------
Kernel: (drm-intel-next-queued)da66146425c3136943452988afd3d64cd551da58
Author: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Date:   Fri Sep 6 16:03:28 2013 +0300
    drm/i915: include hangcheck action and score in error_state

lspci:
----------------------------
00:02.0 VGA compatible controller: Intel Corporation ValleyView Gen7 (rev 0a)

Description && Steps:
----------------------------
1. Boot up machine, and the monitor displayed well.
2. Then do S3(echo mem >/sys/power/state), push the power button to resume.
3. After machine resumed successfully and can be connected, but the monitor is black screen.
4. removed i915, this issue also exists.
5. Other platforms don't have this problem.
Comment 1 Daniel Vetter 2013-09-10 07:46:21 UTC
Does this happen for all types of output (DP, VGA, HDMI, eDP) or just a few? For external outputs, does it also happen with different monitor models with the same connector type?

Note: In dmesg we have tons of DP link train failures, so I guess this is about DP.
Comment 2 shui yangwei 2013-09-10 08:12:12 UTC
Created attachment 85539 [details]
dmesg: remove i915 have the same issue

I append the dmesg without i915 loaded here.
Comment 3 shui yangwei 2013-09-10 08:47:44 UTC
(In reply to comment #1)
> Does this happen for all types of output (DP, VGA, HDMI, eDP) or just a few?
> For external outputs, does it also happen with different monitor models with
> the same connector type?
> 
> Note: In dmesg we have tons of DP link train failures, so I guess this is
> about DP.

eDP && VGA pipe:
I tried it on different monitor, all of them have the same issue.

DP && HDMI pipe:
These two kind of pipes even can't light up when machine boot up, but reachable. I have tried many different monitor, all of them are black screen.
Comment 4 shui yangwei 2013-09-10 09:38:14 UTC
Our machine doesn't support DP and HDMI. I have asked my partner who owner this machine.
Comment 5 shui yangwei 2013-09-24 03:42:32 UTC
Today I find our machine can't resume from S3/S4, it hangs there. Turn back to test the kernel which I reported with, it also doesn't work now. Older kernels are bad too. I find a NOTOURBUG which is reported by Kobeqin, the result is the same with it:  Bug #67731 - [Baytrail-M] system can't resume from S3/S4 .
Comment 6 shui yangwei 2013-09-25 04:35:46 UTC
(In reply to comment #5)
> Today I find our machine can't resume from S3/S4, it hangs there. Turn back
> to test the kernel which I reported with, it also doesn't work now. Older
> kernels are bad too. I find a NOTOURBUG which is reported by Kobeqin, the
> result is the same with it:  Bug #67731 - [Baytrail-M] system can't resume
> from S3/S4 .

Sorry, our machine is unstable, S3/S4 are able to resume today. So this bug will not be blocked now. Further testing is on the way, if there's any issue, I will comment in the first time.
Comment 7 Jesse Barnes 2013-09-26 21:39:44 UTC
Can you give this patch a try?

http://lists.freedesktop.org/archives/intel-gfx/2013-September/033970.html
Comment 8 shui yangwei 2013-09-27 01:59:40 UTC
(In reply to comment #7)
> Can you give this patch a try?
> 
> http://lists.freedesktop.org/archives/intel-gfx/2013-September/033970.html

Test this patch on latest -next-queued, it works well. The monitor can display correctly when machine resume from S3.
Comment 9 Jesse Barnes 2013-10-04 16:45:18 UTC
commit 40e9cf649a88abea96d5756aa6f86e89cfabde6e
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Oct 3 11:35:46 2013 -0700

    drm/i915/vlv: reset DPIO on load and resume v2

Note for the backlight we may still have an issue if the panel is on the second pipe.
Comment 10 shui yangwei 2013-10-08 04:25:30 UTC
(In reply to comment #9)
> commit 40e9cf649a88abea96d5756aa6f86e89cfabde6e
> Author: Jesse Barnes <jbarnes@virtuousgeek.org>
> Date:   Thu Oct 3 11:35:46 2013 -0700
> 
>     drm/i915/vlv: reset DPIO on load and resume v2
> 
> Note for the backlight we may still have an issue if the panel is on the
> second pipe.

This issue is gone. verified here.
Comment 11 Elizabeth 2017-10-06 14:43:16 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.