Skip to contentSkip to conversation

drm/amd/amdgpu: Fix TRACE include path

PATCH In review Tom St Denis 3 participants 4 messages Sep 1, 2017 2 messages not in the archive

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 drm/amd/amdgpu: Fix TRACE include path

---
 drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/amdgpu/amdgpu_trace.h +1 -1
index b1f97417241d..cef1a26deb2d 100644
@@ -417,5 +417,5 @@ TRACE_EVENT(amdgpu_ttm_bo_move,
 
 /* This part must be outside protection */
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/amd/amdgpu/
 #include <trace/define_trace.h>
Signature · 6 lines
2.12.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): [email protected]

#2 lore raw

PATCH 2/2 drm/ttm: Fix trace include path

---
 drivers/gpu/drm/ttm/ttm_trace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ttm/ttm_trace.h +1 -1
index 23279b9b8e64..715ce68b7b33 100644
@@ -82,6 +82,6 @@ TRACE_EVENT(ttm_dma_unmap,
 
 /* This part must be outside protection */
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/ttm/
 #include <trace/define_trace.h>
 
Signature · 6 lines
2.12.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

RE: [PATCH 2/2] drm/ttm: Fix trace include path

Quoted 19 lines

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Tom St Denis
Sent: Friday, September 01, 2017 12:11 PM
To: [email protected]
Cc: StDenis, Tom; [email protected]
Subject: [PATCH 2/2] drm/ttm: Fix trace include path

---
 drivers/gpu/drm/ttm/ttm_trace.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ttm/ttm_trace.h +0 -0
index 23279b9b8e64..715ce68b7b33 100644

drivers/gpu/drm/ttm/ttm_trace.h TRACE_EVENT(ttm_dma_unmap, · line 86

Quoted 6 lines
drivers/gpu/drm/ttm/ttm_trace.h +1 -1
@@ -82,6 +82,6 @@ TRACE_EVENT(ttm_dma_unmap,
 
 /* This part must be outside protection */
 #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/ttm/
 #include <trace/define_trace.h>

I think you can drop the Makefile change as well.

Alex

Quoted 8 lines
drivers/gpu/drm/ttm/ttm_trace.h +0 -1
--

2.12.0

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

#5 lore raw

Re: [PATCH 2/2] drm/ttm: Fix trace include path

Quoted 20 lines · Alexander
Quoted 20 lines

-----Original Message-----
From: amd-gfx [mailto:[email protected]] On Behalf Of Tom St Denis
Sent: Friday, September 01, 2017 12:11 PM
To: [email protected]
Cc: StDenis, Tom; [email protected]
Subject: [PATCH 2/2] drm/ttm: Fix trace include path

---
  drivers/gpu/drm/ttm/ttm_trace.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/ttm/ttm_trace.h +0 -0
index 23279b9b8e64..715ce68b7b33 100644
@@ -82,6 +82,6 @@ TRACE_EVENT(ttm_dma_unmap,
 
Quoted 7 lines

drivers/gpu/drm/ttm/ttm_trace.h TRACE_EVENT(ttm_dma_unmap, · line 86

Quoted 5 lines
drivers/gpu/drm/ttm/ttm_trace.h +1 -1
  /* This part must be outside protection */
  #undef TRACE_INCLUDE_PATH
-#define TRACE_INCLUDE_PATH .
+#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/ttm/
  #include <trace/define_trace.h>

I think you can drop the Makefile change as well.

Yup.

Tom
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel