[coreboot-gerrit] Patch set updated for coreboot: nb/intel/945gc: Hardcode the integrated graphic frequencies
Arthur Heymans (arthur@aheymans.xyz)
gerrit at coreboot.org
Wed Dec 28 21:27:16 CET 2016
Arthur Heymans (arthur at aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17981
-gerrit
commit eb0850f732686e570142d97ca79c5beb27d39aa2
Author: Arthur Heymans <arthur at aheymans.xyz>
Date: Wed Dec 28 21:20:45 2016 +0100
nb/intel/945gc: Hardcode the integrated graphic frequencies
Recently the display output gets corrupted as soon as Linux (at least
on 4.8) modesets the display.
A fix is to hardcode the core display and render clocks to their
maximum, potentially also improving graphical performance.
TESTED on P5GC-MX.
Change-Id: I8b046edbc952631d9b79023e3d385160ff682c24
Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
src/northbridge/intel/i945/raminit.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/northbridge/intel/i945/raminit.c b/src/northbridge/intel/i945/raminit.c
index a4a1eaf..1de29fc 100644
--- a/src/northbridge/intel/i945/raminit.c
+++ b/src/northbridge/intel/i945/raminit.c
@@ -3116,8 +3116,14 @@ void sdram_initialize(int boot_path, const u8 *spd_addresses)
/* Program PLL settings */
sdram_program_pll_settings(&sysinfo);
- /* Program Graphics Frequency */
- sdram_program_graphics_frequency(&sysinfo);
+ /*
+ * Program Graphics Frequency
+ * Set core display and rendor clock on 945GC to the max
+ */
+ if (IS_ENABLED(CONFIG_NORTHBRIDGE_INTEL_SUBTYPE_I945GM))
+ sdram_program_graphics_frequency(&sysinfo);
+ else
+ pci_write_config16(PCI_DEV(0, 2, 0), GCFC, 0x0534);
/* Program System Memory Frequency */
sdram_program_memory_frequency(&sysinfo);
More information about the coreboot-gerrit
mailing list