Angel Pons has uploaded this change for review. ( https://review.coreboot.org/c/libgfxinit/+/46632 )
Change subject: [HACK] Implement WaHardHangonHotPlug: cnp ......................................................................
[HACK] Implement WaHardHangonHotPlug: cnp
Change-Id: I861a1f4c7257dbe40af64c7aafac7add94651dfd Signed-off-by: Angel Pons th3fanbus@gmail.com --- M common/haswell_shared/hw-gfx-gma-port_detect.adb 1 file changed, 9 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/libgfxinit refs/changes/32/46632/1
diff --git a/common/haswell_shared/hw-gfx-gma-port_detect.adb b/common/haswell_shared/hw-gfx-gma-port_detect.adb index 5765941..18d5402 100644 --- a/common/haswell_shared/hw-gfx-gma-port_detect.adb +++ b/common/haswell_shared/hw-gfx-gma-port_detect.adb @@ -29,6 +29,8 @@
SHOTPLUG_CTL_DETECT_MASK : constant := 16#0303_0303#;
+ CHASSIS_CLK_REQ_DURATION_MASK : constant := 16#f# * 2 ** 8 + type Digital_Port_Value is array (Digital_Port) of Word32; DDI_PORT_DETECTED : constant Digital_Port_Value := (DIGI_B => 1 * 2 ** 2, @@ -87,6 +89,13 @@ Config.Valid_Port (Analog) := not (DDI_A_X4 or DAC_Disabled); end if;
+ -- Display WA #1179 WaHardHangonHotPlug: cnp + if Config.CPU_Coffeelake then + Registers.Set_Mask + (Register => PCH_FDI_CHICKEN_B_C, + Mask => CHASSIS_CLK_REQ_DURATION_MASK); + end if; + -- DDI_A if Config.Has_Presence_Straps and not Config.Ignore_Presence_Straps then Registers.Is_Set_Mask