[Intel-gfx] [PATCH 1/3] drm/i915: Fix various tracepoints for gen2

2019-06-18 Thread Ville Syrjala
From: Ville Syrjälä Gen2 doesn't have a frame counter and apparently we no longer provide a fake .get_vblank_counter() hook for it. That means all tracepoints calling that hook will oops. Update the tracepoints to use intel_crtc_get_vblank_counter() which will gracefully fall back to using the so

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Fix various tracepoints for gen2

2019-06-18 Thread Chris Wilson
Quoting Ville Syrjala (2019-06-18 15:21:06) > @@ -59,14 +57,13 @@ TRACE_EVENT(intel_pipe_disable, > ), > > TP_fast_assign( > - enum pipe _pipe; > - for_each_pipe(dev_priv, _pipe) { > -

Re: [Intel-gfx] [PATCH 1/3] drm/i915: Fix various tracepoints for gen2

2019-06-18 Thread Ville Syrjälä
On Tue, Jun 18, 2019 at 03:46:29PM +0100, Chris Wilson wrote: > Quoting Ville Syrjala (2019-06-18 15:21:06) > > @@ -59,14 +57,13 @@ TRACE_EVENT(intel_pipe_disable, > > ), > > > > TP_fast_assign( > > - enum pipe _pipe; > > -