drm/rockchip: dw_hdmi: Output max rate if support frl mode and rate in edid is 0

Change-Id: Ibd4d4f16478412a2a3260ac717b0ba53e80e7740
Signed-off-by: Algea Cao <algea.cao@rock-chips.com>
This commit is contained in:
Algea Cao
2024-08-12 15:56:59 +08:00
committed by Tao Huang
parent d9459b1ea9
commit 5abf2c5f69

View File

@@ -2661,7 +2661,8 @@ secondary:
if (hdmi->link_cfg.frl_lanes > frl_lanes)
hdmi->link_cfg.frl_lanes = frl_lanes;
/* 40G is preferred */
} else if (hdmi->link_cfg.rate_per_lane >= 12) {
} else if (hdmi->link_cfg.rate_per_lane >= 12 ||
!hdmi->link_cfg.rate_per_lane) {
hdmi->link_cfg.frl_lanes = 4;
hdmi->link_cfg.rate_per_lane = 12;
}