Subrata Banik has submitted this change. ( https://review.coreboot.org/c/libgfxinit/+/82142?usp=email )
(
1 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )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 Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/82142 Reviewed-by: Kapil Porwal kapilporwal@google.com Reviewed-by: Angel Pons th3fanbus@gmail.com Tested-by: Dinesh Gehlot digehlot@google.com --- M common/hw-gfx-gma-config_helpers.adb M common/hw-gfx-gma.ads 2 files changed, 3 insertions(+), 0 deletions(-)
Approvals: Kapil Porwal: Looks good to me, approved Angel Pons: Looks good to me, approved Dinesh Gehlot: Verified
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;