https://github.com/torvalds/linux
Revision 634ffcccfbe59d77652804e1beb415d3329b1bc6 authored by Ben Skeggs on 01 October 2014, 01:11:25 UTC, committed by Ben Skeggs on 02 October 2014, 03:32:24 UTC
Preparation for some runtime pm fixes.  Currently we skip over fbcon
suspend/resume in the runtime path, which causes issues on resume if
fbcon tries to write to the framebuffer before the BAR subdev has
been resumed to restore the BAR1 VM setup.

As we might be woken up via a sysfs connector, we are unable to call
fb_set_suspend() in the resume path as it could make its way down to
a modeset and cause all sorts of locking hilarity.

To solve this, we'll just delay the fbcon resume to a workqueue.

Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
1 parent f2f9a2c
History
Tip revision: 634ffcccfbe59d77652804e1beb415d3329b1bc6 authored by Ben Skeggs on 01 October 2014, 01:11:25 UTC
drm/nouveau: punt fbcon resume out to a workqueue
Tip revision: 634ffcc

back to top