From 890db270a5763ccacda8df7cbfac674ade78744a Mon Sep 17 00:00:00 2001 From: Yongqiang Sun Date: Wed, 30 Aug 2017 14:29:40 -0400 Subject: [PATCH] drm/amd/display: Remove sanity check. Signed-off-by: Yongqiang Sun Reviewed-by: Tony Cheng Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 6 ------ 1 file changed, 6 deletions(-) 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; -- 2.30.2