diff options
Diffstat (limited to 'src/drivers/intel')
-rw-r--r-- | src/drivers/intel/gma/acpi/configure_brightness_levels.asl (renamed from src/drivers/intel/gma/acpi/brightness_levels.asl) | 22 | ||||
-rw-r--r-- | src/drivers/intel/gma/acpi/default_brightness_levels.asl | 24 | ||||
-rw-r--r-- | src/drivers/intel/gma/acpi/non-pch.asl | 2 | ||||
-rw-r--r-- | src/drivers/intel/gma/acpi/pch.asl | 2 |
4 files changed, 26 insertions, 24 deletions
diff --git a/src/drivers/intel/gma/acpi/brightness_levels.asl b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl index d0e70a9418..38eb116c67 100644 --- a/src/drivers/intel/gma/acpi/brightness_levels.asl +++ b/src/drivers/intel/gma/acpi/configure_brightness_levels.asl @@ -1,25 +1,3 @@ - Name (BRIG, Package (0x12) - { - 100, /* default AC */ - 100, /* default Battery */ - 2, - 4, - 5, - 7, - 9, - 11, - 13, - 18, - 20, - 24, - 29, - 33, - 40, - 50, - 67, - 100, - }) - Method (XBCM, 1, NotSerialized) { Store (Divide (Multiply (Arg0, BCLM), 100), BCLV) diff --git a/src/drivers/intel/gma/acpi/default_brightness_levels.asl b/src/drivers/intel/gma/acpi/default_brightness_levels.asl new file mode 100644 index 0000000000..6c6f35ee28 --- /dev/null +++ b/src/drivers/intel/gma/acpi/default_brightness_levels.asl @@ -0,0 +1,24 @@ +Scope (GFX0) +{ + Name (BRIG, Package (0x12) + { + 100, /* default AC */ + 100, /* default Battery */ + 2, + 4, + 5, + 7, + 9, + 11, + 13, + 18, + 20, + 24, + 29, + 33, + 40, + 50, + 67, + 100, + }) +} diff --git a/src/drivers/intel/gma/acpi/non-pch.asl b/src/drivers/intel/gma/acpi/non-pch.asl index 0e156272b1..983dc01f10 100644 --- a/src/drivers/intel/gma/acpi/non-pch.asl +++ b/src/drivers/intel/gma/acpi/non-pch.asl @@ -37,6 +37,6 @@ Device (GFX0) BCLM, 16, } -#include "brightness_levels.asl" +#include "configure_brightness_levels.asl" #include "common.asl" } diff --git a/src/drivers/intel/gma/acpi/pch.asl b/src/drivers/intel/gma/acpi/pch.asl index 98746e809d..bd59a43725 100644 --- a/src/drivers/intel/gma/acpi/pch.asl +++ b/src/drivers/intel/gma/acpi/pch.asl @@ -38,6 +38,6 @@ Device (GFX0) BCLM, 16 } -#include "brightness_levels.asl" +#include "configure_brightness_levels.asl" #include "common.asl" } |