diff options
author | Tony Cheng | 2017-07-20 06:12:20 +0200 |
---|---|---|
committer | Alex Deucher | 2017-09-27 00:15:23 +0200 |
commit | 6d244be884d20b1e9c912291a242dccedd6d9040 (patch) | |
tree | 2ad85bb4fbb956dcaa23a2cf67f129d785768188 /drivers/gpu/drm/amd/display/include | |
parent | drm/amd/display: register programming consolidation (diff) | |
download | kernel-qcow2-linux-6d244be884d20b1e9c912291a242dccedd6d9040.tar.gz kernel-qcow2-linux-6d244be884d20b1e9c912291a242dccedd6d9040.tar.xz kernel-qcow2-linux-6d244be884d20b1e9c912291a242dccedd6d9040.zip |
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')
-rw-r--r-- | drivers/gpu/drm/amd/display/include/logger_interface.h | 4 |
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__); |