From 2e10ddb1eeca89f4f6efaace72b4477d26160bbd Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Thu, 4 Sep 2025 21:34:59 +0100 Subject: [PATCH] mb/starlabs/starbook/mtl: Make TCSS notify the IGD of changes Set the UPD `TcNotifyIgd` to `2` (Auto), so that the TCSS subsystem will notify the Integrated Graphics of display changes. Change-Id: I2b47a534f0816545fe58bde8963c56f0455871eb Signed-off-by: Sean Rhodes Reviewed-on: https://review.coreboot.org/c/coreboot/+/89054 Reviewed-by: Matt DeVillier Tested-by: build bot (Jenkins) --- src/mainboard/starlabs/starbook/variants/mtl/Makefile.mk | 1 + src/mainboard/starlabs/starbook/variants/mtl/ramstage.c | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 src/mainboard/starlabs/starbook/variants/mtl/ramstage.c diff --git a/src/mainboard/starlabs/starbook/variants/mtl/Makefile.mk b/src/mainboard/starlabs/starbook/variants/mtl/Makefile.mk index 53efc2f0fe..bfea7ef255 100644 --- a/src/mainboard/starlabs/starbook/variants/mtl/Makefile.mk +++ b/src/mainboard/starlabs/starbook/variants/mtl/Makefile.mk @@ -7,5 +7,6 @@ romstage-y += romstage.c ramstage-y += devtree.c ramstage-y += gpio.c ramstage-y += hda_verb.c +ramstage-y += ramstage.c $(call add_vbt_to_cbfs, vbt_native_res.bin, data_native_res.vbt) diff --git a/src/mainboard/starlabs/starbook/variants/mtl/ramstage.c b/src/mainboard/starlabs/starbook/variants/mtl/ramstage.c new file mode 100644 index 0000000000..0d400f3977 --- /dev/null +++ b/src/mainboard/starlabs/starbook/variants/mtl/ramstage.c @@ -0,0 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include +#include + +void mainboard_silicon_init_params(FSP_S_CONFIG *supd) +{ + supd->TcNotifyIgd = 2; // Auto +}