From ebab858d92077dd6141712818449edf182884c56 Mon Sep 17 00:00:00 2001 From: Jeremy Compostella Date: Fri, 22 Aug 2025 14:39:14 -0700 Subject: [PATCH] soc/intel/pantherlake: Enable memory bandwidth compression for IGD The commit enables memory bandwidth compression for Integrated Graphics Device (IGD) when IGD is active. This change intends to improve graphics performance. BUG=b:431221875 TEST=On a Fatcat device, activating memory bandwidth compression leads to graphics performance improvements ranging from 20% to 65% on some graphics workloads. Change-Id: Ia74fb6bac880a5eb9fe833f071bd129e69345d28 Signed-off-by: Jeremy Compostella Reviewed-on: https://review.coreboot.org/c/coreboot/+/88910 Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Bora Guvendik --- src/soc/intel/pantherlake/romstage/fsp_params.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/soc/intel/pantherlake/romstage/fsp_params.c b/src/soc/intel/pantherlake/romstage/fsp_params.c index 13401eb125..22f1ec2cc3 100644 --- a/src/soc/intel/pantherlake/romstage/fsp_params.c +++ b/src/soc/intel/pantherlake/romstage/fsp_params.c @@ -50,8 +50,8 @@ static void fill_fspm_igd_params(FSP_M_CONFIG *m_cfg, *ddi_port_upds[i].hpd = !!(config->ddi_ports_config[i] & DDI_ENABLE_HPD); } - /* Disable memory bandwidth compression */ - m_cfg->MemoryBandwidthCompression = 0; + /* Enable memory bandwidth compression */ + m_cfg->MemoryBandwidthCompression = 1; } else { /* IGD is disabled, skip IGD init in FSP. */ m_cfg->IgdDvmt50PreAlloc = 0;