Skip to content

drm/i915: some BUG_ON() removals

Jani Nikula intel-gfx 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/i915/crt: replace BUG_ON() with drm_WARN_ON()drivers/gpu/drm/i915/display/intel_crt.c+2 -11 reply
2/5drm/i915/dpll: replace BUG_ON() with drm_WARN_ON()drivers/gpu/drm/i915/display/intel_dpll_mgr.c+4 -21 reply
3/5drm/i915/pch: replace BUG_ON() with drm_WARN_ON()drivers/gpu/drm/i915/display/intel_pch_refclk.c+1 -10 replies
4/5drm/i915/perf: replace BUG_ON() with WARN_ON()drivers/gpu/drm/i915/i915_perf.c+2 -10 replies
5/5drm/i915/fence: replace BUG_ON() with BUILD_BUG_ON()drivers/gpu/drm/i915/i915_sw_fence.c drivers/gpu/drm/i915/i915_sw_fence.h+5 -30 replies

Reviews trailers per patch

1 of 5 patches has a Reviewed-by or Acked-by.

PatchVille Syrjälä
1/5
2/5R-b
3/5
4/5
5/5

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

Read the v1 thread

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

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(-)
Signature · 1 line
2.34.1