[coreboot-gerrit] New patch to review for coreboot: 5271de5 Northbridge: i945: Native VGA init: print the GMA and GTT addresses

Denis Carikli (GNUtoo@no-log.org) gerrit at coreboot.org
Sun May 25 11:15:56 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/5860

-gerrit

commit 5271de566763335314e613dd6d306423ee58d057
Author: Peter Stuge <peter at stuge.se>
Date:   Sat Jun 8 01:31:44 2013 +0200

    Northbridge: i945: Native VGA init: print the GMA and GTT addresses
    
    The patch was made by Peter Stuge, I just split it
      and added a commit message.
    
    Change-Id: Iee4c381671c7ee49835f04243da93c4910b0360f
    Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 src/northbridge/intel/i945/gma.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/northbridge/intel/i945/gma.c b/src/northbridge/intel/i945/gma.c
index c483fc3..17761dc 100644
--- a/src/northbridge/intel/i945/gma.c
+++ b/src/northbridge/intel/i945/gma.c
@@ -58,6 +58,11 @@ static void gma_func0_init(struct device *dev)
 	mmiobase = dev->resource_list[0].base;
 	graphics_base = dev->resource_list[2].base + 0x20000;
 
+	printk(BIOS_SPEW, "GMADR=0x%08x GTTADR=0x%08x\n",
+		pci_read_config32(dev, 0x18),
+		pci_read_config32(dev, 0x1c)
+	);
+
 	int i915lightup(u32 physbase, u32 iobase, u32 mmiobase, u32 gfx);
 	i915lightup(uma_memory_base+256*KiB, iobase, mmiobase, graphics_base);
 #endif



More information about the coreboot-gerrit mailing list