[PATCH] drm/amd/display: add missing tracepoint event in DM atomic_commit_tail
Leo Li
sunpeng.li at amd.com
Wed Oct 23 15:42:31 UTC 2024
On 2024-10-23 09:53, Melissa Wen wrote:
> There are two events to trace the beginning and the end of
> amdgpu_dm_atomic_commit_tail, but only the one ate the beginning was
> placed. Place amdgpu_dm_atomic_commit_tail_finish tracepoint at the end
> than.
>
> Signed-off-by: Melissa Wen <mwen at igalia.com>
Reviewed-by: Leo Li <sunpeng.li at amd.com>
Thanks!
> ---
> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> index 98f0b142f497..bbfc47f6595f 100644
> --- a/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> +++ b/drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
> @@ -10088,6 +10088,8 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state)
> for (i = 0; i < crtc_disable_count; i++)
> pm_runtime_put_autosuspend(dev->dev);
> pm_runtime_mark_last_busy(dev->dev);
> +
> + trace_amdgpu_dm_atomic_commit_tail_finish(state);
> }
>
> static int dm_force_atomic_commit(struct drm_connector *connector)
More information about the dri-devel
mailing list