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

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
...@@ -149,10 +149,6 @@ static uint32_t get_max_pixel_clock_for_all_paths( ...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment