mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-15 08:20:59 +02:00
99a88ebfa2
Use patchset 15 instead of 14:
config/coreboot/default/patches/0061-WIP-OptiPlex-3050-Micro-port.patch
Rebase the verb patch; patchset 15 modified the Makefile:
config/coreboot/default/patches/0064-dell-optiplex_3050-add-hda_verb.c.patch
We were using patchset 14 for the 3050 micro:
https://review.coreboot.org/c/coreboot/+/82053/14
Now we use patchset 15:
https://review.coreboot.org/c/coreboot/+/82053/15
Without this patch, the fans are always on a low setting, on
the Dell OptiPlex 3050 Micro, even under stress conditions. With
this patch, the fans change speed according to CPU temperature.
I had to rebase my verb patch, because Mate modified the Makefile
to add his sch5555 handler, on the same line where I add hda_verb.
Mate tells me he will merge my verb and vbt patches into a further
patchset later on. For now, I've simply rebased these patches on
top of Mate's newer work; I've told him he can use them in his port.
I'm probably going to now issue a new revision ROM image for
Libreboot 20241008, so that users can get this fix sooner.
Signed-off-by: Leah Rowe <leah@libreboot.org>
52 lines
1.6 KiB
Diff
52 lines
1.6 KiB
Diff
From dba9c3776f90bf345070a90c048ff2bae7180f73 Mon Sep 17 00:00:00 2001
|
|
From: Leah Rowe <info@minifree.org>
|
|
Date: Sat, 6 Apr 2024 01:22:47 +0100
|
|
Subject: [PATCH 36/65] nb/haswell: Fully disable iGPU when dGPU is used
|
|
|
|
My earlier patch disabled decode *and* disabled the iGPU itself, but
|
|
a subsequent revision disabled only VGA decode. Upon revisiting, I
|
|
found that, actually, yes, you also need to disable the iGPU entirely.
|
|
|
|
Tested on Dell 9020 SFF using broadwell MRC, with both iGPU and dGPU.
|
|
With this patch, the iGPU is completely disabled when you install a
|
|
graphics card, but the iGPU is available to use when no graphics card
|
|
is present.
|
|
|
|
For more context, see:
|
|
|
|
Author: Leah Rowe <info@minifree.org>
|
|
Date: Fri Feb 23 13:33:31 2024 +0000
|
|
|
|
nb/haswell: Disable iGPU when dGPU is used
|
|
|
|
And look at the Gerrit comments:
|
|
|
|
https://review.coreboot.org/c/coreboot/+/80717/
|
|
|
|
So, my original submission on change 80717 was actually correct.
|
|
This patch fixes the issue. I tested on iGPU and dGPU, with both
|
|
broadwell and haswell mrc.bin.
|
|
|
|
Signed-off-by: Leah Rowe <info@minifree.org>
|
|
---
|
|
src/northbridge/intel/haswell/gma.c | 3 +++
|
|
1 file changed, 3 insertions(+)
|
|
|
|
diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c
|
|
index f7fad3183d..1b188e92e1 100644
|
|
--- a/src/northbridge/intel/haswell/gma.c
|
|
+++ b/src/northbridge/intel/haswell/gma.c
|
|
@@ -466,6 +466,9 @@ static void gma_func0_disable(struct device *dev)
|
|
{
|
|
/* Disable VGA decode */
|
|
pci_or_config16(pcidev_on_root(0, 0), GGC, 1 << 1);
|
|
+
|
|
+ /* Required or else the graphics card doesn't work */
|
|
+ dev->enabled = 0;
|
|
}
|
|
|
|
static struct device_operations gma_func0_ops = {
|
|
--
|
|
2.39.5
|
|
|