drm/amd/display: Remove sanity check.
authorYongqiang Sun <yongqiang.sun@amd.com>
Wed, 30 Aug 2017 18:29:40 +0000 (14:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:17:26 +0000 (18:17 -0400)
Signed-off-by: Yongqiang Sun <yongqiang.sun@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Harry Wentland <Harry.Wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index 4fa856e9a87273428b0da890e69d7821bf11ce97..a6015c2c20c6fc2429c003c7c6e5b360c556db82 100644 (file)
@@ -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;