summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYongqiang Sun <yongqiang.sun@amd.com>2017-08-30 14:29:40 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:17:26 -0400
commit890db270a5763ccacda8df7cbfac674ade78744a (patch)
tree0baf6e988e6462e40f553bacccb7b6165e805ab8
parent649e0c7679a5189dec1045329e36cfcf41919dc9 (diff)
downloadlinux-stable-890db270a5763ccacda8df7cbfac674ade78744a.tar.gz
linux-stable-890db270a5763ccacda8df7cbfac674ade78744a.tar.bz2
linux-stable-890db270a5763ccacda8df7cbfac674ade78744a.zip
drm/amd/display: Remove sanity check.
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>
-rw-r--r--drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c6
1 files changed, 0 insertions, 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;