2 * This file is part of the coreboot project.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; version 2 of the License.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
15 #include <arch/acpi.h>
17 #include <bootstate.h>
20 #include <drivers/intel/gma/opregion.h>
24 if (!CONFIG(RUN_FSP_GOP
))
27 /* Normal mode and S3 resume path PEIM GFX init is not needed.
28 * Passing NULL as VBT will not make PEIM GFX to execute. */
29 if (acpi_is_wakeup_s3())
31 if (!display_init_required())
33 return locate_vbt(NULL
);