diff options
Diffstat (limited to 'src/northbridge/intel')
-rw-r--r-- | src/northbridge/intel/haswell/gma.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/northbridge/intel/haswell/gma.c b/src/northbridge/intel/haswell/gma.c index 04fa6dacae..31e3cb68d9 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"); |