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

Commit 85344e75 authored by Mikita Lipski's avatar Mikita Lipski Committed by Alex Deucher
Browse files

drm/amd/display: Remove unnecessary warning



[why]
The warning message floods the dmesg log on Tonga even
though it is expected to have a pix_clk set to zero,
when the pipe is not active.
[how]
remove the assert

Signed-off-by: default avatarMikita Lipski <mikita.lipski@amd.com>
Reviewed-by: default avatarHarry Wentland <Harry.Wentland@amd.com>
Acked-by: default avatarLeo Li <sunpeng.li@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent 5f818173
Loading
Loading
Loading
Loading
+0 −4
Original line number Original line Diff line number Diff line
@@ -149,10 +149,6 @@ static uint32_t get_max_pixel_clock_for_all_paths(
			max_pix_clk =
			max_pix_clk =
				pipe_ctx->stream_res.pix_clk_params.requested_pix_clk;
				pipe_ctx->stream_res.pix_clk_params.requested_pix_clk;
	}
	}

	if (max_pix_clk == 0)
		ASSERT(0);

	return max_pix_clk;
	return max_pix_clk;
}
}