aboutsummaryrefslogtreecommitdiff
path: root/src/soc
diff options
context:
space:
mode:
authorPatrick Huang <patrick.huang@amd.corp-partner.google.com>2021-04-20 20:40:09 +0800
committerPatrick Georgi <pgeorgi@google.com>2021-04-26 08:31:27 +0000
commited1592b2ec93bf1edf6c3183deb54aa64b543021 (patch)
tree90b902e54e8b165354e23afdd938c8b3af423045 /src/soc
parent02cd6b42b58bb1c6a25ed7543c6bc459215758ae (diff)
src/soc/amd/picasso: Add HDMI 2.0 disable setting
hdmi2_disable bit0~3 is used to disable HDMI 2.0 function in DDI0~3 BUG=b:179170193 BRANCH=none TEST=Build; Verify the UPD was passed to system integrated table Signed-off-by: Patrick Huang <patrick.huang@amd.corp-partner.google.com> Change-Id: I383bfd04e01f5202db093105662344869e475746 Reviewed-on: https://review.coreboot.org/c/coreboot/+/52545 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Martin Roth <martinroth@google.com> Reviewed-by: Nikolai Vyssotski <nikolai.vyssotski@amd.corp-partner.google.com>
Diffstat (limited to 'src/soc')
-rw-r--r--src/soc/amd/picasso/chip.h6
-rw-r--r--src/soc/amd/picasso/fsp_m_params.c1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/soc/amd/picasso/chip.h b/src/soc/amd/picasso/chip.h
index c70b89b67e..e84db3561e 100644
--- a/src/soc/amd/picasso/chip.h
+++ b/src/soc/amd/picasso/chip.h
@@ -174,6 +174,12 @@ struct soc_amd_picasso_config {
uint32_t telemetry_vddcr_soc_slope_mA;
uint32_t telemetry_vddcr_soc_offset;
+ /*
+ * HDMI 2.0 disable setting
+ * bit0~3: disable HDMI 2.0 DDI0~3
+ */
+ uint8_t hdmi2_disable;
+
struct {
/*
* SDHCI doesn't directly support eMMC. There is an implicit mapping between
diff --git a/src/soc/amd/picasso/fsp_m_params.c b/src/soc/amd/picasso/fsp_m_params.c
index fea16cd137..28803b32c3 100644
--- a/src/soc/amd/picasso/fsp_m_params.c
+++ b/src/soc/amd/picasso/fsp_m_params.c
@@ -111,6 +111,7 @@ void platform_fsp_memory_init_params_cb(FSPM_UPD *mupd, uint32_t version)
mcfg->telemetry_vddcr_soc_offset = config->telemetry_vddcr_soc_offset;
mcfg->hd_audio_enable = devtree_hda_dev_enabled();
mcfg->sata_enable = devtree_sata_dev_enabled();
+ mcfg->hdmi2_disable = config->hdmi2_disable;
mainboard_updm_update(mcfg);
}