[coreboot-gerrit] Change in libgfxinit[master]: gma config: Introduce Has_Ivy_Bridge_FDI
Nico Huber (Code Review)
gerrit at coreboot.org
Wed Jun 13 01:27:35 CEST 2018
Nico Huber has uploaded this change for review. ( https://review.coreboot.org/27052
Change subject: gma config: Introduce Has_Ivy_Bridge_FDI
......................................................................
gma config: Introduce Has_Ivy_Bridge_FDI
Change-Id: I2adeaef88fb79c40e999d0857f927ffe82a9c41b
Signed-off-by: Nico Huber <nico.h at gmx.de>
---
M common/hw-gfx-gma-config.ads.template
M common/ironlake/hw-gfx-gma-connectors-fdi.adb
2 files changed, 2 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/52/27052/1
diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template
index 8a1cc16..f743957 100644
--- a/common/hw-gfx-gma-config.ads.template
+++ b/common/hw-gfx-gma-config.ads.template
@@ -90,6 +90,7 @@
Has_Original_ILK_Trans : constant Boolean := CPU = Ironlake;
Has_Trans_DP_Ctl : constant Boolean := CPU in
Sandybridge .. Ivybridge;
+ Has_Ivy_Bridge_FDI : constant Boolean := CPU = Ivybridge;
Has_FDI_C : constant Boolean := CPU = Ivybridge;
Has_FDI_RX_Power_Down : constant Boolean := CPU in Haswell .. Broadwell;
diff --git a/common/ironlake/hw-gfx-gma-connectors-fdi.adb b/common/ironlake/hw-gfx-gma-connectors-fdi.adb
index f38c135..6a41d21 100644
--- a/common/ironlake/hw-gfx-gma-connectors-fdi.adb
+++ b/common/ironlake/hw-gfx-gma-connectors-fdi.adb
@@ -40,7 +40,7 @@
FDI_TX_CTL_AUTO_TRAIN_ENABLE : constant := 1 * 2 ** 10;
FDI_TX_CTL_AUTO_TRAIN_DONE : constant := 1 * 2 ** 1;
- TP_SHIFT : constant := (if Config.CPU <= Sandybridge then 28 else 8);
+ TP_SHIFT : constant := (if Config.Has_Ivy_Bridge_FDI then 8 else 28);
FDI_TX_CTL_TRAINING_PATTERN_MASK : constant := 3 * 2 ** TP_SHIFT;
FDI_TX_CTL_TRAINING_PATTERN_1 : constant := 0 * 2 ** TP_SHIFT;
FDI_TX_CTL_TRAINING_PATTERN_2 : constant := 1 * 2 ** TP_SHIFT;
--
To view, visit https://review.coreboot.org/27052
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings
Gerrit-Project: libgfxinit
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2adeaef88fb79c40e999d0857f927ffe82a9c41b
Gerrit-Change-Number: 27052
Gerrit-PatchSet: 1
Gerrit-Owner: Nico Huber <nico.h at gmx.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180612/2d59adf7/attachment-0001.html>
More information about the coreboot-gerrit
mailing list