aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/display/include/logger_interface.h
diff options
context:
space:
mode:
authorTony Cheng <[email protected]>2017-07-20 04:12:20 +0000
committerAlex Deucher <[email protected]>2017-09-26 22:15:23 +0000
commit6d244be884d20b1e9c912291a242dccedd6d9040 (patch)
tree2ad85bb4fbb956dcaa23a2cf67f129d785768188 /drivers/gpu/drm/amd/display/include/logger_interface.h
parentdrm/amd/display: register programming consolidation (diff)
downloadkernel-6d244be884d20b1e9c912291a242dccedd6d9040.tar.gz
kernel-6d244be884d20b1e9c912291a242dccedd6d9040.zip
drm/amd/display: plumbing to allow easy print of HW state for DTN
Signed-off-by: Tony Cheng <[email protected]> Reviewed-by: Wesley Chalmers <[email protected]> Acked-by: Harry Wentland <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
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__);