]> asedeno.scripts.mit.edu Git - linux.git/commit
drm: Enable pr_debug() for drm_printer
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 27 Oct 2017 11:06:02 +0000 (12:06 +0100)
committerSean Paul <seanpaul@chromium.org>
Mon, 30 Oct 2017 20:59:21 +0000 (16:59 -0400)
commit79a5ad2fdb3cb48e9c4e9d0d7688f0401cdb85d5
treeee9e76850a5f789827e33120e620d1dcfe7be50f
parent39c9ce70f13a3127a8057e30b48a239bf08f7c8e
drm: Enable pr_debug() for drm_printer

pr_debug() is conditionally compiled and requires either
dynamic-debugging to be enabled or for the code to opt-in using #define
DEBUG. Since drm_print provides a central debugging facility using
pr_debug(), make sure it will always produce output.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Rob Clark <robdclark@gmail.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20171027110602.31519-1-chris@chris-wilson.co.uk
drivers/gpu/drm/drm_print.c