dp_info: read eDP 1.4+ DPCD link rates
This is required for google/eve (Pixelbook), where only this new
method of reporting the link rate is supported, and the
Max_Link_Rate in the regular DPCD struct is 0x00.
Change-Id: I52b4d8ad94564904854b502f300b812c41a9751a
Signed-off-by: Greg V <greg@unrelenting.technology>
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/35869
Tested-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/hw-gfx-gma-connector_info.adb b/common/hw-gfx-gma-connector_info.adb
index e8357be..3ce807e 100644
--- a/common/hw-gfx-gma-connector_info.adb
+++ b/common/hw-gfx-gma-connector_info.adb
@@ -51,6 +51,10 @@
Port => DP_Port,
Success => Success);
if Success then
+ DP_Info.Read_eDP_Rates
+ (Link => Port_Cfg.DP,
+ Port => DP_Port);
+
DP_Info.Preferred_Link_Setting
(Link => Port_Cfg.DP,
Mode => Port_Cfg.Mode,