From 2ad08f9d720710ba66701860e8188f4bf002b86d Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Mon, 10 Nov 2025 21:36:27 +0000 Subject: [PATCH] drivers/intel/gma: Expose full brightness ladder MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Our 18-entry BRIG table advertised is only a handful of steps and identical AC/DC defaults, so after S3, the OS falls back to the default index if the the cached entry doesn't match. Populate BRIG with the full 0–100 ladder so every cached index corresponds to an actual entry. Change-Id: I319cf3a0ced3bf6021f9e768f0e9bb5529b12ed5 Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/89987 Reviewed-by: Angel Pons Tested-by: build bot (Jenkins) --- .../gma/acpi/default_brightness_levels.asl | 87 ++++++++++++++++++- 1 file changed, 86 insertions(+), 1 deletion(-) diff --git a/src/drivers/intel/gma/acpi/default_brightness_levels.asl b/src/drivers/intel/gma/acpi/default_brightness_levels.asl index 9e8174109f..733b02284e 100644 --- a/src/drivers/intel/gma/acpi/default_brightness_levels.asl +++ b/src/drivers/intel/gma/acpi/default_brightness_levels.asl @@ -4,25 +4,110 @@ Scope (GFX0) { - Name (BRIG, Package (0x12) + Name (BRIG, Package (103) { 100, /* default AC */ 100, /* default Battery */ + 0, + 1, 2, + 3, 4, 5, + 6, 7, + 8, 9, + 10, 11, + 12, 13, + 14, + 15, + 16, + 17, 18, + 19, 20, + 21, + 22, + 23, 24, + 25, + 26, + 27, + 28, 29, + 30, + 31, + 32, 33, + 34, + 35, + 36, + 37, + 38, + 39, 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49, 50, + 51, + 52, + 53, + 54, + 55, + 56, + 57, + 58, + 59, + 60, + 61, + 62, + 63, + 64, + 65, + 66, 67, + 68, + 69, + 70, + 71, + 72, + 73, + 74, + 75, + 76, + 77, + 78, + 79, + 80, + 81, + 82, + 83, + 84, + 85, + 86, + 87, + 88, + 89, + 90, + 91, + 92, + 93, + 94, + 95, + 96, + 97, + 98, + 99, 100, }) }