summaryrefslogtreecommitdiff
path: root/resources/coreboot/default/patches/0005-lenovo-t400-set-VRAM-to-352MiB-VRAM-by-default.patch
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2021-11-21 15:57:40 +0000
committerLeah Rowe <leah@libreboot.org>2021-11-22 10:03:50 +0000
commiteed25bd2209a4c9f7c21a15689b5c90bd3757a6c (patch)
treee0f7711b5a2f6ffb241f408d59f55fca7fc231c1 /resources/coreboot/default/patches/0005-lenovo-t400-set-VRAM-to-352MiB-VRAM-by-default.patch
parentfd586c8f307d56075b6335920a5d3e13a0c6897b (diff)
update coreboot and nuke tianocore20211122
tianocore is a liability for the libreboot project. it's a bloated mess, and unreliable, broken on many boards, and basically impossible to audit. i don't trust tianocore, so i'm removing it.
Diffstat (limited to 'resources/coreboot/default/patches/0005-lenovo-t400-set-VRAM-to-352MiB-VRAM-by-default.patch')
-rw-r--r--resources/coreboot/default/patches/0005-lenovo-t400-set-VRAM-to-352MiB-VRAM-by-default.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/resources/coreboot/default/patches/0005-lenovo-t400-set-VRAM-to-352MiB-VRAM-by-default.patch b/resources/coreboot/default/patches/0005-lenovo-t400-set-VRAM-to-352MiB-VRAM-by-default.patch
new file mode 100644
index 00000000..d205f2a6
--- /dev/null
+++ b/resources/coreboot/default/patches/0005-lenovo-t400-set-VRAM-to-352MiB-VRAM-by-default.patch
@@ -0,0 +1,27 @@
+From e3b971134ffc2f52e575efe53a571978ed291dc6 Mon Sep 17 00:00:00 2001
+From: Leah Rowe <leah@libreboot.org>
+Date: Fri, 14 May 2021 13:10:33 +0100
+Subject: [PATCH 05/11] lenovo/t400: set VRAM to 352MiB VRAM by default
+
+In the past, this caused stability issues so we set it to 256MiB. Nowadays,
+coreboot has fixed the issue preventing this. See:
+https://review.coreboot.org/c/coreboot/+/16831
+
+So, set the VRAM to 352MiB
+---
+ src/mainboard/lenovo/t400/cmos.default | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/mainboard/lenovo/t400/cmos.default b/src/mainboard/lenovo/t400/cmos.default
+index a326e315b1..e74d15d030 100644
+--- a/src/mainboard/lenovo/t400/cmos.default
++++ b/src/mainboard/lenovo/t400/cmos.default
+@@ -13,4 +13,4 @@ power_management_beeps=Enable
+ low_battery_beep=Enable
+ sata_mode=AHCI
+ hybrid_graphics_mode=Integrated Only
+-gfx_uma_size=32M
++gfx_uma_size=352M
+--
+2.25.1
+