UPSTREAM: drm: Introduce DRM_DEV_* log messages
authorSean Paul <seanpaul@chromium.org>
Mon, 15 Aug 2016 23:18:04 +0000 (16:18 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Mon, 19 Dec 2016 10:06:20 +0000 (18:06 +0800)
commit20838128484d7a72addefa65c87790aed9f8769a
tree6715d83040c43b4ee5dfd55e86a8aba37b7586f5
parentdf8f1d7529bcc34f3cf3985d8549f8bb1ccabc71
UPSTREAM: drm: Introduce DRM_DEV_* log messages

This patch consolidates all the various log functions/macros into
one uber function, drm_log. It also introduces some new DRM_DEV_*
variants that print the device name to delineate multiple devices
of the same type.

Change-Id: Ic213cce1d775cc7b820473ee5263458a001f9558
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/1471303084-3757-1-git-send-email-seanpaul@chromium.org
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit c4e68a5832021cf8c2f9a2f3419452470ca60bd8)
drivers/gpu/drm/drm_drv.c
include/drm/drmP.h