]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add profiling tools for bandwidth validation
authorJoshua Aberback <joshua.aberback@amd.com>
Mon, 1 Apr 2019 19:21:24 +0000 (15:21 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 15 Apr 2019 05:22:19 +0000 (00:22 -0500)
commitd7aa8b01184acb9419c7521e0cc8beb58ccab8d8
treeb37f389fc6c5b6700feeb08329bd2a6c5c1a431b
parentc47e7e3f914eed82a2593c99cb558f1fae74051a
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>
drivers/gpu/drm/amd/display/dc/calcs/dcn_calcs.c
drivers/gpu/drm/amd/display/dc/dc.h