diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2024-01-26 14:57:11 -0600 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2024-02-13 19:10:23 +0000 |
commit | 32d679e8a423e1aa5aec4f262a69396eaa9d2476 (patch) | |
tree | 4aef04c7f914827fcdc19093983a6812a73e202d /src/mainboard/google/hatch/variants | |
parent | 99e46b004c5e94c376db64a7eb7009cb27d1594e (diff) |
drivers/gfx/generic: Add display type field
Add an enum for the Display Type, which if set, can be used to generate
the Device ID value dynamically when the addr field is not set. This
will allow devicetree entries to specify the display type instead of
a hex value for the address which requires referencing the ACPI spec
to decode.
For an internal panel connected to the first port on the graphics chip,
currently an addr value of 0x80010400 is specified. Replacing the
'addr' field with the 'type' field and setting it to 'panel' will
generate the same DID value.
Change-Id: Id0294a14606b410a13fa22eeb240df9e409a7ca3
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/80199
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/mainboard/google/hatch/variants')
0 files changed, 0 insertions, 0 deletions