OSDN Git Service

drm/i915: Rename pipe update tracepoints
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 13 Dec 2019 13:34:53 +0000 (15:34 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Dec 2019 20:29:58 +0000 (22:29 +0200)
All the other display related tracepoints use intel_ instead
if i915_ as the prefix. Do the same for the pipe update
tracepoints so I don't always have to spend time looking for
them.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191213133453.22152-6-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/display/intel_sprite.c
drivers/gpu/drm/i915/i915_trace.h

index 8394502..a5b7cab 100644 (file)
@@ -120,7 +120,7 @@ void intel_pipe_update_start(const struct intel_crtc_state *new_crtc_state)
 
        crtc->debug.min_vbl = min;
        crtc->debug.max_vbl = max;
-       trace_i915_pipe_update_start(crtc);
+       trace_intel_pipe_update_start(crtc);
 
        for (;;) {
                /*
@@ -173,7 +173,7 @@ void intel_pipe_update_start(const struct intel_crtc_state *new_crtc_state)
        crtc->debug.start_vbl_time = ktime_get();
        crtc->debug.start_vbl_count = intel_crtc_get_vblank_counter(crtc);
 
-       trace_i915_pipe_update_vblank_evaded(crtc);
+       trace_intel_pipe_update_vblank_evaded(crtc);
        return;
 
 irq_disable:
@@ -197,7 +197,7 @@ void intel_pipe_update_end(struct intel_crtc_state *new_crtc_state)
        ktime_t end_vbl_time = ktime_get();
        struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
 
-       trace_i915_pipe_update_end(crtc, end_vbl_count, scanline_end);
+       trace_intel_pipe_update_end(crtc, end_vbl_count, scanline_end);
 
        /* We're still in the vblank-evade critical section, this can't race.
         * Would be slightly nice to just grab the vblank count and arm the
index 7ef7a1e..233a97a 100644 (file)
@@ -341,7 +341,7 @@ TRACE_EVENT(intel_disable_plane,
 
 /* pipe updates */
 
-TRACE_EVENT(i915_pipe_update_start,
+TRACE_EVENT(intel_pipe_update_start,
            TP_PROTO(struct intel_crtc *crtc),
            TP_ARGS(crtc),
 
@@ -366,7 +366,7 @@ TRACE_EVENT(i915_pipe_update_start,
                       __entry->scanline, __entry->min, __entry->max)
 );
 
-TRACE_EVENT(i915_pipe_update_vblank_evaded,
+TRACE_EVENT(intel_pipe_update_vblank_evaded,
            TP_PROTO(struct intel_crtc *crtc),
            TP_ARGS(crtc),
 
@@ -391,7 +391,7 @@ TRACE_EVENT(i915_pipe_update_vblank_evaded,
                       __entry->scanline, __entry->min, __entry->max)
 );
 
-TRACE_EVENT(i915_pipe_update_end,
+TRACE_EVENT(intel_pipe_update_end,
            TP_PROTO(struct intel_crtc *crtc, u32 frame, int scanline_end),
            TP_ARGS(crtc, frame, scanline_end),