[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170706185921.GB12629@intel.com>
Date: Thu, 6 Jul 2017 21:59:21 +0300
From: Ville Syrjälä <ville.syrjala@...ux.intel.com>
To: Keith Packard <keithp@...thp.com>
Cc: Daniel Vetter <daniel@...ll.ch>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Dave Airlie <airlied@...hat.com>,
dri-devel <dri-devel@...ts.freedesktop.org>
Subject: Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE
ioctls
On Thu, Jul 06, 2017 at 11:22:43AM -0700, Keith Packard wrote:
> Ville Syrjälä <ville.syrjala@...ux.intel.com> writes:
>
> > I was mostly thinking of the 'seq = query(); wait(seq + n);' pattern
> > where we can avoid doing the full update more than once if we enable
> > the interrupt already during the query.
>
> Don't we still wait 5 seconds before disabling vblank? In that case, the
> chances of hitting an idle vblank are pretty slim if the application is
> actually busy.
With the disable_immediate thing we only wait until the next vblank
before disabling the irq again.
--
Ville Syrjälä
Intel OTC
Powered by blists - more mailing lists