diff options
author | Joshua Aberback <joshua.aberback@amd.com> | 2019-04-01 15:21:24 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-04-15 00:22:19 -0500 |
commit | f55be0be5b7296e73f1634e2839a1953dc12d11e (patch) | |
tree | b37f389fc6c5b6700feeb08329bd2a6c5c1a431b /drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c | |
parent | afcd526b1ba9dbc5707f9bd8d2d032ae62e337dc (diff) |
drm/amd/display: Add profiling tools for bandwidth validation
[Why]
We used this change to investigate the performance of bandwidth validation,
it will be useful to have if we need to investigate further.
[How]
We use performance counter tick numbers to profile performance, they live
at dc->debug.bw_val_profile (set .enable in debugger to turn on measuring).
Signed-off-by: Joshua Aberback <joshua.aberback@amd.com>
Reviewed-by: Tony Cheng <Tony.Cheng@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sa.c')
0 files changed, 0 insertions, 0 deletions