]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Rework registers tracepoint
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Wed, 2 Sep 2020 18:29:38 +0000 (14:29 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:34:08 +0000 (13:34 -0400)
commita28fdfd8753402b8c22246cf96a9520894e1a5c7
tree0fc2d5015ff041119731a4c15e1c105c36a931f4
parent380ec1ac4bdc17948d64698b8eb683f10e800c11
drm/amd/display: Rework registers tracepoint

amdgpu_dc_rreg and amdgpu_dc_wreg are very similar, for this reason,
this commits abstract these two events by using DECLARE_EVENT_CLASS and
create an instance of it for each one of these events.

Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h