All of lore.kernel.org
 help / color / mirror / Atom feed
* Panic after S3 resume and modeset with MST
@ 2017-03-27 16:02 Takashi Iwai
  2017-03-27 22:14 ` Lyude Paul
  2017-03-29 13:10 ` Takashi Iwai
  0 siblings, 2 replies; 11+ messages in thread
From: Takashi Iwai @ 2017-03-27 16:02 UTC (permalink / raw)
  To: intel-gfx

Hi,

the upstream fix a16b7658f4e0d4aec9bc3e75a5f0cc3f7a3a0422
    drm/i915: Call intel_dp_mst_resume() before resuming displays

seems to trigger a kernel panic when some modeset change happens after
S3 resume.  The details are found in openSUSE bugzilla,
  https://bugzilla.suse.com/show_bug.cgi?id=1029634

In short, the following procedure causes a kernel panic (supposedly)
almost 100% on Dell Latitude with Skylake with MST DP on dock:

- Boot with a docking station, DP-1 connected.
- Login on X
- xrandr --output eDP-1 --primary --auto --output DP-1-1 --auto --left-of eDP-1
  ==> This changes the mode.
- Suspend ("systemctl suspend" in my case), and close the lid.
- Remove from the dock (keep the lid closed).
- Open the lid, which resumes automatically.  It works.
- Suspend again.
- Connect to the dock again (keep the lid closed).
- Open the lid, which resumes automatically.  It's still OK.
- xrandr --output eDP-1 --primary --auto --output DP-1-1 --auto --left-of eDP-1
  ==> Now the kernel feezes.

Reverting the commit mentioned above fixes the problem.

The problem is present in all versions I tested.  The reported kernel
in the Bugzilla is 4.4.x-based one, but the issue is seen in 4.11-rc3,
too.  Note that the S3 resume itself works in 4.11-rc3; the kernel
panic happens when invoking xrandr manually after that.

Unfortunately, I couldn't get a kernel panic message, so far.  kdump
didn't work well in this case by some reason.  There are some
screenshots taken by the original reporter (could switch VT
beforehand), but I don't know whether it helps.

If you have any hints for further debugging, it'd be highly
appreciated.


thanks,

Takashi
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2017-03-30 20:27 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-27 16:02 Panic after S3 resume and modeset with MST Takashi Iwai
2017-03-27 22:14 ` Lyude Paul
2017-03-29 13:10 ` Takashi Iwai
2017-03-29 13:34   ` Ville Syrjälä
2017-03-29 13:54     ` Takashi Iwai
2017-03-30  0:24       ` Lyude Paul
2017-03-30  5:55         ` Takashi Iwai
2017-03-30 18:07           ` Lyude Paul
2017-03-30 18:50             ` Takashi Iwai
2017-03-30 20:01               ` Lyude Paul
2017-03-30 20:27                 ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.