UPSTREAM: gma/acpi: Fix argument count to _DSS

As the comment above the change indicates, and per ACPI spec,
_DSS has one argument.

BUG=none
BRANCH=none
TEST=none

Change-Id: I54e32bf6a81cf577a6a39166bce7e781bcbe0fe6
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: 17b1a69c52
Original-Change-Id: Ic05832d412cd0c89ed3a275c4db694a9118dac28
Original-Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Original-Reviewed-on: https://review.coreboot.org/19952
Original-Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Original-Reviewed-by: Philippe Mathieu-Daud <philippe.mathieu.daude@gmail.com>
Original-Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://chromium-review.googlesource.com/517790
This commit is contained in:
Matt DeVillier 2017-05-27 17:49:21 -05:00 committed by chrome-bot
parent e76798a409
commit e6eadad09b

View file

@ -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. */