summaryrefslogtreecommitdiff
path: root/src/lib/prog_ops.c
diff options
context:
space:
mode:
authorMatt DeVillier <matt.devillier@gmail.com>2024-01-16 18:46:20 -0600
committerFelix Held <felix-coreboot@felixheld.de>2024-01-25 14:50:49 +0000
commitcf29efabbad08098e8f0b51eb25c22661dd62ba5 (patch)
tree172437bd3eadca117801feea9ecf7e636e60a76f /src/lib/prog_ops.c
parentb6cbfa977f63d57d5d6b9e9f7c1cef30162f575a (diff)
mb/google/brya/var/*: Ensure LCD device has a valid address
Some variants added the generic gfx driver with an LCD device without specifying the address, which is required for the backlight controls to be functional under Windows. Add the address value where missing. Address value used (0x80010400) is same as on other Brya variants which did properly set it, and is taken from the ACPI 6.5 spec section B.4.2, _DOD (display output device enumeration), table B-2: - bit 31 = use the ACPI-defined (vs vendor-defined) bit scheme for bits 15-0 - bit 16 = platform firmware can detect the device - bit 10 = display type is internal/integrated flat panel (aka LCD) TEST=build/boot Win11 on google/brya (osiris), verify ACPI backlight controls functional. Change-Id: Id24e330cfb7c993d12665a704e1ca78e2e38874f Signed-off-by: Matt DeVillier <matt.devillier@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80062 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <ericllai@google.com>
Diffstat (limited to 'src/lib/prog_ops.c')
0 files changed, 0 insertions, 0 deletions