drm/amd/display: performance profiling instrumentation
Signed-off-by: Tony Cheng <tony.cheng@amd.com> Reviewed-by: Yongqiang Sun <yongqiang.sun@amd.com> Acked-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
@@ -372,6 +372,13 @@ bool dm_dmcu_set_pipe(struct dc_context *ctx, unsigned int controller_id);
|
||||
|
||||
unsigned long long dm_get_timestamp(struct dc_context *ctx);
|
||||
|
||||
/*
|
||||
* performance tracing
|
||||
*/
|
||||
void dm_perf_trace_timestamp(const char *func_name, unsigned int line);
|
||||
#define PERF_TRACE() dm_perf_trace_timestamp(__func__, __LINE__)
|
||||
|
||||
|
||||
/*
|
||||
* Debug and verification hooks
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user