[PATCH 0/2] Introduce DRM_DEV_* logging

Sean Paul seanpaul at chromium.org
Fri Aug 12 10:00:52 PDT 2016


This patch set refactors some of the logging functions and introduces
a new class of DRM_DEV_* messages which print the device name along
with the other drm goodness.

Note that the ERROR message format remains the same (with the *ERROR*
prefix), however INFO messages now include the function name, e.g.
instead of "[drm] My info message", it is now "[drm:my_function] My 
info message".

The second patch updates rockchip vop to use the new log messages.

This is tested on rockchip and compiled on i915/multi-v7/tegra/exynos/drm-misc

Sean Paul (2):
  drm: Introduce DRM_DEV_* log messages
  drm/rockchip: Use DRM_DEV_ERROR in vop

 drivers/gpu/drm/drm_drv.c                   |  31 +++----
 drivers/gpu/drm/rockchip/rockchip_drm_vop.c |  24 ++---
 include/drm/drmP.h                          | 133 +++++++++++++++-------------
 3 files changed, 96 insertions(+), 92 deletions(-)

-- 
2.8.0.rc3.226.g39d4020




More information about the Linux-rockchip mailing list