Browse Source

drm/amd/display: remove invalid assert when no max_pixel_clk is found

Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Dmytro Laktyushkin 7 years ago
parent
commit
2dfa76d328
1 changed files with 0 additions and 3 deletions
  1. 0 3
      drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c

+ 0 - 3
drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c

@@ -1779,9 +1779,6 @@ static uint32_t get_max_pixel_clock_for_all_paths(
 				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;
 }
 }