Skip to content

Support/debug for slow GuC loads

[email protected] intel-xe 6 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest2 patches 0 repliesNew
  2. v52 patches 2 repliesSuperseded
  3. v42 patches 10 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches0 repliesSuperseded
v22 patches10 repliesSuperseded
v12 patches9 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/xe: Make read_perf_limit_reasons globally accessibledrivers/gpu/drm/xe/Makefile drivers/gpu/drm/xe/xe_gt_freq.c drivers/gpu/drm/xe/xe_gt_throttle.c +2 more+33 -290 replies
2/2drm/xe/guc: Port over the slow GuC loading support from i915drivers/gpu/drm/xe/abi/guc_errors_abi.h drivers/gpu/drm/xe/regs/xe_guc_regs.h drivers/gpu/drm/xe/xe_guc.c +2 more+260 -340 replies

Reviews trailers per patch

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

PatchLucas De Marchi
1/2R-b
2/2R-b

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

Read the v6 thread

Cover letter [PATCH v6 0/2] Support/debug for slow GuC loads

From: John Harrison <[email protected]>

Sometimes the GuC load is slower that it should be. For end users, that usually means some kind of thermal throttling issue. Internally, there can be any number of bugs that cause it. So don't completely fail to load, just cope with it and report the problem.

v2: Revert include order (review feedback from Lucas)
v3: Remove '_sysfs' from throttle file names and keep limit query in the same file rather than moving elsewhere (review feedback from Rodrigo). Fix the reporting of requested vs granted frequencies (review feedback from Badal).
v4: Manually code the loop timeout/condition checking because helper functions are not allowed (review feedback from Lucas/Rodrigo)
v5: Correct a #include, improve the comments even more, add units to a #define (review feedback from Lucas).
v6: Fix typo in _wait32_not (review feedback from Lucas) and rebase.

John Harrison (2):
drm/xe: Make read_perf_limit_reasons globally accessible drm/xe/guc: Port over the slow GuC loading support from i915

 drivers/gpu/drm/xe/Makefile                   |   2 +-
 drivers/gpu/drm/xe/abi/guc_errors_abi.h       |  26 ++-
 drivers/gpu/drm/xe/regs/xe_guc_regs.h         |   2 +
 drivers/gpu/drm/xe/xe_gt_freq.c               |   4 +-
 ...e_gt_throttle_sysfs.c => xe_gt_throttle.c} |  26 +--
 drivers/gpu/drm/xe/xe_gt_throttle.h           |  17 ++
 drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h     |  13 --
 drivers/gpu/drm/xe/xe_guc.c                   | 203 +++++++++++++++---
 drivers/gpu/drm/xe/xe_mmio.c                  |  61 ++++++
 drivers/gpu/drm/xe/xe_mmio.h                  |   2 +
 10 files changed, 293 insertions(+), 63 deletions(-)
 rename drivers/gpu/drm/xe/{xe_gt_throttle_sysfs.c => xe_gt_throttle.c} (86%)
 create mode 100644 drivers/gpu/drm/xe/xe_gt_throttle.h
 delete mode 100644 drivers/gpu/drm/xe/xe_gt_throttle_sysfs.h
Signature · 1 line
2.43.2