diff options
author | David Francis <David.Francis@amd.com> | 2018-11-30 09:57:06 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-12-05 17:49:49 -0500 |
commit | 0cf5eb76e2b453b3d159082eb4707c03a1686cf7 (patch) | |
tree | c8ad7d7aa3e1a9f2817eb67ae68653af60b9b86b /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | 5d66ef38bc9df8964ec7b6eb5091dae5e8fe67b4 (diff) | |
download | linux-0cf5eb76e2b453b3d159082eb4707c03a1686cf7.tar.gz linux-0cf5eb76e2b453b3d159082eb4707c03a1686cf7.tar.bz2 linux-0cf5eb76e2b453b3d159082eb4707c03a1686cf7.zip |
drm/amd/display: Add tracing to dc
[Why]
Tracing is a useful and cheap debug functionality
[How]
This creates a new trace system amdgpu_dm, currently with
three trace events
amdgpu_dc_rreg and amdgpu_dc_wreg report the address and value
of any dc register reads and writes
amdgpu_dc_performance requires at least one of those two to be
enabled. It counts the register reads and writes since the
last entry
v2: Don't check for NULL before kfree
Signed-off-by: David Francis <David.Francis@amd.com>
Reviewed-by: Harry Wentland <Harry.Wentland@amd.com>
Acked-by: Leo Li <sunpeng.li@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions