Skip to content

Commit a483fca

Browse files
jwrdegoedeArd Biesheuvel
authored andcommitted
efi/bgrt: Drop BGRT status field reserved bits check
Starting with ACPI 6.2 bits 1 and 2 of the BGRT status field are no longer reserved. These bits are now used to indicate if the image needs to be rotated before being displayed. The first device using these bits has now shown up (the GPD MicroPC) and the reserved bits check causes us to reject the valid BGRT table on this device. Rather then changing the reserved bits check, allowing only the 2 new bits, instead just completely remove it so that we do not end up with a similar problem when more bits are added in the future. Signed-off-by: Hans de Goede <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 18df757 commit a483fca

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

drivers/firmware/efi/efi-bgrt.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,6 @@ void __init efi_bgrt_init(struct acpi_table_header *table)
4747
bgrt->version);
4848
goto out;
4949
}
50-
if (bgrt->status & 0xfe) {
51-
pr_notice("Ignoring BGRT: reserved status bits are non-zero %u\n",
52-
bgrt->status);
53-
goto out;
54-
}
5550
if (bgrt->image_type != 0) {
5651
pr_notice("Ignoring BGRT: invalid image type %u (expected 0)\n",
5752
bgrt->image_type);

0 commit comments

Comments
 (0)