mirror of
https://github.com/torvalds/linux.git
synced 2026-09-23 13:14:02 +02:00
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:
parent
e324cce52b
commit
f73dd04acd
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user