[PATCH v2 0/4] Optionally display recurring warning messages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Wakeref series introduced multiple WARN_ONCE clauses which might be
triggered from several sources (hangcheck or cache flusing for example),
this series adds an i915.recur_warnings option and WARN_RECUR macro.

The WARN_ONCE calls are converted into WARN_RECUR which always WARNs if
recur_warnings option is set. This is useful in the CI. Without the
option in end user system scenario, WARN_ONCE behaviour is kept.

Had to reorder i915_params to get rid of circular include dependency.

v2:
- Abandoned I915_DEBUG_* macros and related patches to own series

Joonas Lahtinen (4):
  drm/i915: Decouple struct i915_params i915 into i915_params.h
  drm/i915: Reorder i915_params struct.
  drm/i915: Add WARN_RECUR and i915.recur_warnings
  drm/i915: Use WARN_RECUR for recurring warning messages

 drivers/gpu/drm/i915/i915_drv.h    | 50 +++++++--------------------
 drivers/gpu/drm/i915/i915_params.c |  7 ++++
 drivers/gpu/drm/i915/i915_params.h | 69 ++++++++++++++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_drv.h   |  6 ++--
 4 files changed, 91 insertions(+), 41 deletions(-)
 create mode 100644 drivers/gpu/drm/i915/i915_params.h

-- 
2.4.3

_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux