]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
drm/amd/display: remove fake address reporting when blank
authorTony Cheng <tony.cheng@amd.com>
Thu, 3 Aug 2017 12:49:41 +0000 (08:49 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2017 22:16:44 +0000 (18:16 -0400)
Signed-off-by: Tony Cheng <tony.cheng@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>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c

index ce48d81c444279147a66b2f1fd6835babf889290..23aa6e1242c5c2aa7dc14442a0e3cca75d9526d2 100644 (file)
@@ -2666,14 +2666,6 @@ void dcn10_update_pending_status(struct pipe_ctx *pipe_ctx)
                        pipe_ctx->plane_res.mi->funcs->mem_input_is_flip_pending(
                                        pipe_ctx->plane_res.mi);
 
-       /* DCN we read INUSE address in MI, do we still need this wa? */
-       if (plane_state->status.is_flip_pending &&
-                       !plane_state->visible) {
-               pipe_ctx->plane_res.mi->current_address =
-                               pipe_ctx->plane_res.mi->request_address;
-               BREAK_TO_DEBUGGER();
-       }
-
        plane_state->status.current_address = pipe_ctx->plane_res.mi->current_address;
        if (pipe_ctx->plane_res.mi->current_address.type == PLN_ADDR_TYPE_GRPH_STEREO &&
                        tg->funcs->is_stereo_left_eye) {