lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200130083229.12889-1-wambui.karugax@gmail.com>
Date:   Thu, 30 Jan 2020 11:32:17 +0300
From:   Wambui Karuga <wambui.karugax@...il.com>
To:     jani.nikula@...ux.intel.com, joonas.lahtinen@...ux.intel.com,
        rodrigo.vivi@...el.com, airlied@...ux.ie, daniel@...ll.ch
Cc:     sean@...rly.run, intel-gfx@...ts.freedesktop.org,
        dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org
Subject: [PATCH 00/12] drm/i915/display: conversion to drm_device based logging macros

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ