drm/amd/display: Fix DAL surface change test
authorEric Bernstein <[email protected]>
Fri, 16 Feb 2018 22:46:54 +0000 (17:46 -0500)
committerAlex Deucher <[email protected]>
Mon, 5 Mar 2018 20:34:52 +0000 (15:34 -0500)
Signed-off-by: Eric Bernstein <[email protected]>
Reviewed-by: Yongqiang Sun <[email protected]>
Acked-by: Harry Wentland <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index 759e925439cee762b9a6580e4a6e3971fb8b27a3..b4a6b6729e62bfa1770d8f9723e7f0b3548057b9 100644 (file)
@@ -1943,7 +1943,7 @@ static void dcn10_apply_ctx_for_surface(
                        if (old_pipe_ctx->stream_res.tg == tg &&
                                old_pipe_ctx->plane_res.hubp &&
                                old_pipe_ctx->plane_res.hubp->opp_id != 0xf) {
-                               dcn10_disable_plane(dc, pipe_ctx);
+                               dcn10_disable_plane(dc, old_pipe_ctx);
                                /*
                                 * power down fe will unlock when calling reset, need
                                 * to lock it back here. Messy, need rework.