summaryrefslogtreecommitdiff
path: root/config/submodule/coreboot/default/libgfxinit
diff options
context:
space:
mode:
Diffstat (limited to 'config/submodule/coreboot/default/libgfxinit')
-rw-r--r--config/submodule/coreboot/default/libgfxinit/module.cfg2
-rw-r--r--config/submodule/coreboot/default/libgfxinit/patches/0001-g45-hw-gfx-gma-plls.adb-Make-reference-clock-frequen.patch16
-rw-r--r--config/submodule/coreboot/default/libgfxinit/patches/0002-re-try-EDID-reading-when-it-fails.patch10
3 files changed, 14 insertions, 14 deletions
diff --git a/config/submodule/coreboot/default/libgfxinit/module.cfg b/config/submodule/coreboot/default/libgfxinit/module.cfg
index 68bc1054..480ba0f1 100644
--- a/config/submodule/coreboot/default/libgfxinit/module.cfg
+++ b/config/submodule/coreboot/default/libgfxinit/module.cfg
@@ -2,4 +2,4 @@
subgit="https://review.coreboot.org/libgfxinit.git"
subgit_bkup="https://github.com/coreboot/libgfxinit"
-subhash="3c3828add50024e90e57d6fbe0e660d1b66302d9"
+subhash="6e74c703132a8b4af4354a5158f286dc8f2407ab"
diff --git a/config/submodule/coreboot/default/libgfxinit/patches/0001-g45-hw-gfx-gma-plls.adb-Make-reference-clock-frequen.patch b/config/submodule/coreboot/default/libgfxinit/patches/0001-g45-hw-gfx-gma-plls.adb-Make-reference-clock-frequen.patch
index 2d248941..71c34e5a 100644
--- a/config/submodule/coreboot/default/libgfxinit/patches/0001-g45-hw-gfx-gma-plls.adb-Make-reference-clock-frequen.patch
+++ b/config/submodule/coreboot/default/libgfxinit/patches/0001-g45-hw-gfx-gma-plls.adb-Make-reference-clock-frequen.patch
@@ -1,7 +1,7 @@
-From ba078864500de99c26b6ea7e3fdcef19bca582a7 Mon Sep 17 00:00:00 2001
+From 9be431356fce5b70875b938c3fbd6f6927031f23 Mon Sep 17 00:00:00 2001
From: Nicholas Chin <nic.c3.14@gmail.com>
Date: Mon, 20 May 2024 10:10:03 -0600
-Subject: [PATCH 1/1] g45/hw-gfx-gma-plls.adb: Make reference clock frequency
+Subject: [PATCH 1/2] g45/hw-gfx-gma-plls.adb: Make reference clock frequency
configurable
Instead of assuming a 96 MHz reference clock frequency, use the value
@@ -16,7 +16,7 @@ Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/common/g45/hw-gfx-gma-plls.adb b/common/g45/hw-gfx-gma-plls.adb
-index 67242f2..5e970d7 100644
+index 2b93444..38d6dec 100644
--- a/common/g45/hw-gfx-gma-plls.adb
+++ b/common/g45/hw-gfx-gma-plls.adb
@@ -12,6 +12,8 @@
@@ -28,15 +28,15 @@ index 67242f2..5e970d7 100644
with HW.Time;
with HW.GFX.GMA.Config;
with HW.GFX.GMA.Registers;
-@@ -460,7 +462,7 @@ is
- (Display => Port_Cfg.Display,
- Target_Dotclock => Target_Clock,
+@@ -490,7 +492,7 @@ is
+ Calculate_Clock_Parameters
+ (Target_Dotclock => Target_Clock,
-- should be, but doesn't has to be always the same:
- Reference_Clock => 96_000_000,
+ Reference_Clock => CB.Config.INTEL_GMA_DPLL_REF_FREQ,
+ Limits => Select_Limits (Port_Cfg.Display, Target_Clock),
Best_Clock => Clk,
Valid => Success);
- else
--
-2.39.2
+2.47.3
diff --git a/config/submodule/coreboot/default/libgfxinit/patches/0002-re-try-EDID-reading-when-it-fails.patch b/config/submodule/coreboot/default/libgfxinit/patches/0002-re-try-EDID-reading-when-it-fails.patch
index 889218fe..2cc3c0b4 100644
--- a/config/submodule/coreboot/default/libgfxinit/patches/0002-re-try-EDID-reading-when-it-fails.patch
+++ b/config/submodule/coreboot/default/libgfxinit/patches/0002-re-try-EDID-reading-when-it-fails.patch
@@ -1,7 +1,7 @@
-From cbac507d93dc357a75ccc11fdda5c7ed60935538 Mon Sep 17 00:00:00 2001
+From 82f4346eba8fdfb0c11f19a4a0f26bd391c259b4 Mon Sep 17 00:00:00 2001
From: Leah Rowe <leah@libreboot.org>
Date: Sun, 13 Jul 2025 15:18:53 +0100
-Subject: [PATCH 1/1] re-try EDID reading when it fails
+Subject: [PATCH 2/2] re-try EDID reading when it fails
some video converters are a bit buggy and have to be
probed twice; linux works fine, but in these cases,
@@ -18,10 +18,10 @@ Signed-off-by: Leah Rowe <leah@libreboot.org>
1 file changed, 5 insertions(+)
diff --git a/common/hw-gfx-gma-display_probing.adb b/common/hw-gfx-gma-display_probing.adb
-index 67f8ddf..0500217 100644
+index 6908055..abaa2b6 100644
--- a/common/hw-gfx-gma-display_probing.adb
+++ b/common/hw-gfx-gma-display_probing.adb
-@@ -122,6 +122,11 @@ is
+@@ -140,6 +140,11 @@ is
Read_EDID (Raw_EDID, Port, Success);
end if;
@@ -34,5 +34,5 @@ index 67f8ddf..0500217 100644
((not Is_DVI_I (Port) or EDID.Compatible_Display
(Raw_EDID, Config_Helpers.To_Display_Type (Port))) and
--
-2.39.5
+2.47.3