drm/printer: add debug printer
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Dec 2016 16:42:09 +0000 (17:42 +0100)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 30 Dec 2016 10:43:40 +0000 (11:43 +0100)
commit3d387d923c18afbacef8f14ccaa2ace2a297df74
tree45e4cc2a822b06f5baefa71e32fcc51766b96893
parentae774e2c68d19da7a8e982889a5a1684cac93c78
drm/printer: add debug printer

Useful for dumping lots of data into dmesg, e.g. drm_mm.

v2: Fixup export_symbol line, I misplaced a hunk (Chris).

Cc: Rob Clark <robdclark@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1482943330-11592-1-git-send-email-daniel.vetter@ffwll.ch
drivers/gpu/drm/drm_print.c
include/drm/drm_print.h