diff options
author | Dmytro Laktyushkin <Dmytro.Laktyushkin@amd.com> | 2017-10-06 22:40:07 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2017-10-21 23:50:00 +0300 |
commit | 215a6f05bcc18ffcd953a8527639ea1f571f4d81 (patch) | |
tree | 9398f8dca5f217c536b8974cb3ae62dce4993690 /drivers/gpu/drm/amd/display/dc/dm_services.h | |
parent | 9bbc30310f240c9400e31c7ab7b7edd2b76b3589 (diff) | |
download | linux-215a6f05bcc18ffcd953a8527639ea1f571f4d81.tar.xz |
drm/amd/display: add performance trace macro to dc
Signed-off-by: Dmytro Laktyushkin <Dmytro.Laktyushkin@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/dm_services.h')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dm_services.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dm_services.h b/drivers/gpu/drm/amd/display/dc/dm_services.h index a11991c382de..d6b3b832986b 100644 --- a/drivers/gpu/drm/amd/display/dc/dm_services.h +++ b/drivers/gpu/drm/amd/display/dc/dm_services.h @@ -418,6 +418,8 @@ bool dm_dmcu_set_pipe(struct dc_context *ctx, unsigned int controller_id); #define dm_log_to_buffer(buffer, size, fmt, args)\ vsnprintf(buffer, size, fmt, args) +unsigned long long dm_get_timestamp(struct dc_context *ctx); + /* * Debug and verification hooks */ |