[coreboot-gerrit] New patch to review for coreboot: db35aa6 sandybridge/igd: Add brightness register descriptions

Vladimir Serbinenko (phcoder@gmail.com) gerrit at coreboot.org
Sun Jan 5 06:52:56 CET 2014


Vladimir Serbinenko (phcoder at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/4618

-gerrit

commit db35aa6dfdc55e30fc4b93264d0b24f0869a5c5f
Author: Vladimir Serbinenko <phcoder at gmail.com>
Date:   Sun Jan 5 06:52:11 2014 +0100

    sandybridge/igd: Add brightness register descriptions
    
    Needed for brightness control for Lenovo X230
    
    Change-Id: Ib6d127d2e050671dd402c31af06ff4726f65156c
    Signed-off-by: Vladimir Serbinenko <phcoder at gmail.com>
---
 src/northbridge/intel/sandybridge/acpi/igd.asl | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/src/northbridge/intel/sandybridge/acpi/igd.asl b/src/northbridge/intel/sandybridge/acpi/igd.asl
index a6804ad..7d3d4db 100644
--- a/src/northbridge/intel/sandybridge/acpi/igd.asl
+++ b/src/northbridge/intel/sandybridge/acpi/igd.asl
@@ -23,6 +23,23 @@ Device (GFX0)
 {
 	Name (_ADR, 0x00020000)
 
+	OperationRegion (GFXC, PCI_Config, 0x00, 0x0100)
+        Field (GFXC, DWordAcc, NoLock, Preserve)
+        {
+           Offset (0x10),
+	   BAR0, 64
+        }
+
+        OperationRegion (GFRG, SystemMemory, And (BAR0, 0xfffffffffffffff0), 0x400000)
+	Field (GFRG, DWordAcc, NoLock, Preserve)
+        {
+	   Offset (0x48254),
+			BCLV, 16,
+           Offset (0xc8250),
+	                CR1, 32,
+			CR2, 32
+        }
+
 	/* Display Output Switching */
 	Method (_DOS, 1)
 	{



More information about the coreboot-gerrit mailing list