]> 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)
commit380ec1ac4bdc17948d64698b8eb683f10e800c11
tree5da18604fc3cf4282ada179aac9ad6ea6e4c8f8e
parent31b214c0601edd7de2f83da928ad54496a9ba5a9
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