drm/amd/display: Fix force FRL rate debug setting

[Why & How]
- force FRL rate debug bit was not correctly forcing requested FRL rate

Reviewed-by: Chris Park <chris.park@amd.com>
Signed-off-by: Relja Vojvodic <Relja.Vojvodic@amd.com>
Signed-off-by: Fangzhi Zuo <jerry.zuo@amd.com>
Tested-by: Dan Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Relja Vojvodic 2026-07-09 13:56:53 -04:00 committed by Alex Deucher
parent e324cce52b
commit f73dd04acd
2 changed files with 4 additions and 2 deletions

View File

@ -100,7 +100,9 @@ void update_stream_signal(struct dc_stream_state *stream, struct dc_sink *sink)
if (stream->link->frl_flags.force_frl_always ||
stream->link->frl_flags.force_frl_max
|| stream->link->frl_flags.force_frl_dsc)
|| stream->link->frl_flags.force_frl_dsc
|| (stream->link->frl_flags.force_frl_rate != 0 &&
stream->link->frl_flags.force_frl_rate != 0xF))
stream->signal = SIGNAL_TYPE_HDMI_FRL;
}
}

View File

@ -1090,7 +1090,7 @@ void hdmi_frl_decide_link_settings(struct dc_stream_state *stream,
&stream->link->frl_verified_link_cap);
if (stream->link->frl_flags.force_frl_rate != 0 &&
stream->link->frl_flags.force_frl_rate < stream->link->frl_verified_link_cap.frl_link_rate) {
stream->link->frl_flags.force_frl_rate <= stream->link->frl_verified_link_cap.frl_link_rate) {
switch (stream->link->frl_flags.force_frl_rate) {
case HDMI_FRL_LINK_RATE_3GBPS:
temp_settings.frl_link_rate = HDMI_FRL_LINK_RATE_3GBPS;