[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Move stolen memory handling details into i915_gem_stolen (rev3)

Patchwork patchwork at emeril.freedesktop.org
Mon Jul 31 10:50:57 UTC 2023


== Series Details ==

Series: Move stolen memory handling details into i915_gem_stolen (rev3)
URL   : https://patchwork.freedesktop.org/series/119123/
State : warning

== Summary ==

Error: dim checkpatch failed
e5ae0e9c620c drm/i915: Move stolen memory handling into i915_gem_stolen
-:44: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#44: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:334:
+	GEM_BUG_ON(range_overflows_end_t(u64, i915_gem_stolen_area_address(i915),

-:47: WARNING:AVOID_BUG: Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
#47: FILE: drivers/gpu/drm/i915/display/intel_fbc.c:337:
+	GEM_BUG_ON(range_overflows_end_t(u64, i915_gem_stolen_area_address(i915),

total: 0 errors, 2 warnings, 0 checks, 177 lines checked
6b051a8362fa drm/i915/fbc: Make FBC check stolen at use time
28c2f05de687 drm/i915/fbc: Moved fence related code away from intel_fbc
-:70: CHECK:MACRO_ARG_PRECEDENCE: Macro argument 'gt' may be better as '(gt)' to avoid precedence issues
#70: FILE: drivers/gpu/drm/i915/gt/intel_gt_types.h:312:
+#define intel_gt_support_legacy_fencing(gt) (gt->ggtt->num_fences > 0)

total: 0 errors, 0 warnings, 1 checks, 54 lines checked




More information about the Intel-gfx mailing list