From 64e540a7d87de78e05ff50191b4265ae811fcb19 Mon Sep 17 00:00:00 2001 From: Tarun Tuli Date: Thu, 30 Mar 2023 12:35:42 +0000 Subject: [PATCH] mb/google/brya/acpi: Correct _DSM GPS function for revision check The logic was not equals, rather than the intended greater than or equal to for checking the minimum GPS revision. TEST=version check passes as expected now BUG=b:271938907 Signed-off-by: Tarun Tuli Change-Id: I66bf1fc32295e1b9e9c41c661ea8e395a1592a86 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73897 Tested-by: build bot (Jenkins) Reviewed-by: Eric Lai --- src/mainboard/google/brya/acpi/gpu_top.asl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/google/brya/acpi/gpu_top.asl b/src/mainboard/google/brya/acpi/gpu_top.asl index c98358ff8d..e23e3cfa5e 100644 --- a/src/mainboard/google/brya/acpi/gpu_top.asl +++ b/src/mainboard/google/brya/acpi/gpu_top.asl @@ -85,7 +85,7 @@ Scope (\_SB.PCI0.PEG0) } ElseIf (Arg0 == ToUUID (UUID_GPS)) { - If (ToInteger (Arg1) != REVISION_MIN_GPS) + If (ToInteger (Arg1) >= REVISION_MIN_GPS) { Return (GPS (Arg2, Arg3)) }