[coreboot-gerrit] New patch to review for coreboot: 8a7c0bd Northbridge: i945: Native VGA init: use UMA address

Denis Carikli (GNUtoo@no-log.org) gerrit at coreboot.org
Sun May 25 11:15:55 CEST 2014


Denis Carikli (GNUtoo at no-log.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5859

-gerrit

commit 8a7c0bdb1a4d771275c8cbfe8f023e708f9c3e04
Author: Peter Stuge <peter at stuge.se>
Date:   Mon Oct 28 08:09:26 2013 +0100

    Northbridge: i945: Native VGA init: use UMA address
    
    The patch was made by Peter Stuge, I just split it
      and added a commit message.
    
    TODO: make GTT use uma_memory_size.
    
    Change-Id: I31b16de9d44553ae443fb95ffeebf997f6db4869
    Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 src/northbridge/intel/i945/gma.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index 6511b65..c483fc3 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -56,11 +56,10 @@ static void gma_func0_init(struct device *dev)
 
 	iobase = dev->resource_list[1].base;
 	mmiobase = dev->resource_list[0].base;
-	physbase = pci_read_config32(dev, 0x5c) & ~0xf;
 	graphics_base = dev->resource_list[2].base + 0x20000;
 
 	int i915lightup(u32 physbase, u32 iobase, u32 mmiobase, u32 gfx);
-	i915lightup(physbase, iobase, mmiobase, graphics_base);
+	i915lightup(uma_memory_base+256*KiB, iobase, mmiobase, graphics_base);
 #endif
 
 }



More information about the coreboot-gerrit mailing list