aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd
diff options
context:
space:
mode:
authorHarry Wentland <harry.wentland@amd.com>2017-11-22 21:05:55 -0500
committerAlex Deucher <alexander.deucher@amd.com>2017-12-14 11:01:00 -0500
commit5b92d9d409e742ca09a4cb924e3f781eddbf7d81 (patch)
treeb0d19eeca0f0216b446e888fea654e5fa14adc09 /drivers/gpu/drm/amd
parent78b56c52349596374dd47584d1f1db4d08609b7b (diff)
drm/amd/display: Remove redundant NULL check in DCE11 HWSS
We already check this a couple lines earlier. Signed-off-by: Harry Wentland <harry.wentland@amd.com> Reviewed-by: Jordan Lazare <Jordan.Lazare@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd')
-rw-r--r--drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
index dd8386778361..80d36610c302 100644
--- a/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
+++ b/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.c
@@ -2017,8 +2017,7 @@ enum dc_status dce110_apply_ctx_to_hw(
2017 if (pipe_ctx->stream == pipe_ctx_old->stream) 2017 if (pipe_ctx->stream == pipe_ctx_old->stream)
2018 continue; 2018 continue;
2019 2019
2020 if (pipe_ctx->stream && pipe_ctx_old->stream 2020 if (pipe_ctx_old->stream && !pipe_need_reprogram(pipe_ctx_old, pipe_ctx))
2021 && !pipe_need_reprogram(pipe_ctx_old, pipe_ctx))
2022 continue; 2021 continue;
2023 2022
2024 if (pipe_ctx->top_pipe) 2023 if (pipe_ctx->top_pipe)