All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] conversion to struct drm_device logging macros.
@ 2020-01-21 14:31 ` Wambui Karuga
  0 siblings, 0 replies; 23+ messages in thread
From: Wambui Karuga @ 2020-01-21 14:31 UTC (permalink / raw)
  To: jani.nikula, joonas.lahtinen, rodrigo.vivi, airlied, daniel,
	intel-gfx, dri-devel, linux-kernel

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


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2020-01-23 10:23 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-21 14:31 [PATCH 0/6] conversion to struct drm_device logging macros Wambui Karuga
2020-01-21 14:31 ` [Intel-gfx] " Wambui Karuga
2020-01-21 14:31 ` Wambui Karuga
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   ` [Intel-gfx] " Wambui Karuga
2020-01-21 14:31   ` Wambui Karuga
2020-01-21 14:31 ` [PATCH 2/6] drm/i915/ddi: convert " Wambui Karuga
2020-01-21 14:31   ` [Intel-gfx] " Wambui Karuga
2020-01-21 14:31   ` 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   ` [Intel-gfx] " Wambui Karuga
2020-01-21 14:31   ` 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   ` [Intel-gfx] " Wambui Karuga
2020-01-21 14:31   ` Wambui Karuga
2020-01-21 14:31 ` [PATCH 5/6] drm/i915/opregion: " Wambui Karuga
2020-01-21 14:31   ` [Intel-gfx] " Wambui Karuga
2020-01-21 14:31   ` Wambui Karuga
2020-01-21 14:31 ` [PATCH 6/6] drm/i915/hdcp: conversion to struct drm_device based " Wambui Karuga
2020-01-21 14:31   ` [Intel-gfx] " Wambui Karuga
2020-01-21 14:31   ` Wambui Karuga
2020-01-21 19:50 ` [Intel-gfx] ✗ Fi.CI.BUILD: failure for conversion to struct drm_device " Patchwork
2020-01-21 21:56   ` Wambui Karuga

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.