drm: drm_printer: Add printer for devcoredump
authorJordan Crouse <jcrouse@codeaurora.org>
Tue, 24 Jul 2018 16:33:20 +0000 (10:33 -0600)
committerRob Clark <robdclark@gmail.com>
Mon, 30 Jul 2018 12:49:31 +0000 (08:49 -0400)
commitcfc57a18a3c5dc95d06db80bddd30015162c57d2
tree31fd4f635ab93ea929beaa2040b5f7e90e85a89c
parent489cae632fc04927e8ef36ac8d8847193a41df3b
drm: drm_printer: Add printer for devcoredump

Add a drm printer suitable for use with the read callback for
devcoredump or other suitable buffer based output format that
isn't otherwise covered by seq_file.

v2: Add improved documentation per Daniel Vetter

Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/drm_print.c
include/drm/drm_print.h