diff options
author | Subrata Banik <subratabanik@google.com> | 2023-02-14 18:44:09 +0530 |
---|---|---|
committer | Eric Lai <eric_lai@quanta.corp-partner.google.com> | 2023-02-16 00:39:52 +0000 |
commit | be0590c3e17ea2e6adc6d9c718318a9885c5bce3 (patch) | |
tree | c09d1e20428993ba88f9fa724ee289c047c9aa8b | |
parent | 45df1066ef2a9afe7e098410f0aa9a0440a6ea02 (diff) |
soc/intel/cmn/gfx: Skip warning msg in ChromeOS normal mode
This patch ensures avoiding displaying wrong warning msg as
`Graphics hand-off block not found` during ChromeOS normal mode
booting as FSP is not executing GFX PEIM hence, GFX hand-off HOB
is expected to be missing.
TEST=Able to build and boot google/rex in normal mode w/o having
warning msg.
Change-Id: Ia9192129852195f6183c0c43369cd33b253f9140
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/73028
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com>
-rw-r--r-- | src/soc/intel/common/block/graphics/graphics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/graphics/graphics.c b/src/soc/intel/common/block/graphics/graphics.c index 14e7597573..acef488675 100644 --- a/src/soc/intel/common/block/graphics/graphics.c +++ b/src/soc/intel/common/block/graphics/graphics.c @@ -57,7 +57,7 @@ static void gma_init(struct device *const dev) * In case of non-FSP solution, SoC need to select another * Kconfig to perform GFX initialization. */ - if (CONFIG(RUN_FSP_GOP)) { + if (CONFIG(RUN_FSP_GOP) && display_init_required()) { const struct soc_intel_common_config *config = chip_get_common_soc_structure(); fsp_report_framebuffer_info(graphics_get_framebuffer_address(), config->panel_orientation); |