libgfxinit: Enable G45 support (for GM45/X4X)
Change-Id: Ia637d32ffaa5d280320955d34141eddc8b7df981 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/22222 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
@@ -35,6 +35,7 @@
|
||||
#include <drivers/intel/gma/opregion.h>
|
||||
#include <pc80/vga.h>
|
||||
#include <pc80/vga_io.h>
|
||||
#include <drivers/intel/gma/libgfxinit.h>
|
||||
|
||||
#define BASE_FREQUENCY 96000
|
||||
|
||||
@@ -770,8 +771,12 @@ static void gma_func0_init(struct device *dev)
|
||||
/* Post VBIOS init */
|
||||
gma_pm_init_post_vbios(dev, edid_lvds.ascii_string);
|
||||
|
||||
if (IS_ENABLED(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT))
|
||||
if (IS_ENABLED(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT)) {
|
||||
gma_ngi(dev, &edid_lvds);
|
||||
} else if (IS_ENABLED(CONFIG_MAINBOARD_USE_LIBGFXINIT)) {
|
||||
int lightup_ok;
|
||||
gma_gfxinit(&lightup_ok);
|
||||
}
|
||||
|
||||
intel_gma_restore_opregion();
|
||||
}
|
||||
|
Reference in New Issue
Block a user