summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2017-05-27 17:49:21 -0500
committerNico Huber <nico.h@gmx.de>2017-05-29 14:57:47 +0200
commit17b1a69c52d5d469f67262d823e2f7219964e3c5 (patch)
treeb7710f48ac0e431aabda86785d02a5868ceaeb85 /src
parente63ba791dd7d891f1a60e6f4552f760a4f46b679 (diff)
gma/acpi: Fix argument count to _DSS
As the comment above the change indicates, and per ACPI spec, _DSS has one argument. Change-Id: Ic05832d412cd0c89ed3a275c4db694a9118dac28 Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/19952 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src')
-rw-r--r--src/drivers/intel/gma/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/intel/gma/acpi.c b/src/drivers/intel/gma/acpi.c
index c3a9b8a266..f6516c9926 100644
--- a/src/drivers/intel/gma/acpi.c
+++ b/src/drivers/intel/gma/acpi.c
@@ -122,7 +122,7 @@ drivers_intel_gma_displays_ssdt_generate(const struct i915_gpu_controller_info *
^^XDSS(0x5a, Arg0)
}
*/
- acpigen_write_method("_DSS", 0);
+ acpigen_write_method("_DSS", 1);
acpigen_emit_namestring("^^XDSS");
acpigen_write_byte(i);
acpigen_emit_byte(0x68); /* Arg0Op. */