All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jani Nikula <jani.nikula@intel.com>
To: intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org
Cc: jani.nikula@intel.com
Subject: [PATCH 0/8] drm/print: cleanup and new drm_device based logging
Date: Wed,  9 Oct 2019 18:37:27 +0300	[thread overview]
Message-ID: <cover.1570635293.git.jani.nikula@intel.com> (raw)

For starters some fairly benign cleanup, and a proposal for new struct
drm_device based drm logging macros analoguous to core kernel struct
device based macros.

BR,
Jani.


Jani Nikula (8):
  drm/i915: use drm_debug_enabled() to check for debug categories
  drm/nouveau: use drm_debug_enabled() to check for debug categories
  drm/amdgpu: use drm_debug_enabled() to check for debug categories
  drm/print: rename drm_debug to __drm_debug to discourage use
  drm/print: underscore prefix functions that should be private to print
  drm/print: convert debug category macros into an enum
  drm/print: group logging functions by prink or device based
  drm/print: introduce new struct drm_device based logging macros

 drivers/gpu/drm/amd/amdgpu/smu_v11_0_i2c.c   |   4 +-
 drivers/gpu/drm/drm_print.c                  |  18 +-
 drivers/gpu/drm/i915/display/intel_display.c |   4 +-
 drivers/gpu/drm/i915/display/intel_dp.c      |   2 +-
 drivers/gpu/drm/i915/i915_drv.c              |   2 +-
 drivers/gpu/drm/i915/i915_gem.h              |   2 +-
 drivers/gpu/drm/i915/i915_utils.c            |   2 +-
 drivers/gpu/drm/i915/intel_pm.c              |   2 +-
 drivers/gpu/drm/nouveau/dispnv50/disp.h      |   4 +-
 drivers/gpu/drm/nouveau/nouveau_drv.h        |   4 +-
 include/drm/drm_print.h                      | 304 ++++++++++++-------
 11 files changed, 224 insertions(+), 124 deletions(-)

-- 
2.20.1

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

             reply	other threads:[~2019-10-09 15:37 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09 15:37 Jani Nikula [this message]
2019-10-09 15:37 ` [PATCH 1/8] drm/i915: use drm_debug_enabled() to check for debug categories Jani Nikula
2019-10-09 15:37 ` [PATCH 2/8] drm/nouveau: " Jani Nikula
2019-10-09 15:37 ` [PATCH 3/8] drm/amdgpu: " Jani Nikula
2019-10-09 15:37 ` [PATCH 4/8] drm/print: rename drm_debug to __drm_debug to discourage use Jani Nikula
2019-10-09 15:37 ` [PATCH 5/8] drm/print: underscore prefix functions that should be private to print Jani Nikula
2019-10-09 15:37 ` [PATCH 6/8] drm/print: convert debug category macros into an enum Jani Nikula
2019-10-09 15:37 ` [PATCH 7/8] drm/print: group logging functions by prink or device based Jani Nikula
2019-10-09 15:37 ` [PATCH 8/8] drm/print: introduce new struct drm_device based logging macros Jani Nikula
2019-10-09 18:15   ` Ruhl, Michael J
2019-10-10  9:32     ` Jani Nikula
2019-10-09 16:47 ` ✗ Fi.CI.CHECKPATCH: warning for drm/print: cleanup and new drm_device based logging Patchwork
2019-10-09 17:16 ` ✓ Fi.CI.BAT: success " Patchwork
2019-10-09 23:55 ` ✗ Fi.CI.IGT: failure " Patchwork

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=cover.1570635293.git.jani.nikula@intel.com \
    --to=jani.nikula@intel.com \
    --cc=dri-devel@lists.freedesktop.org \
    --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.