diff options
author | Anthony Koo | 2018-02-22 15:50:25 +0100 |
---|---|---|
committer | Alex Deucher | 2018-03-14 21:08:47 +0100 |
commit | a3e1737ed61c8b6ea078f477eee612e26f9d2561 (patch) | |
tree | 479253ee203048b79487c05160626b6277241eb3 /drivers/gpu/drm/amd/display/dc/basics | |
parent | drm/amd/display: early return if not in vga mode in disable_vga (diff) | |
download | kernel-qcow2-linux-a3e1737ed61c8b6ea078f477eee612e26f9d2561.tar.gz kernel-qcow2-linux-a3e1737ed61c8b6ea078f477eee612e26f9d2561.tar.xz kernel-qcow2-linux-a3e1737ed61c8b6ea078f477eee612e26f9d2561.zip |
drm/amd/display: Implement stats logging
Stats will be used for debug purposes
Signed-off-by: Anthony Koo <Anthony.Koo@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@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/dc/basics')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/basics/logger.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/basics/logger.c b/drivers/gpu/drm/amd/display/dc/basics/logger.c index 180a9d69d351..31bee054f43a 100644 --- a/drivers/gpu/drm/amd/display/dc/basics/logger.c +++ b/drivers/gpu/drm/amd/display/dc/basics/logger.c @@ -60,7 +60,8 @@ static const struct dc_log_type_info log_type_info_tbl[] = { {LOG_EVENT_LINK_LOSS, "LinkLoss"}, {LOG_EVENT_UNDERFLOW, "Underflow"}, {LOG_IF_TRACE, "InterfaceTrace"}, - {LOG_DTN, "DTN"} + {LOG_DTN, "DTN"}, + {LOG_PROFILING, "Profiling"} }; |