Revert "drm/amd/display: mouse event trigger to boost RR when idle"
authorMuaaz Nisar <muanisar@amd.com>
Wed, 21 Jan 2026 19:25:38 +0000 (14:25 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 12 Feb 2026 20:13:31 +0000 (15:13 -0500)
This reverts commit ba448f9ed62cf5a89603a738e6de91fc6c42ab35.
It cause some regression.

Reviewed-by: Sreeja Golui <sreeja.golui@amd.com>
Signed-off-by: Muaaz Nisar <muanisar@amd.com>
Signed-off-by: Tom Chung <chiahsuan.chung@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_stream.c

index ecd0858..9349ccc 100644 (file)
@@ -515,21 +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->funcs->program_manual_trigger(
-                                       pipe_ctx->stream_res.tg);
-                               break;
-                       }
-               }
-
                return true;
        }