From: Yongqiang Sun Date: Wed, 30 Aug 2017 18:29:40 +0000 (-0400) Subject: drm/amd/display: Remove sanity check. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=890db270a5763ccacda8df7cbfac674ade78744a;p=openwrt%2Fstaging%2Fblogic.git drm/amd/display: Remove sanity check. Signed-off-by: Yongqiang Sun Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c index 4fa856e9a872..a6015c2c20c6 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c @@ -2828,12 +2828,6 @@ void dcn10_update_pending_status(struct pipe_ctx *pipe_ctx) struct dc_plane_state *plane_state = pipe_ctx->plane_state; struct timing_generator *tg = pipe_ctx->stream_res.tg; - if (plane_state->ctx->dc->debug.sanity_checks) { - struct dc *dc = plane_state->ctx->dc; - - verify_allow_pstate_change_high(dc->hwseq); - } - if (plane_state == NULL) return;