aboutsummaryrefslogtreecommitdiff
path: root/resources/libreboot/patch/0020-gm45-fix-uneven-backlight-native-gfx-init.patch
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-11 20:39:41 +0100
committerFrancis Rowe <info@gluglug.org.uk>2015-05-11 20:39:41 +0100
commit99acc1a92ca50b861da4406f0e8dd6c8af4c7e62 (patch)
treeec3774a9bced18f0a68883b150dce1872c87c5cf /resources/libreboot/patch/0020-gm45-fix-uneven-backlight-native-gfx-init.patch
parentdc322fb4521a4088c3f5ec41825c2508740ef8c1 (diff)
downloadlibrebootfr-99acc1a92ca50b861da4406f0e8dd6c8af4c7e62.tar.gz
librebootfr-99acc1a92ca50b861da4406f0e8dd6c8af4c7e62.zip
scripts/download/coreboot: use diffs, not gerrit
Solves the problem where coreboot.org down down makes libreboot.git useless. Now if coreboot.org goes down, you can just use a backup coreboot repository and then run the script.
Diffstat (limited to 'resources/libreboot/patch/0020-gm45-fix-uneven-backlight-native-gfx-init.patch')
-rw-r--r--resources/libreboot/patch/0020-gm45-fix-uneven-backlight-native-gfx-init.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/resources/libreboot/patch/0020-gm45-fix-uneven-backlight-native-gfx-init.patch b/resources/libreboot/patch/0020-gm45-fix-uneven-backlight-native-gfx-init.patch
new file mode 100644
index 00000000..a2afa531
--- /dev/null
+++ b/resources/libreboot/patch/0020-gm45-fix-uneven-backlight-native-gfx-init.patch
@@ -0,0 +1,41 @@
+From 512caf2594be34e07383b8a5d5e9e2013c6e2067 Mon Sep 17 00:00:00 2001
+From: Francis Rowe <info@gluglug.org.uk>
+Date: Mon, 29 Dec 2014 21:02:48 +0000
+Subject: [PATCH 20/22] gm45: fix uneven backlight (native gfx init)
+
+When setting brightness levels low, backlight becomes uneven.
+This patch fixes that.
+
+Tested on X200.
+
+Change-Id: Ie71bf696ba4431ab25076f92dd5fdc9fdc167b09
+Signed-off-by: Francis Rowe <info@gluglug.org.uk>
+---
+ src/northbridge/intel/gm45/acpi/igd.asl | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/src/northbridge/intel/gm45/acpi/igd.asl b/src/northbridge/intel/gm45/acpi/igd.asl
+index 199765b..6f0eb8c 100644
+--- a/src/northbridge/intel/gm45/acpi/igd.asl
++++ b/src/northbridge/intel/gm45/acpi/igd.asl
+@@ -206,14 +206,14 @@ Device (GFX0)
+
+ Method (_BCM, 1, NotSerialized)
+ {
+- Store (ShiftLeft (Arg0, 4), ^^BCLV)
++ Store (ShiftLeft (Arg0, 8), ^^BCLV)
+ Store (0x80000000, ^^CR1)
+- Store (0x0610, ^^BCLM)
++ Store (ShiftLeft (0x61, 8), ^^BCLM)
+ }
+ Method (_BQC, 0, NotSerialized)
+ {
+ Store (^^BCLV, Local0)
+- ShiftRight (Local0, 4, Local0)
++ ShiftRight (Local0, 8, Local0)
+ Return (Local0)
+ }
+
+--
+1.9.1
+