drm/i915/trace: Remove unused frequency trace
authorAndi Shyti <andi.shyti@linux.intel.com>
Tue, 11 Oct 2022 13:59:40 +0000 (15:59 +0200)
committerAndi Shyti <andi.shyti@linux.intel.com>
Wed, 12 Oct 2022 09:11:14 +0000 (11:11 +0200)
Commit 3e7abf814193 ("drm/i915: Extract GT render power state management")
removes the "trace_intel_gpu_freq_change()" trace points but
their definition was left without users. Remove it.

Suggested-by: Tvrtko Ursulin <tvrtko.ursulin@linux.intel.com>
Signed-off-by: Andi Shyti <andi.shyti@linux.intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221011135940.367048-1-andi.shyti@linux.intel.com
drivers/gpu/drm/i915/i915_trace.h

index 37b5c9e9d260e8a85eeb78422438f3404e44e5f0..c70a02517e02119e6effaa8a71453b02f60af47b 100644 (file)
@@ -671,21 +671,6 @@ TRACE_EVENT_CONDITION(i915_reg_rw,
                (u32)(__entry->val >> 32))
 );
 
-TRACE_EVENT(intel_gpu_freq_change,
-           TP_PROTO(u32 freq),
-           TP_ARGS(freq),
-
-           TP_STRUCT__entry(
-                            __field(u32, freq)
-                            ),
-
-           TP_fast_assign(
-                          __entry->freq = freq;
-                          ),
-
-           TP_printk("new_freq=%u", __entry->freq)
-);
-
 /**
  * DOC: i915_ppgtt_create and i915_ppgtt_release tracepoints
  *