[Intel-gfx] [PATCH 1/3] drm/i915: Check for a stalled page flip after each vblank

Ville Syrjälä ville.syrjala at linux.intel.com
Tue Jun 10 13:47:29 CEST 2014


On Tue, Jun 10, 2014 at 12:33:48PM +0100, Chris Wilson wrote:
> On Tue, Jun 10, 2014 at 02:25:50PM +0300, Ville Syrjälä wrote:
> > On Tue, Jun 10, 2014 at 11:04:00AM +0100, Chris Wilson wrote:
> > > +static inline int crtc_sbc(struct intel_crtc *crtc)
> > > +{
> > > +	return atomic_read(&crtc->base.dev->vblank[crtc->pipe].count);
> > > +}
> > 
> > Still says 'sbc' which doesn't make sense to me.
> 
> I just don't like the term msc. :-p
> crtc_vblank_counter()?

Maybe stick it into drmP.h and call it drm_crtc_vblank_counter() or
something? Hopefully people won't confuse it with the hardware counter.

-- 
Ville Syrjälä
Intel OTC



More information about the Intel-gfx mailing list