aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2014-10-11 18:14:39 +0100
committerFrancis Rowe <info@gluglug.org.uk>2014-10-11 18:16:37 +0100
commit8e626cb8034f030a869c94d13af5ac072a097631 (patch)
tree202df286e5f59b007c558741e9736ed17e5a8748
parent52bdbdda36908c8ea331b2fa28897043e5ded55c (diff)
downloadlibrebootfr-8e626cb8034f030a869c94d13af5ac072a097631.tar.gz
librebootfr-8e626cb8034f030a869c94d13af5ac072a097631.zip
i945 ACPI uneven backlight fix: use coreboot gerrit instead of a diff file.
-rwxr-xr-xgetcb9
-rw-r--r--resources/libreboot/patch/0002_i945_6731_6_extension_fix_uneven_backlight.git.diff22
2 files changed, 3 insertions, 28 deletions
diff --git a/getcb b/getcb
index 032668b6..82a75352 100755
--- a/getcb
+++ b/getcb
@@ -56,6 +56,9 @@ git fetch http://review.coreboot.org/coreboot refs/changes/31/6731/6 && git cher
# Enable T60 native graphics
git fetch http://review.coreboot.org/coreboot refs/changes/45/5345/7 && git cherry-pick FETCH_HEAD
+# ACPI brighness fix: fix uneven backlight on i945 targets:
+git fetch http://review.coreboot.org/coreboot refs/changes/49/7049/1 && git cherry-pick FETCH_HEAD
+
# Apply necessary patches (from resources/libreboot/patch/)
# ---------------------------------------------------------------------------------
@@ -64,7 +67,6 @@ git fetch http://review.coreboot.org/coreboot refs/changes/45/5345/7 && git cher
# copy all the patches here for this release
cp ../resources/libreboot/patch/0000_t60_6723_and_6725_1_extension_textmode.git.diff .
cp ../resources/libreboot/patch/0001_t60_6731_6_extension_acpi_brightness.git.diff .
-cp ../resources/libreboot/patch/0002_i945_6731_6_extension_fix_uneven_backlight.git.diff .
# Add text-mode for T60 (enables text-mode payloads like memtest, seabios, grub invaders, etc)
# Based on 6723 (merged) and 6725/1 from coreboot gerrit site (review.coreboot.org)
@@ -74,14 +76,9 @@ git apply 0000_t60_6723_and_6725_1_extension_textmode.git.diff
# Won't commit to coreboot for this release, since 6731 is currently -2'd in gerrit (on 20140824) and will be improved.
git apply 0001_t60_6731_6_extension_acpi_brightness.git.diff
-# Fix uneven backlight (also removes accoustic noise from (most likely) the inverter board underneath lcd, when reducing brightness)
-# Won't commit to coreboot for this release, since 6731 is currently -2'd in gerrit (on 20140824) and will be improved.
-git apply 0002_i945_6731_6_extension_fix_uneven_backlight.git.diff
-
# delete the copies of the patches (not needed anymore)
rm -rf 0000_t60_6723_and_6725_1_extension_textmode.git.diff
rm -rf 0001_t60_6731_6_extension_acpi_brightness.git.diff
-rm -rf 0002_i945_6731_6_extension_fix_uneven_backlight.git.diff
# Run coreboot-libre deblob scripts
# ---------------------------------------------------------------------------------
diff --git a/resources/libreboot/patch/0002_i945_6731_6_extension_fix_uneven_backlight.git.diff b/resources/libreboot/patch/0002_i945_6731_6_extension_fix_uneven_backlight.git.diff
deleted file mode 100644
index eb8936ec..00000000
--- a/resources/libreboot/patch/0002_i945_6731_6_extension_fix_uneven_backlight.git.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/src/northbridge/intel/i945/acpi/igd.asl b/src/northbridge/intel/i945/acpi/igd.asl
-index 47b66a7..f9c8ef4 100644
---- a/src/northbridge/intel/i945/acpi/igd.asl
-+++ b/src/northbridge/intel/i945/acpi/igd.asl
-@@ -216,14 +216,14 @@ Device (GFX0)
-
- Method (_BCM, 1, NotSerialized)
- {
-- Store (ShiftLeft (Arg0, 4), ^^BCLV)
-+ Store (ShiftLeft (Arg0, 9), ^^BCLV)
- Store (0x80000000, ^^CR1)
-- Store (ShiftLeft (0x61, 4), ^^BCLM)
-+ Store (ShiftLeft (0x61, 9), ^^BCLM)
- }
- Method (_BQC, 0, NotSerialized)
- {
- Store (^^BCLV, Local0)
-- ShiftRight (Local0, 4, Local0)
-+ ShiftRight (Local0, 9, Local0)
- Return (Local0)
- }
-