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>
This commit is contained in:
Matt DeVillier 2017-05-27 17:49:21 -05:00 committed by Nico Huber
parent e63ba791dd
commit 17b1a69c52
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ drivers_intel_gma_displays_ssdt_generate(const struct i915_gpu_controller_info *
^^XDSS(0x5a, Arg0) ^^XDSS(0x5a, Arg0)
} }
*/ */
acpigen_write_method("_DSS", 0); acpigen_write_method("_DSS", 1);
acpigen_emit_namestring("^^XDSS"); acpigen_emit_namestring("^^XDSS");
acpigen_write_byte(i); acpigen_write_byte(i);
acpigen_emit_byte(0x68); /* Arg0Op. */ acpigen_emit_byte(0x68); /* Arg0Op. */