Skip to content

Commit 5605a0d

Browse files
melissawenalexdeucher
authored andcommitted
drm/amd/display: add missing tracepoint event in DM atomic_commit_tail
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 <[email protected]> Reviewed-by: Leo Li <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
1 parent e46738a commit 5605a0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10119,6 +10119,8 @@ static void amdgpu_dm_atomic_commit_tail(struct drm_atomic_state *state)
1011910119
for (i = 0; i < crtc_disable_count; i++)
1012010120
pm_runtime_put_autosuspend(dev->dev);
1012110121
pm_runtime_mark_last_busy(dev->dev);
10122+
10123+
trace_amdgpu_dm_atomic_commit_tail_finish(state);
1012210124
}
1012310125

1012410126
static int dm_force_atomic_commit(struct drm_connector *connector)

0 commit comments

Comments
 (0)