Skip to content

Commit

Permalink
drm/i915/trace: Remove unused frequency trace
Browse files Browse the repository at this point in the history
Commit 3e7abf8 ("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
  • Loading branch information
Andi Shyti committed Oct 12, 2022
1 parent bc24725 commit e55427b
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions drivers/gpu/drm/i915/i915_trace.h
Original file line number Diff line number Diff line change
@@ -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
*

0 comments on commit e55427b

Please sign in to comment.