Skip to content

drm: use preferred mode for outputs

Hans de Goede requested to merge jwrdegoede/plymouth:drm-preferred-mode into master

When enumerating outputs pick the preferred mode instead of the current active mode, which may be e.g. a very low res mode.

Sofar we've been relying on fbcon setting up the modes for us, but as mentioned in https://bugs.freedesktop.org/show_bug.cgi?id=101520#c22 we really should not rely on this.

With the recent flickerfree boot changes we can no longer rely on fbcon to do the setup for us, hence this commit. For now this commit only changes the mode-picking logic on UEFI setups as we only have flickerfree boot there. Once the setup code is more mature we should probably always use it.

Closes #68 (closed)

Merge request reports