drm/xe: Fix races on fdinfo
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | drm/xe: Add trace to lrc timestamp updatedrivers/ drivers/ drivers/ +1 more | +65 | 1 reply | |
| 2/3 | drm/xe: Accumulate exec queue timestamp on destroydrivers/ | +8 | 1 reply | |
| 3/3 | drm/xe: Stop accumulating LRC timestamp on job_freedrivers/ drivers/ | +6 | 0 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Nirmoy Das |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] drm/xe: Fix races on fdinfo
The current reading of engine utilization has same races. This should fix most of them while also drastically reducing the update rate needed on "normal apps".
I left tests/xe_drm_fdinfo running on 2 systems and saw no failures after 100 iterations.
Lucas De Marchi (3):
drm/xe: Add trace to lrc timestamp update drm/xe: Accumulate exec queue timestamp on destroy drm/xe: Stop accumulating LRC timestamp on job_free
drivers/gpu/drm/xe/Makefile | 1 + drivers/gpu/drm/xe/xe_exec_queue.c | 14 ++++++++ drivers/gpu/drm/xe/xe_guc_submit.c | 2 -- drivers/gpu/drm/xe/xe_lrc.c | 3 ++ drivers/gpu/drm/xe/xe_trace_lrc.c | 9 ++++++ drivers/gpu/drm/xe/xe_trace_lrc.h | 52 ++++++++++++++++++++++++++++++ 6 files changed, 79 insertions(+), 2 deletions(-) create mode 100644 drivers/gpu/drm/xe/xe_trace_lrc.c create mode 100644 drivers/gpu/drm/xe/xe_trace_lrc.h
Signature · 1 line
2.47.0