From: Muaaz Nisar <[email protected]> This reverts commit 67f77421bdb59680ff047cb230a4f00946539e6b. It cause some regression.
Reviewed-by: Sreeja Golui <[email protected]> Signed-off-by: Muaaz Nisar <[email protected]> Signed-off-by: Tom Chung <[email protected]> --- drivers/gpu/drm/amd/display/dc/core/dc_stream.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c index f59020f1a722..9349cccc8438 100644 --- a/drivers/gpu/drm/amd/display/dc/core/dc_stream.c +++ b/drivers/gpu/drm/amd/display/dc/core/dc_stream.c @@ -515,19 +515,6 @@ bool dc_stream_program_cursor_position( } } - /* apply manual trigger */ - int i; - - for (i = 0; i < dc->res_pool->pipe_count; i++) { - struct pipe_ctx *pipe_ctx = &dc->current_state->res_ctx.pipe_ctx[i]; - - /* trigger event on first pipe with current stream */ - if (stream == pipe_ctx->stream) { - pipe_ctx->stream_res.tg->funcs->program_manual_trigger(pipe_ctx->stream_res.tg); - break; - } - } - return true; } -- 2.43.0
