From 6d244be884d20b1e9c912291a242dccedd6d9040 Mon Sep 17 00:00:00 2001 From: Tony Cheng Date: Thu, 20 Jul 2017 00:12:20 -0400 Subject: drm/amd/display: plumbing to allow easy print of HW state for DTN Signed-off-by: Tony Cheng Reviewed-by: Wesley Chalmers Acked-by: Harry Wentland Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/display/include/logger_interface.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'drivers/gpu/drm/amd/display/include') 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__); -- cgit v1.2.3