From: Wambui Karuga <wambui.karugax@gmail.com>
To: jani.nikula@linux.intel.com, joonas.lahtinen@linux.intel.com,
rodrigo.vivi@intel.com, airlied@linux.ie, daniel@ffwll.ch,
intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org,
linux-kernel@vger.kernel.org
Subject: [PATCH 0/6] conversion to struct drm_device logging macros.
Date: Tue, 21 Jan 2020 17:31:49 +0300 [thread overview]
Message-ID: <20200121143155.20856-1-wambui.karugax@gmail.com> (raw)
This series continues the ongoing conversion to the new struct
drm_device based logging macros for debug in i915. This series was done
using the coccinelle script:
@rule1@
identifier fn, T;
@@
fn(...,struct drm_i915_private *T,...) {
<+...
(
-DRM_INFO(
+drm_info(&T->drm,
...)
|
-DRM_ERROR(
+drm_err(&T->drm,
...)
|
-DRM_WARN(
+drm_warn(&T->drm,
...)
|
-DRM_DEBUG(
+drm_dbg(&T->drm,
...)
|
-DRM_DEBUG_DRIVER(
+drm_dbg(&T->drm,
...)
|
-DRM_DEBUG_KMS(
+drm_dbg_kms(&T->drm,
...)
|
-DRM_DEBUG_ATOMIC(
+drm_dbg_atomic(&T->drm,
...)
)
...+>
}
@rule2@
identifier fn, T;
@@
fn(...) {
...
struct drm_i915_private *T = ...;
<+...
(
-DRM_INFO(
+drm_info(&T->drm,
...)
|
-DRM_ERROR(
+drm_err(&T->drm,
...)
|
-DRM_WARN(
+drm_warn(&T->drm,
...)
|
-DRM_DEBUG(
+drm_dbg(&T->drm,
...)
|
-DRM_DEBUG_KMS(
+drm_dbg_kms(&T->drm,
...)
|
-DRM_DEBUG_DRIVER(
+drm_dbg(&T->drm,
...)
|
-DRM_DEBUG_ATOMIC(
+drm_dbg_atomic(&T->drm,
...)
)
...+>
}
Wambui Karuga (6):
drm/i915/dsi: conversion to struct drm_device log macros
drm/i915/ddi: convert to struct drm_device log macros.
drm/i915/power: convert to struct drm_device macros in
display/intel_display_power.c
drm/i915/dp: conversion to struct drm_device logging macros.
drm/i915/opregion: conversion to struct drm_device logging macros.
drm/i915/hdcp: conversion to struct drm_device based logging macros
drivers/gpu/drm/i915/display/icl_dsi.c | 82 ++--
drivers/gpu/drm/i915/display/intel_ddi.c | 98 +++--
.../drm/i915/display/intel_display_power.c | 177 +++++----
drivers/gpu/drm/i915/display/intel_dp.c | 349 ++++++++++--------
drivers/gpu/drm/i915/display/intel_hdcp.c | 138 ++++---
drivers/gpu/drm/i915/display/intel_opregion.c | 134 ++++---
6 files changed, 572 insertions(+), 406 deletions(-)
--
2.17.1
next reply other threads:[~2020-01-21 14:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-21 14:31 Wambui Karuga [this message]
2020-01-21 14:31 ` [PATCH 1/6] drm/i915/dsi: conversion to struct drm_device log macros Wambui Karuga
2020-01-21 14:31 ` [PATCH 2/6] drm/i915/ddi: convert " Wambui Karuga
2020-01-21 14:31 ` [PATCH 3/6] drm/i915/power: convert to struct drm_device macros in display/intel_display_power.c Wambui Karuga
2020-01-21 14:31 ` [PATCH 4/6] drm/i915/dp: conversion to struct drm_device logging macros Wambui Karuga
2020-01-21 14:31 ` [PATCH 5/6] drm/i915/opregion: " Wambui Karuga
2020-01-21 14:31 ` [PATCH 6/6] drm/i915/hdcp: conversion to struct drm_device based " Wambui Karuga
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=20200121143155.20856-1-wambui.karugax@gmail.com \
--to=wambui.karugax@gmail.com \
--cc=airlied@linux.ie \
--cc=daniel@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=intel-gfx@lists.freedesktop.org \
--cc=jani.nikula@linux.intel.com \
--cc=joonas.lahtinen@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rodrigo.vivi@intel.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®