All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/12] drm/i915/display: conversion to drm_device based logging macros
@ 2020-01-30  8:32 ` Wambui Karuga
  0 siblings, 0 replies; 45+ messages in thread
From: Wambui Karuga @ 2020-01-30  8:32 UTC (permalink / raw)
  To: jani.nikula, joonas.lahtinen, rodrigo.vivi, airlied, daniel
  Cc: intel-gfx, sean, linux-kernel, dri-devel

This series continues the conversion of the printk based logging macros
to the new struct drm_device based logging macros in the drm/i915/display
folder.
This series was achieved using the following coccinelle script
that transforms based on the existence of a struct drm_i915_private
instance in the function:
@@
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,
...)
)
...+>
}

@@
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,
...)
)
...+>
}


Wambui Karuga (12):
  drm/i915/vlv_dsi_pll: conversion to struct drm_device logging macros.
  drm/i915/vlv_dsi: conversion to drm_device based logging macros.
  drm/i915/vga: conversion to drm_device based logging macros.
  drm/i915/vdsc: convert to struct drm_device based logging macros.
  drm/i915/tv: automatic conversion to drm_device based logging macros.
  drm/i915/tc: automatic conversion to drm_device based logging macros.
  drm/i915/sprite: automatic conversion to drm_device based logging
    macros
  drm/i915/sdvo: automatic conversion to drm_device based logging
    macros.
  drm/i915/quirks: automatic conversion to drm_device based logging
    macros.
  drm/i915/psr: automatic conversion to drm_device based logging macros.
  drm/i915/pipe_crc: automatic conversion to drm_device based logging
    macros.
  drm/i915/panel: automatic conversion to drm_device based logging
    macros.

 drivers/gpu/drm/i915/display/intel_panel.c    | 100 ++++++++------
 drivers/gpu/drm/i915/display/intel_pipe_crc.c |   7 +-
 drivers/gpu/drm/i915/display/intel_psr.c      | 128 +++++++++++-------
 drivers/gpu/drm/i915/display/intel_quirks.c   |  10 +-
 drivers/gpu/drm/i915/display/intel_sdvo.c     |  29 ++--
 drivers/gpu/drm/i915/display/intel_sprite.c   |  60 ++++----
 drivers/gpu/drm/i915/display/intel_tc.c       |  33 +++--
 drivers/gpu/drm/i915/display/intel_tv.c       |  26 ++--
 drivers/gpu/drm/i915/display/intel_vdsc.c     |  28 ++--
 drivers/gpu/drm/i915/display/intel_vga.c      |   7 +-
 drivers/gpu/drm/i915/display/vlv_dsi.c        |  80 ++++++-----
 drivers/gpu/drm/i915/display/vlv_dsi_pll.c    |  47 ++++---
 12 files changed, 322 insertions(+), 233 deletions(-)

-- 
2.25.0

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2020-02-04  9:29 UTC | newest]

Thread overview: 45+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-30  8:32 [PATCH 00/12] drm/i915/display: conversion to drm_device based logging macros Wambui Karuga
2020-01-30  8:32 ` Wambui Karuga
2020-01-30  8:32 ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 01/12] drm/i915/vlv_dsi_pll: conversion to struct drm_device " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 02/12] drm/i915/vlv_dsi: conversion to drm_device based " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 03/12] drm/i915/vga: " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 04/12] drm/i915/vdsc: convert to struct " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 05/12] drm/i915/tv: automatic conversion to " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 06/12] drm/i915/tc: " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 07/12] drm/i915/sprite: " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 08/12] drm/i915/sdvo: " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 09/12] drm/i915/quirks: " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 10/12] drm/i915/psr: " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 11/12] drm/i915/pipe_crc: " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  8:32 ` [PATCH 12/12] drm/i915/panel: " Wambui Karuga
2020-01-30  8:32   ` Wambui Karuga
2020-01-30  8:32   ` [Intel-gfx] " Wambui Karuga
2020-01-30  9:20 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915/display: " Patchwork
2020-01-30 11:12 ` [Intel-gfx] ✓ Fi.CI.BAT: success for drm/i915/display: conversion to drm_device based logging macros (rev2) Patchwork
2020-02-01 21:58 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2020-02-04  9:28 ` [PATCH 00/12] drm/i915/display: conversion to drm_device based logging macros Jani Nikula
2020-02-04  9:28   ` Jani Nikula
2020-02-04  9:28   ` [Intel-gfx] " Jani Nikula

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.