Attention is currently required from: Nico Huber.
Hello Nico Huber,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/libgfxinit/+/82142?usp=email
to review the following change.
Change subject: gma: Add `eDP' flag to Port_Config ......................................................................
gma: Add `eDP' flag to Port_Config
Start with a simple check if the dedicated eDP port is used. In the future, this might change if another port is used for eDP.
Change-Id: Idd40b4258c08ba88ec7b0ab631e683aba848f9c1 Signed-off-by: Nico Huber nico.huber@secunet.com --- M common/hw-gfx-gma-config_helpers.adb M common/hw-gfx-gma.ads 2 files changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/42/82142/1
diff --git a/common/hw-gfx-gma-config_helpers.adb b/common/hw-gfx-gma-config_helpers.adb index 868d514..d91dfd2 100644 --- a/common/hw-gfx-gma-config_helpers.adb +++ b/common/hw-gfx-gma-config_helpers.adb @@ -218,6 +218,7 @@ Panel => To_Panel (Port), Mode => Mode, Is_FDI => Config.Is_FDI_Port (Port), + Is_eDP => Port = eDP, FDI => Default_DP, DP => Default_DP);
@@ -254,6 +255,7 @@ Panel => No_Panel, Mode => Invalid_Mode, Is_FDI => False, + Is_eDP => False, FDI => Default_DP, DP => Default_DP); end if; diff --git a/common/hw-gfx-gma.ads b/common/hw-gfx-gma.ads index 43e88e1..8ef2247 100644 --- a/common/hw-gfx-gma.ads +++ b/common/hw-gfx-gma.ads @@ -321,6 +321,7 @@ Panel : Panel_Control; Mode : Mode_Type; Is_FDI : Boolean; + Is_eDP : Boolean; FDI : DP_Link; DP : DP_Link; end record;