]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Add DMUB tracebuffer debugfs
authorNicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Wed, 15 Jan 2020 19:39:52 +0000 (14:39 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 6 Feb 2020 20:04:38 +0000 (15:04 -0500)
commitc8971760c5ad27af52981d6d2bc2e2f8ba5d5214
tree9bedea5c19346249c22eb8f29ed5024cbc2ca7c3
parent851f947fc2440183803eec4b6ba04c563e168da6
drm/amd/display: Add DMUB tracebuffer debugfs

[Why]
The DMUB tracebuffer is useful for understanding DMCUB execution state.

[How]
Add a "show" attribute debugfs so we can loop through the buffer
and print the entries.

The structs for the entry format are defined in the debugfs since
the tracebuffer header no longer exists in the DMUB service.

Signed-off-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Reviewed-by: Hersen Wu <hersenxs.wu@amd.com>
Acked-by: Bhawanpreet Lakha <Bhawanpreet.Lakha@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_debugfs.c