All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Intel graphics driver community testing & development
	<intel-gfx@lists.freedesktop.org>
Subject: [PATCH v2 0/4] Optionally display recurring warning messages
Date: Fri, 18 Dec 2015 13:08:14 +0200	[thread overview]
Message-ID: <1450436898-20408-1-git-send-email-joonas.lahtinen@linux.intel.com> (raw)

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@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

             reply	other threads:[~2015-12-18 11:08 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-18 11:08 Joonas Lahtinen [this message]
2015-12-18 11:08 ` [PATCH v2 1/4] drm/i915: Decouple struct i915_params i915 into i915_params.h Joonas Lahtinen
2015-12-18 11:08 ` [PATCH v2 2/4] drm/i915: Reorder i915_params struct Joonas Lahtinen
2015-12-21 13:35   ` Daniel Vetter
2015-12-18 11:08 ` [PATCH v2 3/4] drm/i915: Add WARN_RECUR and i915.recur_warnings Joonas Lahtinen
2015-12-18 11:30   ` Chris Wilson
2015-12-18 11:08 ` [PATCH v2 4/4] drm/i915: Use WARN_RECUR for recurring warning messages Joonas Lahtinen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1450436898-20408-1-git-send-email-joonas.lahtinen@linux.intel.com \
    --to=joonas.lahtinen@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.