summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/dc/dce100
diff options
context:
space:
mode:
authorMikita Lipski <mikita.lipski@amd.com>2018-07-04 11:19:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2018-07-24 15:15:02 -0500
commit85344e75d0d18094789ce84f88e1c5762c74115d (patch)
tree62373ae0c0ad5d3e7614716f5bb2e2ea2d3fa019 /drivers/gpu/drm/amd/display/dc/dce100
parent5f8181733f6e5f8a4447f844efe4bdab5ed6a30e (diff)
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: Mikita Lipski <mikita.lipski@amd.com> Reviewed-by: Harry Wentland <Harry.Wentland@amd.com> Acked-by: Leo Li <sunpeng.li@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dce100')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce100/dce100_hw_sequencer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce100/dce100_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce100/dce100_hw_sequencer.c
index ec3221333011..74c05e878807 100644
--- a/drivers/gpu/drm/amd/display/dc/dce100/dce100_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/display/dc/dce100/dce100_hw_sequencer.c
@@ -149,10 +149,6 @@ static uint32_t get_max_pixel_clock_for_all_paths(
max_pix_clk =
pipe_ctx->stream_res.pix_clk_params.requested_pix_clk;
}
-
- if (max_pix_clk == 0)
- ASSERT(0);
-
return max_pix_clk;
}