All of lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH v4 0/1] Fix Guc-Err-Capture sizing warning
@ 2022-10-26  6:05 Alan Previn
  2022-10-26  6:05 ` [Intel-gfx] [PATCH v4 1/1] drm/i915/guc: Fix GuC error capture sizing estimation and reporting Alan Previn
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Alan Previn @ 2022-10-26  6:05 UTC (permalink / raw)
  To: intel-gfx

GuC Error capture initialization calculates an estimation
buffer size for worst case scenario of all engines getting
reset. Fix the calculation change from drm_warn to drm_dbg
since its a corner case

Changes from prior revs:
   v3: - Rebase on latest drm-tip
   v2: - Reduce the guc-log-buffer error-capture-region allocation
         from 4MB to 1MB since the corrected math uncovers the
         larger headroom available to us.
       - Modify the code comment to focus on highlighting the
         headroom we have from how min_est is caclulated.
       - Add example min-est data from real hw in the patch comment.
   v1: - Change drm_dbg to drm_warn for the case of the mis-estated
         size not being met (John Harrison).

Alan Previn (1):
  drm/i915/guc: Fix GuC error capture sizing estimation and reporting

 .../gpu/drm/i915/gt/uc/intel_guc_capture.c    | 29 ++++++++++++-------
 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c    |  6 ++--
 2 files changed, 21 insertions(+), 14 deletions(-)


base-commit: 3844a56a09225527d7d9148d7e05ef5a99ac282f
-- 
2.34.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-10-26 22:33 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-26  6:05 [Intel-gfx] [PATCH v4 0/1] Fix Guc-Err-Capture sizing warning Alan Previn
2022-10-26  6:05 ` [Intel-gfx] [PATCH v4 1/1] drm/i915/guc: Fix GuC error capture sizing estimation and reporting Alan Previn
2022-10-26 18:27   ` John Harrison
2022-10-26  6:19 ` [Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Fix Guc-Err-Capture sizing warning Patchwork
2022-10-26  6:41 ` [Intel-gfx] ✓ Fi.CI.BAT: success " Patchwork
2022-10-26 18:52 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-10-26 22:33   ` Teres Alexis, Alan Previn

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.