Skip to content

two-step: Add support for firmware-splashes with rotation status bits set

Hans de Goede requested to merge jwrdegoede/plymouth:twostep-bgrt-fix into master

Before the ACPI 6.2 specification, the BGRT table did not contain any rotation information, so to make sure that the firmware-splash showed the right way up the firmware would contain a pre-rotated image and our BGRT / firmware-splash loading code assumed this is alwast true.

Starting with ACPI 6.2 tge bgrt status fields has 2 bits to tell the firmware the image needs to be rotated before being displayed. If these bits are set then the firmwares-splash is not pre-rotated and we must handle it differently.

This commit adds support for reading the new rotation bits from the sysfs bgrt/status file and adds handling for the case where the bits indicate that the image is not pre-rotated.

Signed-off-by: Hans de Goede hdegoede@redhat.com

Merge request reports