Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 321f65a6 authored by Charlene Liu's avatar Charlene Liu Committed by Alex Deucher
Browse files

drm/amd/display: fix single link DVI has no display

parent 20acbed4
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -1812,6 +1812,8 @@ static void enable_link_hdmi(struct pipe_ctx *pipe_ctx)
	bool is_vga_mode = (stream->timing.h_addressable == 640)
	bool is_vga_mode = (stream->timing.h_addressable == 640)
			&& (stream->timing.v_addressable == 480);
			&& (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)
	if (stream->phy_pix_clk > 340000)
		is_over_340mhz = true;
		is_over_340mhz = true;