[PATCH] drm/fbdev: Make skip_vt_switch the default

Michel Dänzer michel at daenzer.net
Tue Nov 27 17:24:17 UTC 2018


On 2018-11-27 6:09 p.m., Daniel Vetter wrote:
> KMS drivers really should all be able to restore their display state
> on resume without fbcon helping out. So make this the default.
> 
> Since I'm not entirely foolish, make it only a default, which drivers
> can still override. That way when the inevitable regression report
> happens I can fix things up with a one-liner plus FIXME comment that
> someone should fix up the suspend/resume code in that driver.
> 
> But at least all new drivers won't be broken by accident because
> "suspend/resume worked when I tested it" as soon as you turn off
> fbcon.

The radeon driver probably needs to override this, per the bug reports
referenced in commit 18c437caa5b1 'Revert "drm/radeon: dont switch vt on
suspend"'.


-- 
Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer


More information about the dri-devel mailing list