Skip to content

Miscelaneous fixes for display tracepoints

Gustavo Sousa intel-gfx 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 2 repliesIn review
  2. v25 patches 11 repliesSuperseded
  3. v14 patches 6 repliesSuperseded

Changes in v3 from the cover letter

- Rebase after a long time for fresh CI results.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i915/display: Fix out-of-bounds access in pipe-related tracepointsdrivers/gpu/drm/i915/display/intel_display_trace.h+7 -60 replies
2/5drm/i915/display: Zero-initialize frame/scanline counts in tracepointsdrivers/gpu/drm/i915/display/intel_display_trace.h+13 -00 replies
3/5drm/i915/display: Store pipe name in trace eventsdrivers/gpu/drm/i915/display/intel_display_trace.h+63 -630 replies
4/5drm/i915/display: Do not use ids from enum pipe in TP_printk()drivers/gpu/drm/i915/display/intel_display_trace.h+24 -90 replies
5/5drm/i915/display: Cover all possible pipes in TP_printk()drivers/gpu/drm/i915/display/intel_display_trace.h+29 -140 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchMatt RoperVille Syrjälä
1/5R-b R-b
2/5R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/5] Miscelaneous fixes for display tracepoints

I recently bumped into some issues while using trace-cmd to inspect i915 display trace events. This series of patches provides fixes for them.

v2:
- Add another patch to zero-initialize frame/scanline counts.
- Add static_assert(PIPE_A == _TRACE_PIPE_A) in "Do not use ids from enum pipe

    in TP_printk()".

v3:
- Rebase after a long time for fresh CI results.

Gustavo Sousa (5):
drm/i915/display: Fix out-of-bounds access in pipe-related tracepoints drm/i915/display: Zero-initialize frame/scanline counts in tracepoints drm/i915/display: Store pipe name in trace events drm/i915/display: Do not use ids from enum pipe in TP_printk() drm/i915/display: Cover all possible pipes in TP_printk()

 .../drm/i915/display/intel_display_trace.h    | 206 +++++++++++-------
 1 file changed, 125 insertions(+), 81 deletions(-)
Signature · 1 line
2.46.1