drm/amd/display: Add dm_logger_append_va API

Same as dm_logger_append, except it takes a va_list instead of a
variable number of arguments. dm_logger_append is now a minimal wrapper
around dm_logger_append_va.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Michel Dänzer <michel.daenzer@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Michel Dänzer
2017-11-28 12:06:13 +01:00
committed by Alex Deucher
parent cf7d1bdf2b
commit d6f068a53b
2 changed files with 17 additions and 5 deletions

View File

@@ -57,6 +57,11 @@ void dm_logger_append(
const char *msg,
...);
void dm_logger_append_va(
struct log_entry *entry,
const char *msg,
va_list args);
void dm_logger_open(
struct dal_logger *logger,
struct log_entry *entry,