From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ville =?iso-8859-1?Q?Syrj=E4l=E4?= Subject: Re: [PATCH 1/3] drm/i915: Check for a stalled page flip after each vblank Date: Tue, 10 Jun 2014 14:47:29 +0300 Message-ID: <20140610114729.GA27580@intel.com> References: <1402394642-6263-1-git-send-email-chris@chris-wilson.co.uk> <20140610112550.GX27580@intel.com> <20140610113348.GA22223@nuc-i3427.alporthouse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id D7AB76E08C for ; Tue, 10 Jun 2014 04:47:53 -0700 (PDT) Content-Disposition: inline In-Reply-To: <20140610113348.GA22223@nuc-i3427.alporthouse.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" To: Chris Wilson , intel-gfx@lists.freedesktop.org, Daniel Vetter List-Id: intel-gfx@lists.freedesktop.org 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=E4l=E4 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=E4l=E4 Intel OTC