Skip to contentSkip to conversation

drm/ttm: Fix trace include path (v2)

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

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

PATCH 1/1 drm/ttm: Fix trace include path (v2)

(v2): Drop Makefile change too.

---
 drivers/gpu/drm/ttm/Makefile    | 2 +-
 drivers/gpu/drm/ttm/ttm_trace.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/ttm/Makefile +1 -1
index fd3da00c0bf2..f0549eab73e6 100644
@@ -1,7 +1,7 @@
 #
 # Makefile for the drm device driver.  This driver provides support for the
 
-ccflags-y := -Iinclude/drm -I$(src)/.
+ccflags-y := -Iinclude/drm
 ttm-y := ttm_memory.o ttm_tt.o ttm_bo.o \
 	ttm_bo_util.o ttm_bo_vm.o ttm_module.o \
 	ttm_object.o ttm_lock.o ttm_execbuf_util.o ttm_page_alloc.o \
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

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

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

Reviewed-by Alex Deucher
#2 lore raw
Quoted 11 lines

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

(v2): Drop Makefile change too.

Quoted 34 lines
---
 drivers/gpu/drm/ttm/Makefile    | 2 +-
 drivers/gpu/drm/ttm/ttm_trace.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/ttm/Makefile +1 -1
index fd3da00c0bf2..f0549eab73e6 100644
@@ -1,7 +1,7 @@
 #
 # Makefile for the drm device driver.  This driver provides support for the
 
-ccflags-y := -Iinclude/drm -I$(src)/.
+ccflags-y := -Iinclude/drm
 ttm-y := ttm_memory.o ttm_tt.o ttm_bo.o \
 	ttm_bo_util.o ttm_bo_vm.o ttm_module.o \
 	ttm_object.o ttm_lock.o ttm_execbuf_util.o ttm_page_alloc.o \
drivers/gpu/drm/ttm/ttm_trace.h +1 -2
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>
 
--

2.12.0

Quoted 4 lines

_______________________________________________
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

A message that is not in the archive (sent off-list or not yet received): BN6PR12MB165292D20560E8FB41F1E6B8F7920-/b2+HYfkarQqUD6E6FAiowdYzm3356FpvxpqHgZTriW3zl9H0oFU5g@public.gmane.org

Reviewed-by
#4 lore raw

Am 01.09.2017 um 18:15 schrieb Deucher, Alexander:

Quoted 8 lines
Quoted 8 lines

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

Quoted 4 lines
Quoted 3 lines

(v2): Drop Makefile change too.

Quoted 35 lines
Quoted 35 lines
---
  drivers/gpu/drm/ttm/Makefile    | 2 +-
  drivers/gpu/drm/ttm/ttm_trace.h | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)
drivers/gpu/drm/ttm/Makefile +1 -1
index fd3da00c0bf2..f0549eab73e6 100644
@@ -1,7 +1,7 @@
  #
  # Makefile for the drm device driver.  This driver provides support for the
 
-ccflags-y := -Iinclude/drm -I$(src)/.
+ccflags-y := -Iinclude/drm
  ttm-y := ttm_memory.o ttm_tt.o ttm_bo.o \
  	ttm_bo_util.o ttm_bo_vm.o ttm_module.o \
  	ttm_object.o ttm_lock.o ttm_execbuf_util.o ttm_page_alloc.o \
drivers/gpu/drm/ttm/ttm_trace.h +1 -2
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>
 
--

2.12.0

Quoted 8 lines
Quoted 4 lines

_______________________________________________
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

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

Reviewed-by
#5 lore raw
In reply to a message not in the archive
Quoted 7 lines · Tom St Denis

(v2): Drop Makefile change too.

---
 drivers/gpu/drm/ttm/Makefile    | 2 +-
 drivers/gpu/drm/ttm/ttm_trace.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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

#6 lore raw
Quoted 11 lines · Thierry Reding
Quoted 7 lines · Tom St Denis

(v2): Drop Makefile change too.

---
  drivers/gpu/drm/ttm/Makefile    | 2 +-
  drivers/gpu/drm/ttm/ttm_trace.h | 2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

Alex when you pull this into your fdo tree can you add these (and Christians R-b)? I already pushed it to our internal staging :-)

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