Signed-off-by: Eric Bernstein <eric.bernstein@amd.com>
Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com>
Acked-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
                        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.