diff options
author | Tony Cheng | 2017-11-08 22:07:53 +0100 |
---|---|---|
committer | Alex Deucher | 2017-12-06 18:48:08 +0100 |
commit | dce46c53208f90cf5a401b62b17bbe2bc629c069 (patch) | |
tree | 94f998dc20b86e4aea7bdfe573033bd2dd29fe54 /drivers/gpu/drm/amd/display/dc/dcn10 | |
parent | drm/amd/display: Remove unnecessary dc_link vtable (diff) | |
download | kernel-qcow2-linux-dce46c53208f90cf5a401b62b17bbe2bc629c069.tar.gz kernel-qcow2-linux-dce46c53208f90cf5a401b62b17bbe2bc629c069.tar.xz kernel-qcow2-linux-dce46c53208f90cf5a401b62b17bbe2bc629c069.zip |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/dcn10')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c index c92eba0f0df8..ad0e3b9be055 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c @@ -1047,6 +1047,8 @@ dcn10_translate_regamma_to_hw_format(const struct dc_transfer_func *output_tf, if (output_tf == NULL || regamma_params == NULL || output_tf->type == TF_TYPE_BYPASS) return false; + PERF_TRACE(); + arr_points = regamma_params->arr_points; rgb_resulted = regamma_params->rgb_resulted; hw_points = 0; @@ -1189,6 +1191,8 @@ dcn10_translate_regamma_to_hw_format(const struct dc_transfer_func *output_tf, convert_to_custom_float(rgb_resulted, arr_points, hw_points); + PERF_TRACE(); + return true; } |