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>
This commit is contained in:
Subrata Banik
2024-02-08 01:29:53 +05:30
parent 04afc530df
commit b76ff876ea

View File

@ -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); m_cfg->InternalGfx = !CONFIG(SOC_INTEL_DISABLE_IGD) && is_devfn_enabled(PCI_DEVFN_IGD);
if (m_cfg->InternalGfx) { if (m_cfg->InternalGfx) {
/* IGD is enabled, set IGD stolen size to 64MB. */ /* IGD is enabled, set IGD stolen size to 128MB. */
m_cfg->IgdDvmt50PreAlloc = IGD_SM_64MB; m_cfg->IgdDvmt50PreAlloc = IGD_SM_128MB;
/* DP port config */ /* DP port config */
m_cfg->DdiPortAConfig = config->ddi_port_A_config; m_cfg->DdiPortAConfig = config->ddi_port_A_config;
m_cfg->DdiPortBConfig = config->ddi_port_B_config; m_cfg->DdiPortBConfig = config->ddi_port_B_config;