Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <mwen@igalia.com>
Reviewed-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

authored by

Melissa Wen and committed by
Alex Deucher
5605a0d3 e46738a5

+2
+2
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c
··· 10119 10119 for (i = 0; i < crtc_disable_count; i++) 10120 10120 pm_runtime_put_autosuspend(dev->dev); 10121 10121 pm_runtime_mark_last_busy(dev->dev); 10122 + 10123 + trace_amdgpu_dm_atomic_commit_tail_finish(state); 10122 10124 } 10123 10125 10124 10126 static int dm_force_atomic_commit(struct drm_connector *connector)