summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/display/include/logger_interface.h
diff options
context:
space:
mode:
authorTony Cheng <tony.cheng@amd.com>2017-07-20 00:12:20 -0400
committerAlex Deucher <alexander.deucher@amd.com>2017-09-26 18:15:23 -0400
commit6d244be884d20b1e9c912291a242dccedd6d9040 (patch)
tree2ad85bb4fbb956dcaa23a2cf67f129d785768188 /drivers/gpu/drm/amd/display/include/logger_interface.h
parentfc0956909f24d2cd6f69777881bcccd771a06f35 (diff)
drm/amd/display: plumbing to allow easy print of HW state for DTN
Signed-off-by: Tony Cheng <tony.cheng@amd.com> Reviewed-by: Wesley Chalmers <Wesley.Chalmers@amd.com> Acked-by: Harry Wentland <Harry.Wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/include/logger_interface.h')
-rw-r--r--drivers/gpu/drm/amd/display/include/logger_interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/include/logger_interface.h b/drivers/gpu/drm/amd/display/include/logger_interface.h
index ce5fef243b09..c861e726cd8f 100644
--- a/drivers/gpu/drm/amd/display/include/logger_interface.h
+++ b/drivers/gpu/drm/amd/display/include/logger_interface.h
@@ -123,6 +123,10 @@ void context_clock_trace(
dm_logger_write(dc_ctx->logger, LOG_ERROR, \
__VA_ARGS__);
+#define DTN_INFO(...) \
+ dm_logger_write(dc_ctx->logger, LOG_DTN, \
+ __VA_ARGS__)
+
#define DC_SYNC_INFO(...) \
dm_logger_write(dc_ctx->logger, LOG_SYNC, \
__VA_ARGS__);