]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Use correct path to trace include
authorThierry Reding <treding@nvidia.com>
Fri, 1 Sep 2017 16:54:01 +0000 (12:54 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 1 Sep 2017 19:01:20 +0000 (15:01 -0400)
commit1430f73beb7fd4655d3fbd2e373615eca016f9c3
tree0a7c68502ea241a14602d0347c11f767a59b0e44
parent60233daca067cbef01fef6fdf457c1c11defcc90
drm/amdgpu: Use correct path to trace include

The header comment in include/trace/define_trace.h specifies that the
TRACE_INCLUDE_PATH needs to be relative to the define_trace.h header
rather than the trace file including it. Most instances get that wrong
and work around it by adding the $(src) directory to the include path.

While this works, it is preferable to refer to the correct path to the
trace file in the first place and avoid any workaround.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/Makefile
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h