diff options
author | Charlene Liu <[email protected]> | 2018-07-30 17:59:20 -0400 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2018-08-13 17:21:49 -0500 |
commit | 321f65a62359e1490c7d9910b8557174ce779df4 (patch) | |
tree | 9f82bce1421315628fbbf70c58d277ba729ce8b0 | |
parent | 20acbed47d30efbf14e5aecc5ec5e5f152db7810 (diff) |
drm/amd/display: fix single link DVI has no display
Signed-off-by: Charlene Liu <[email protected]>
Reviewed-by: Dmytro Laktyushkin <[email protected]>
Acked-by: Leo Li <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/core/dc_link.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_link.c b/drivers/gpu/drm/amd/display/dc/core/dc_link.c index a38e7ad36a7e..326b3e99b7e4 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_link.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_link.c @@ -1812,6 +1812,8 @@ static void enable_link_hdmi(struct pipe_ctx *pipe_ctx) bool is_vga_mode = (stream->timing.h_addressable == 640) && (stream->timing.v_addressable == 480); + if (stream->phy_pix_clk == 0) + stream->phy_pix_clk = stream->timing.pix_clk_khz; if (stream->phy_pix_clk > 340000) is_over_340mhz = true; |