Tracing cleanup and add mmio tracing
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v6 Latest6 patches 1 replyIn review
- v56 patches 4 repliesSuperseded
- v46 patches 1 replySuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 9 replies | Superseded |
Patches in v6 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | drm/xe/trace: Extract bo, vm, vma tracesdrivers/ drivers/ drivers/ +5 more | +250 | 0 replies | |
| 2/6 | drm/xe/trace: Extract guc related tracesdrivers/ drivers/ drivers/ +2 more | +114 | 0 replies | |
| 3/6 | drm/xe/trace: Print device_id in xe_trace_bo eventsdrivers/ | +20 | 0 replies | |
| 4/6 | drm/xe/trace: Print device_id in xe_trace_guc eventsdrivers/ drivers/ | +33 | 0 replies | |
| 5/6 | drm/xe/trace: Print device_id in xe_trace eventsdrivers/ drivers/ drivers/ | +59 | 0 replies | |
| 6/6 | drm/xe: Add reg read/write tracedrivers/ drivers/ | +47 | 1 reply |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Gustavo Sousa |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 | Reviewd-by |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/6] Tracing cleanup and add mmio tracing
xe_trace.h is getting bloated. Group related events to their own files. All bo, vm and vma related events have been moved to xe_trace_bo.h. GuC related trace events have been moved to xe_trace_guc.h. Patches 1 and 2 splits the trace events into seperate files.
In multi gpu environments, it is important to know the device from which the event was triggered. Print the device id information along with the trace information being printed. Patches 3, 4 and 5 make changes to print the device id's if not already captured.
Mmio reg read writes are important tracing information that needs to be captured and will be helpful in display debug. Patch 6 adds the reg read/write tracing support.
Earlier versions of patch 6 can be found here:
v1: https://patchwork.freedesktop.org/series/119312/
v2: https://patchwork.freedesktop.org/series/132626/
v4: Fixes the review comments from Gustavo
v5: Fixes the kunit error reported.
v6: Remove unused string_helper inclusion in trace files and other
minor cleanups
Radhakrishna Sripada (6):
drm/xe/trace: Extract bo, vm, vma traces drm/xe/trace: Extract guc related traces drm/xe/trace: Print device_id in xe_trace_bo events drm/xe/trace: Print device_id in xe_trace_guc events drm/xe/trace: Print device_id in xe_trace events drm/xe: Add reg read/write trace
drivers/gpu/drm/xe/Makefile | 2 + drivers/gpu/drm/xe/xe_bo.c | 2 +- drivers/gpu/drm/xe/xe_gt_pagefault.c | 2 +- drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c | 27 +- drivers/gpu/drm/xe/xe_guc_ct.c | 13 +- drivers/gpu/drm/xe/xe_migrate.c | 2 +- drivers/gpu/drm/xe/xe_mmio.c | 23 +- drivers/gpu/drm/xe/xe_pt.c | 8 +- drivers/gpu/drm/xe/xe_trace.h | 380 ++++---------------- drivers/gpu/drm/xe/xe_trace_bo.c | 9 + drivers/gpu/drm/xe/xe_trace_bo.h | 247 +++++++++++++ drivers/gpu/drm/xe/xe_trace_guc.c | 9 + drivers/gpu/drm/xe/xe_trace_guc.h | 110 ++++++ drivers/gpu/drm/xe/xe_vm.c | 2 +- 14 files changed, 492 insertions(+), 344 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_trace_bo.c create mode 100644 drivers/gpu/drm/xe/xe_trace_bo.h create mode 100644 drivers/gpu/drm/xe/xe_trace_guc.c create mode 100644 drivers/gpu/drm/xe/xe_trace_guc.h
Signature · 1 line
2.34.1