[Intel-gfx] [PATCH 0/5] drm/i915: some BUG_ON() removals

Jani Nikula jani.nikula at intel.com
Fri Aug 26 08:38:12 UTC 2022


Avoid BUG_ON(). Remove some of the low-hanging fruit.

Jani Nikula (5):
  drm/i915/crt: replace BUG_ON() with drm_WARN_ON()
  drm/i915/dpll: replace BUG_ON() with drm_WARN_ON()
  drm/i915/pch: replace BUG_ON() with drm_WARN_ON()
  drm/i915/perf: replace BUG_ON() with WARN_ON()
  drm/i915/fence: replace BUG_ON() with BUILD_BUG_ON()

 drivers/gpu/drm/i915/display/intel_crt.c        | 3 ++-
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c   | 6 ++++--
 drivers/gpu/drm/i915/display/intel_pch_refclk.c | 2 +-
 drivers/gpu/drm/i915/i915_perf.c                | 3 ++-
 drivers/gpu/drm/i915/i915_sw_fence.c            | 2 --
 drivers/gpu/drm/i915/i915_sw_fence.h            | 6 +++++-
 6 files changed, 14 insertions(+), 8 deletions(-)

-- 
2.34.1



More information about the Intel-gfx mailing list