summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSubrata Banik <subratabanik@google.com>2024-02-08 01:29:53 +0530
committerSubrata Banik <subratabanik@google.com>2024-02-16 04:13:18 +0000
commitb76ff876eabf624e01368d0f4931adae96e51b0f (patch)
treeb9162af530e8c9d9b7e9a87f538e33de33ec10d1
parent04afc530dfa7a8d81d8f514faf35ecbe6cee61c7 (diff)
soc/intel/mtl: Double the `IgdDvmt50PreAlloc` UPD size to 128MB
This patch increases the IgdDvmt50PreAlloc value as per Intel recommendation starting with GFX PEIM 103x. TEST=Able to build and boot google/rex. Change-Id: I236b38a1ac5efbfcd23e373c09204d8a07b97618 Signed-off-by: Subrata Banik <subratabanik@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/80406 Reviewed-by: Kapil Porwal <kapilporwal@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
-rw-r--r--src/soc/intel/meteorlake/romstage/fsp_params.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/meteorlake/romstage/fsp_params.c b/src/soc/intel/meteorlake/romstage/fsp_params.c
index 4842c191bb..caf57a3e9d 100644
--- a/src/soc/intel/meteorlake/romstage/fsp_params.c
+++ b/src/soc/intel/meteorlake/romstage/fsp_params.c
@@ -113,8 +113,8 @@ static void fill_fspm_igd_params(FSP_M_CONFIG *m_cfg,
};
m_cfg->InternalGfx = !CONFIG(SOC_INTEL_DISABLE_IGD) && is_devfn_enabled(PCI_DEVFN_IGD);
if (m_cfg->InternalGfx) {
- /* IGD is enabled, set IGD stolen size to 64MB. */
- m_cfg->IgdDvmt50PreAlloc = IGD_SM_64MB;
+ /* IGD is enabled, set IGD stolen size to 128MB. */
+ m_cfg->IgdDvmt50PreAlloc = IGD_SM_128MB;
/* DP port config */
m_cfg->DdiPortAConfig = config->ddi_port_A_config;
m_cfg->DdiPortBConfig = config->ddi_port_B_config;