From c81fb7ca94e84bf1086756d0e5b4fad9adb75658 Mon Sep 17 00:00:00 2001 From: Felix Held Date: Tue, 6 Apr 2021 22:17:12 +0200 Subject: [PATCH] mb/google/guybrush/port_descriptors: add dummy descriptors This is a temporary workaround for a bug that breaks graphics due to some power management issue. Signed-off-by: Matt Papageorge Signed-off-by: Felix Held Change-Id: Ie4c8ff8e827901112fd8b2e993898006bc133241 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52141 Reviewed-by: Raul Rangel Tested-by: build bot (Jenkins) --- .../google/guybrush/port_descriptors.c | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/src/mainboard/google/guybrush/port_descriptors.c b/src/mainboard/google/guybrush/port_descriptors.c index 322781238d..cc1fa1a7b2 100644 --- a/src/mainboard/google/guybrush/port_descriptors.c +++ b/src/mainboard/google/guybrush/port_descriptors.c @@ -53,6 +53,28 @@ static const fsp_dxio_descriptor guybrush_czn_dxio_descriptors[] = { .clk_req = CLK_REQ3, .gpio_group_id = GPIO_40, .port_params = {PP_PSPP_AC, 0x133, PP_PSPP_DC, 0x122} + }, + { /* TODO: remove this temporay workaround */ + .engine_type = PCIE_ENGINE, + .port_present = true, + .start_logical_lane = 8, + .end_logical_lane = 11, + .device_number = 2, + .function_number = 5, + .turn_off_unused_lanes = true, + .clk_req = CLK_REQ5, + .port_params = {PP_PSPP_AC, 0x133, PP_PSPP_DC, 0x122} + }, + { /* TODO: remove this temporay workaround */ + .engine_type = PCIE_ENGINE, + .port_present = true, + .start_logical_lane = 16, + .end_logical_lane = 23, + .device_number = 1, + .function_number = 1, + .turn_off_unused_lanes = true, + .clk_req = CLK_REQ6, + .port_params = {PP_PSPP_AC, 0x133, PP_PSPP_DC, 0x122} } };