Intel-XE Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-xe] [PATCH v2 0/3] Remove use of BUG_ON
@ 2023-07-27 13:26 Francois Dugast
  2023-07-27 13:26 ` [Intel-xe] [PATCH v2 1/3] drm/xe/macro: Remove unused constant Francois Dugast
                   ` (9 more replies)
  0 siblings, 10 replies; 15+ messages in thread
From: Francois Dugast @ 2023-07-27 13:26 UTC (permalink / raw)
  To: intel-xe; +Cc: Francois Dugast, rodrigo.vivi

After offline discussions and feedback on the first series, taking a step back
here and only address the issue of misusing BUG_ON() in situations where it is
not needed.
Proper error handling with recovery code and switching to drm_err* require case
by case analysis and fix, so this will be done in another series.

Francois Dugast (3):
  drm/xe/macro: Remove unused constant
  drm/xe: Prefer WARN() over BUG() to avoid crashing the kernel
  drm/xe/macro: Display XE_WARN_ON messages only in debug mode

 drivers/gpu/drm/i915/display/intel_display.c |  2 +-
 drivers/gpu/drm/xe/xe_bb.c                   |  8 +--
 drivers/gpu/drm/xe/xe_bo.c                   | 52 +++++++++---------
 drivers/gpu/drm/xe/xe_bo.h                   | 14 ++---
 drivers/gpu/drm/xe/xe_bo_evict.c             |  4 +-
 drivers/gpu/drm/xe/xe_execlist.c             | 14 ++---
 drivers/gpu/drm/xe/xe_force_wake.c           |  4 +-
 drivers/gpu/drm/xe/xe_force_wake.h           |  4 +-
 drivers/gpu/drm/xe/xe_ggtt.c                 | 12 ++---
 drivers/gpu/drm/xe/xe_gt_clock.c             |  4 +-
 drivers/gpu/drm/xe/xe_gt_debugfs.c           |  2 +-
 drivers/gpu/drm/xe/xe_gt_tlb_invalidation.c  | 12 ++---
 drivers/gpu/drm/xe/xe_guc.c                  | 22 ++++----
 drivers/gpu/drm/xe/xe_guc_ads.c              | 14 ++---
 drivers/gpu/drm/xe/xe_guc_ct.c               | 22 ++++----
 drivers/gpu/drm/xe/xe_guc_hwconfig.c         |  2 +-
 drivers/gpu/drm/xe/xe_guc_log.c              |  4 +-
 drivers/gpu/drm/xe/xe_guc_submit.c           | 48 ++++++++---------
 drivers/gpu/drm/xe/xe_huc.c                  |  2 +-
 drivers/gpu/drm/xe/xe_hw_engine.c            | 10 ++--
 drivers/gpu/drm/xe/xe_hw_fence.c             |  2 +-
 drivers/gpu/drm/xe/xe_lrc.c                  |  8 +--
 drivers/gpu/drm/xe/xe_macros.h               |  9 +++-
 drivers/gpu/drm/xe/xe_migrate.c              | 34 ++++++------
 drivers/gpu/drm/xe/xe_pt.c                   | 22 ++++----
 drivers/gpu/drm/xe/xe_res_cursor.h           | 12 ++---
 drivers/gpu/drm/xe/xe_ring_ops.c             |  8 +--
 drivers/gpu/drm/xe/xe_sched_job.c            |  2 +-
 drivers/gpu/drm/xe/xe_ttm_stolen_mgr.c       |  4 +-
 drivers/gpu/drm/xe/xe_uc_fw.c                | 16 +++---
 drivers/gpu/drm/xe/xe_uc_fw.h                |  2 +-
 drivers/gpu/drm/xe/xe_vm.c                   | 56 ++++++++++----------
 drivers/gpu/drm/xe/xe_wait_user_fence.c      |  2 +-
 drivers/gpu/drm/xe/xe_wopcm.c                | 18 +++----
 34 files changed, 228 insertions(+), 223 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-07-27 14:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-27 13:26 [Intel-xe] [PATCH v2 0/3] Remove use of BUG_ON Francois Dugast
2023-07-27 13:26 ` [Intel-xe] [PATCH v2 1/3] drm/xe/macro: Remove unused constant Francois Dugast
2023-07-27 13:56   ` Rodrigo Vivi
2023-07-27 13:26 ` [Intel-xe] [PATCH v2 2/3] drm/xe: Prefer WARN() over BUG() to avoid crashing the kernel Francois Dugast
2023-07-27 14:01   ` Rodrigo Vivi
2023-07-27 13:26 ` [Intel-xe] [PATCH v2 3/3] drm/xe/macro: Display XE_WARN_ON messages only in debug mode Francois Dugast
2023-07-27 14:03   ` Rodrigo Vivi
2023-07-27 14:42     ` Francois Dugast
2023-07-27 13:48 ` [Intel-xe] ✓ CI.Patch_applied: success for Remove use of BUG_ON Patchwork
2023-07-27 13:48 ` [Intel-xe] ✓ CI.checkpatch: " Patchwork
2023-07-27 13:49 ` [Intel-xe] ✓ CI.KUnit: " Patchwork
2023-07-27 13:53 ` [Intel-xe] ✓ CI.Build: " Patchwork
2023-07-27 13:54 ` [Intel-xe] ✓ CI.Hooks: " Patchwork
2023-07-27 13:55 ` [Intel-xe] ✗ CI.checksparse: warning " Patchwork
2023-07-27 14:29 ` [Intel-xe] ○ CI.BAT: info " Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox