From 17b1a69c52d5d469f67262d823e2f7219964e3c5 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sat, 27 May 2017 17:49:21 -0500 Subject: [PATCH] gma/acpi: Fix argument count to _DSS MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit As the comment above the change indicates, and per ACPI spec, _DSS has one argument. Change-Id: Ic05832d412cd0c89ed3a275c4db694a9118dac28 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/19952 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Nico Huber --- src/drivers/intel/gma/acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */