Ping.
On 5/29/26 5:09 AM, Timur Kristóf wrote:
> When there is a preferred link rate setting, it needs to be
> applied to both the current and initial link rate.
> This was regressed by a "coding style" fix, which caused
> the current link rate to not respect the preferred value.
>
> This commit restores the functionality of NUTMEG,
> the DP bridge encoder found on old APUs such as Kaveri.
>
> Fixes: b74322eea36b ("drm/amd/display: Fix coding style issue")
> Cc: Chuanyu Tseng <[email protected]>
> Signed-off-by: Timur Kristóf <[email protected]>
A user recently reported this issue to the tracker and confirmed
this patch is an effective fix.
Closes: https://gitlab.freedesktop.org/drm/amd/-/work_items/5465
Thanks,
John
> ---
> .../drm/amd/display/dc/link/protocols/link_dp_capability.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
> diff --git
> a/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
> b/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
> index 817b4010edcbe..f44c13300a59c 100644
> --- a/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
> +++ b/drivers/gpu/drm/amd/display/dc/link/protocols/link_dp_capability.c
> @@ -750,8 +750,10 @@ static bool decide_dp_link_settings(struct dc_link
> *link, struct dc_link_setting
> if (req_bw > dp_link_bandwidth_kbps(link, &link->verified_link_cap))
> return false;
>
> - if (link->preferred_link_setting.link_rate != LINK_RATE_UNKNOWN)
> + if (link->preferred_link_setting.link_rate != LINK_RATE_UNKNOWN) {
> initial_link_setting.link_rate =
> link->preferred_link_setting.link_rate;
> + current_link_setting.link_rate =
> link->preferred_link_setting.link_rate;
> + }
>
> /* search for the minimum link setting that:
> * 1. is supported according to the link training result