author: Sebastian Andrzej Siewior <bigeasy@linutronix.de> 2018-12-19 10:47:02 +0100
committer: Minda Chen <minda.chen@starfivetech.com> 2023-11-06 19:24:48 +0800
commit: 906844eb699e9608bcea067198da47142798ed81
parent: 21d7bdc560685efe4b6d35c81d209719bf38a2d3
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/gpu/drm/i915/i915_trace.h b/drivers/gpu/drm/i915/i915_trace.h
index 0cddc5bb0ebe..f345a0f12bf6 100644
--- a/drivers/gpu/drm/i915/i915_trace.h
+++ b/drivers/gpu/drm/i915/i915_trace.h
@@ -823,7 +823,7 @@ DEFINE_EVENT(i915_request, i915_request_add,
TP_ARGS(rq)
);
-#if defined(CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS)
+#if defined(CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS) && !defined(NOTRACE)
DEFINE_EVENT(i915_request, i915_request_guc_submit,
TP_PROTO(struct i915_request *rq),
TP_ARGS(rq)