From d0a28d4c97bedb7affdd5262084a3cb623a8b271 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Kope=C4=87?= Date: Thu, 6 Mar 2025 12:56:56 +0100 Subject: [PATCH] mb/novacustom/mtl-h/var/igpu: Fix HDMI DDI lane index MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The DDI lane number in `enum ddi_ports` is 1-based, while the TCPx display link numbers from the SoC are 0 based. Fix the off-by-one error and set the HDMI DDI lane index to the correct value of 3. Change-Id: I861e58150ebe8b97cf3e9be81c2bd5494eff600b Signed-off-by: Michał Kopeć Reviewed-on: https://review.coreboot.org/c/coreboot/+/86751 Reviewed-by: Michał Żygowski Tested-by: build bot (Jenkins) --- src/mainboard/novacustom/mtl-h/variants/igpu/overridetree.cb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/novacustom/mtl-h/variants/igpu/overridetree.cb b/src/mainboard/novacustom/mtl-h/variants/igpu/overridetree.cb index b38660a053..f6a32c05cc 100644 --- a/src/mainboard/novacustom/mtl-h/variants/igpu/overridetree.cb +++ b/src/mainboard/novacustom/mtl-h/variants/igpu/overridetree.cb @@ -4,7 +4,7 @@ chip soc/intel/meteorlake device ref igpu on register "ddi_ports_config" = "{ [DDI_PORT_A] = DDI_ENABLE_HPD, /* eDP */ - [DDI_PORT_2] = DDI_ENABLE_DDC | DDI_ENABLE_HPD, /* HDMI 2.1 */ + [DDI_PORT_3] = DDI_ENABLE_DDC | DDI_ENABLE_HPD, /* HDMI 2.1 */ }" chip drivers/gfx/generic register "device_count" = "6"