summaryrefslogtreecommitdiffstats
path: root/drm-tegra-trace-fix-patch.patch
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2017-09-12 18:26:40 +0100
committerPeter Robinson <pbrobinson@gmail.com>2017-09-12 18:26:40 +0100
commitf7b2debcf93630f8e5537f9b132528bd3cef15ea (patch)
treeb77988cc166d9227e80feddae67bd56f0e74e040 /drm-tegra-trace-fix-patch.patch
parente19dd18c383ac8a604b14cb66940b901562f082e (diff)
downloadkernel-f7b2debcf93630f8e5537f9b132528bd3cef15ea.tar.gz
kernel-f7b2debcf93630f8e5537f9b132528bd3cef15ea.tar.xz
kernel-f7b2debcf93630f8e5537f9b132528bd3cef15ea.zip
Enable Physlink/SFP functionality, minor cleanups, Tegra DRM FTB fix
Diffstat (limited to 'drm-tegra-trace-fix-patch.patch')
-rw-r--r--drm-tegra-trace-fix-patch.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/drm-tegra-trace-fix-patch.patch b/drm-tegra-trace-fix-patch.patch
new file mode 100644
index 000000000..77bc9c6dc
--- /dev/null
+++ b/drm-tegra-trace-fix-patch.patch
@@ -0,0 +1,30 @@
+From 65d5d30ccebd555de9ad8fd2b5dfc50291922337 Mon Sep 17 00:00:00 2001
+From: Thierry Reding <treding@nvidia.com>
+Date: Wed, 23 Aug 2017 19:13:26 +0200
+Subject: drm/tegra: trace: Fix path to include
+
+The TRACE_INCLUDE_PATH macro needs to specify the path relative to the
+define_trace.h header rather than relative to the file defining it.
+
+Reported-by: Dmitry Osipenko <digetx@gmail.com>
+Tested-by: Dmitry Osipenko <digetx@gmail.com>
+Signed-off-by: Thierry Reding <treding@nvidia.com>
+---
+ drivers/gpu/drm/tegra/trace.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/tegra/trace.h b/drivers/gpu/drm/tegra/trace.h
+index e9b7cdad..5a1ab40 100644
+--- a/drivers/gpu/drm/tegra/trace.h
++++ b/drivers/gpu/drm/tegra/trace.h
+@@ -63,6 +63,6 @@ DEFINE_EVENT(register_access, sor_readl,
+
+ /* This part must be outside protection */
+ #undef TRACE_INCLUDE_PATH
+-#define TRACE_INCLUDE_PATH .
++#define TRACE_INCLUDE_PATH ../../drivers/gpu/drm/tegra
+ #define TRACE_INCLUDE_FILE trace
+ #include <trace/define_trace.h>
+--
+cgit v1.1
+