Attention is currently required from: Bao Zheng, Jason Glenesk, Nico Huber, Raul Rangel, Marshall Dawson, Paul Menzel, Zheng Bao, Rob Barnes.
Felix Held has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/59918 )
Change subject: soc/amd/cezanne: FSP: Add UPD entry for eDP tuning
......................................................................
Patch Set 7:
(1 comment)
File src/soc/amd/cezanne/chip.h:
https://review.coreboot.org/c/coreboot/+/59918/comment/b1e0ff8f_1ba07110
PS7, Line 112: uint8_t edp_physel;
- It is a upd value which is sent to FSP. We need to give it a clear size. […]
i'd also strongly prefer to use an enum here; same for the corresponding code in picasso. something like this untested code below should work and the value can just be assigned to the mcfg->edp_physel upd struct member in fsp_m_params.c like it is done now, since it still fits in the uint8_t of mcfg->edp_physel:
enum {
EDP_TUNE_SEL_DP0 = (1 << 0),
EDP_TUNE_SEL_DP1 = (1 << 1),
EDP_TUNE_SEL_DP2 = (1 << 2),
EDP_TUNE_SEL_DP3 = (1 << 3),
} edp_physel;
in the devicetree setting you'll need something like
register "edp_physel" = "EDP_TUNE_SEL_DP0"
i'm ok with doing this change or picasso and cezanne as a follow-up
--
To view, visit
https://review.coreboot.org/c/coreboot/+/59918
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I9b85faac4f2fa1fb2c14bb85b615346d4379baac
Gerrit-Change-Number: 59918
Gerrit-PatchSet: 7
Gerrit-Owner: Bao Zheng
fishbaozi@gmail.com
Gerrit-Reviewer: Felix Held
felix-coreboot@felixheld.de
Gerrit-Reviewer: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Reviewer: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-Reviewer: Patrick Huang
patrick.huang@amd.corp-partner.google.com
Gerrit-Reviewer: Raul Rangel
rrangel@chromium.org
Gerrit-Reviewer: Zheng Bao
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Nico Huber
nico.h@gmx.de
Gerrit-CC: Paul Menzel
paulepanter@mailbox.org
Gerrit-CC: Rob Barnes
robbarnes@google.com
Gerrit-Attention: Bao Zheng
fishbaozi@gmail.com
Gerrit-Attention: Jason Glenesk
jason.glenesk@gmail.com
Gerrit-Attention: Nico Huber
nico.h@gmx.de
Gerrit-Attention: Raul Rangel
rrangel@chromium.org
Gerrit-Attention: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-Attention: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Zheng Bao
Gerrit-Attention: Rob Barnes
robbarnes@google.com
Gerrit-Comment-Date: Tue, 25 Jan 2022 01:58:44 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Bao Zheng
fishbaozi@gmail.com
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Comment-In-Reply-To: Rob Barnes
robbarnes@google.com
Gerrit-MessageType: comment