diff options
| author | Corbin McElhanney <[email protected]> | 2017-06-23 21:45:50 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2017-09-26 22:08:24 +0000 |
| commit | 9ff1bb090b40949cddfbb904e613395ad2633fc7 (patch) | |
| tree | 1781c57eaf6bd2cee6b8ba974a8eaad30d311a80 /drivers/gpu/drm/amd/display/include/logger_interface.h | |
| parent | drm/amd/display: Connect DC resource to FBC compressor (diff) | |
| download | kernel-9ff1bb090b40949cddfbb904e613395ad2633fc7.tar.gz kernel-9ff1bb090b40949cddfbb904e613395ad2633fc7.zip | |
drm/amd/display: Add extra mode and clock info to DTN logs
Adds some additional information to logs in dc_commit_streams to
better match Dal2.
Also adds a new function, dc_raw_log, that has the same
functionality as dc_conn_log, but does not attach display specific
prefixes to the log output.
Finally, adds a new DC log type, LOG_DTN, that logs to
LogMinor_DispConnect_dtn in DM. This new log type and dc_raw_log
are used to generate clock info in the logs to match Dal2.
Signed-off-by: Corbin McElhanney <[email protected]>
Reviewed-by: Aric Cyr <[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.h | 5 |
1 files changed, 5 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 b75c343f8680..ce5fef243b09 100644 --- a/drivers/gpu/drm/amd/display/include/logger_interface.h +++ b/drivers/gpu/drm/amd/display/include/logger_interface.h @@ -70,6 +70,11 @@ void dc_conn_log(struct dc_context *ctx, const char *msg, ...); +void dc_raw_log(struct dc_context *ctx, + enum dc_log_type event, + const char *msg, + ...); + void logger_write(struct dal_logger *logger, enum dc_log_type log_type, const char *msg, |
