[coreboot-gerrit] Patch set updated for coreboot: gma ACPI: Make brightness levels overwritable

Nico Huber (nico.h@gmx.de) gerrit at coreboot.org
Thu Sep 24 16:47:43 CET 2015


Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/11705

-gerrit

commit 3e9adfaeee94449d3e4e1a4d6d34102ec5b5c241
Author: Nico Huber <nico.huber at secunet.com>
Date:   Thu Aug 27 13:31:46 2015 +0200

    gma ACPI: Make brightness levels overwritable
    
    Those are actually board specific. Keep the old value as defaults,
    though.
    
    Change-Id: Ib865c7b4274f2ea3181a89fc52701b740f9bab7d
    Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
 src/drivers/intel/gma/acpi/brightness_levels.asl | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/drivers/intel/gma/acpi/brightness_levels.asl b/src/drivers/intel/gma/acpi/brightness_levels.asl
index d0e70a9..9f3cb35 100644
--- a/src/drivers/intel/gma/acpi/brightness_levels.asl
+++ b/src/drivers/intel/gma/acpi/brightness_levels.asl
@@ -1,5 +1,8 @@
-	Name (BRIG, Package (0x12)
+	Name (BRIG, Package ()
 	{
+#ifdef INTEL_GMA_BRIGHTNESS_LEVELS
+		INTEL_GMA_BRIGHTNESS_LEVELS
+#else
 		100, /* default AC */
 		100, /* default Battery */
 		  2,
@@ -18,6 +21,7 @@
 		 50,
 		 67,
 		100,
+#endif
 	})
 
 	Method (XBCM, 1, NotSerialized)



More information about the coreboot-gerrit mailing list