UPSTREAM: nb/intel/haswell: Hook up libgfxinit
BUG=None BRANCH=None TEST=None Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/17915 Tested-by: build bot (Jenkins) Reviewed-by: Nico Huber <nico.h@gmx.de> Change-Id: I55e2d99b3f9929703f34d268f4490f3c5c2c766f Reviewed-on: https://chromium-review.googlesource.com/422952 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
16bafecfaa
commit
b5f8028a52
1 changed files with 8 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue