gma: Update PCH Rawclk programming for TGL
Tigerlake onwards needs the Rawclk numerator programmed into the
RAWCLK register in addition the fields from to prior generations.
Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Change-Id: Iad36221a44db4128332392bd6610132ea08c0e35
Reviewed-on: https://review.coreboot.org/c/libgfxinit/+/67491
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: Nico Huber <nico.h@gmx.de>
diff --git a/common/hw-gfx-gma-config.ads.template b/common/hw-gfx-gma-config.ads.template
index e759a0c..a2bc2e8 100644
--- a/common/hw-gfx-gma-config.ads.template
+++ b/common/hw-gfx-gma-config.ads.template
@@ -293,6 +293,9 @@
----------- Type-C: ----------
Has_Type_C_Ports : <genbool> := Tigerlake_On;
+ ----------- Rawclk -----------
+ Need_Rawclk_Numerator : <genbool> := Tigerlake_On;
+
----------------------------------------------------------------------------
Max_Pipe : <ilkvar> Pipe_Index :=