[coreboot-gerrit] Patch set updated for coreboot: nb/intel/haswell: Hook up libgfxinit

Arthur Heymans (arthur@aheymans.xyz) gerrit at coreboot.org
Sun Dec 18 23:49:14 CET 2016


Arthur Heymans (arthur at aheymans.xyz) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17915

-gerrit

commit 6d455d9761518e2e275f346b1ab0dfcf67481ae9
Author: Arthur Heymans <arthur at aheymans.xyz>
Date:   Sun Dec 18 16:03:52 2016 +0100

    nb/intel/haswell: Hook up libgfxinit
    
    Change-Id: I55e2d99b3f9929703f34d268f4490f3c5c2c766f
    Signed-off-by: Arthur Heymans <arthur at aheymans.xyz>
---
 src/northbridge/intel/haswell/gma.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c
index 04fa6da..31e3cb6 100644
--- a/src/northbridge/intel/haswell/gma.c
+++ b/src/northbridge/intel/haswell/gma.c
@@ -459,8 +459,14 @@ static void gma_func0_init(struct device *dev)
 #if IS_ENABLED(CONFIG_CHROMEOS)
 	init_fb = display_init_required();
 #endif
-	lightup_ok = panel_lightup(&dp, init_fb);
-		gfx_set_init_done(1);
+	if (IS_ENABLED(CONFIG_MAINBOARD_USE_LIBGFXINIT)) {
+		gma_gfxinit(gtt_res->base, (u32)dp.graphics,
+			dp.physbase, &lightup_ok);
+	} else {
+		lightup_ok = panel_lightup(&dp, init_fb);
+	}
+
+	gfx_set_init_done(1);
 #endif
 	if (! lightup_ok) {
 		printk(BIOS_SPEW, "FUI did not run; using VBIOS\n");



More information about the coreboot-gerrit mailing list