Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1682653

Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls

From Ville Syrjälä <ville.syrjala@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls
Date 2017-07-06 21:00 +0200
Message-ID <u0kal-RF-11@gated-at.bofh.it> (permalink)
References (4 earlier) <u0cPw-3uf-25@gated-at.bofh.it> <u0fDI-5sz-23@gated-at.bofh.it> <u0hPb-7Y2-1@gated-at.bofh.it> <u0jnY-zr-21@gated-at.bofh.it> <u0jHj-HR-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Jul 06, 2017 at 11:22:43AM -0700, Keith Packard wrote:
> Ville Syrjälä <ville.syrjala@linux.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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/3] drm: Add CRTC-id based ioctls for vblank query/event Keith Packard <keithp@keithp.com> - 2017-07-06 00:20 +0200
  [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank time precision to ns Keith Packard <keithp@keithp.com> - 2017-07-06 00:20 +0200
    Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank  time precision to ns Daniel Vetter <daniel@ffwll.ch> - 2017-07-06 09:30 +0200
      Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank time precision to ns Keith Packard <keithp@keithp.com> - 2017-07-06 17:10 +0200
        Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank  time precision to ns Daniel Vetter <daniel@ffwll.ch> - 2017-07-07 14:20 +0200
    Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank  time precision to ns Michel Dänzer <michel@daenzer.net> - 2017-07-06 09:50 +0200
      Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank  time precision to ns Michel Dänzer <michel@daenzer.net> - 2017-07-06 10:10 +0200
        Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank time precision to ns Keith Packard <keithp@keithp.com> - 2017-07-06 17:20 +0200
      Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank time precision to ns Keith Packard <keithp@keithp.com> - 2017-07-06 17:10 +0200
        Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank  time precision to ns Michel Dänzer <michel@daenzer.net> - 2017-07-07 03:40 +0200
          Re: [PATCH 1/3] drm: Widen vblank count to 64 bits. Change vblank  time precision to ns Michel Dänzer <michel@daenzer.net> - 2017-07-07 04:10 +0200
  [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls Keith Packard <keithp@keithp.com> - 2017-07-06 00:20 +0200
    Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE  ioctls Daniel Vetter <daniel@ffwll.ch> - 2017-07-06 10:00 +0200
      Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE  ioctls Ville Syrjälä <ville.syrjala@linux.intel.com> - 2017-07-06 12:20 +0200
        Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls Daniel Vetter <daniel@ffwll.ch> - 2017-07-06 13:10 +0200
          Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE  ioctls Ville Syrjälä <ville.syrjala@linux.intel.com> - 2017-07-06 16:10 +0200
            Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls Keith Packard <keithp@keithp.com> - 2017-07-06 18:30 +0200
              Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE  ioctls Ville Syrjälä <ville.syrjala@linux.intel.com> - 2017-07-06 20:10 +0200
                Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls Keith Packard <keithp@keithp.com> - 2017-07-06 20:30 +0200
                Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE  ioctls Ville Syrjälä <ville.syrjala@linux.intel.com> - 2017-07-06 21:00 +0200
                Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls Keith Packard <keithp@keithp.com> - 2017-07-06 21:50 +0200
      Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls Keith Packard <keithp@keithp.com> - 2017-07-06 18:30 +0200
        Re: [PATCH 3/3] drm: Add CRTC_GET_SEQUENCE and CRTC_QUEUE_SEQUENCE ioctls Daniel Vetter <daniel@ffwll.ch> - 2017-07-06 23:50 +0200
  [PATCH 2/3] drm: Reorganize drm_pending_event to support future event types Keith Packard <keithp@keithp.com> - 2017-07-06 00:20 +0200
    Re: [PATCH 2/3] drm: Reorganize drm_pending_event to support future  event types Daniel Vetter <daniel@ffwll.ch> - 2017-07-06 09:40 +0200
      Re: [PATCH 2/3] drm: Reorganize drm_pending_event to support future event types Keith Packard <keithp@keithp.com> - 2017-07-06 17:40 +0200
        Re: [PATCH 2/3] drm: Reorganize drm_pending_event to support future  event types Daniel Vetter <daniel@ffwll.ch> - 2017-07-07 14:10 +0200

csiph-web