]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Decouple amdgpu_dm_trace from service
authorRodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Tue, 15 Sep 2020 16:33:43 +0000 (12:33 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 26 Oct 2020 17:33:59 +0000 (13:33 -0400)
commit62cd42c2d68739a5225c94ccfa40d3ceea839bff
tree5da18604fc3cf4282ada179aac9ad6ea6e4c8f8e
parentc3d4c8271a8dfd6ec12b7f25bafbf3b02e580847
drm/amd/display: Decouple amdgpu_dm_trace from service

Our DC currently uses some of the tracepoint function inside a DC
header, which means that many other files implicitly include part of the
trace function. This situation limits how we can expand this feature for
other parts of the driver by generating multiple compilation errors when
we try to reuse some of the existing structures. This commit decouples
part of the amdgpu_dm_trace from DC core to simplify the trace
enlargement in future changes.

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.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_services.c
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_trace.h
drivers/gpu/drm/amd/display/dc/dc_helper.c
drivers/gpu/drm/amd/display/dc/dm_services.h