[PATCH 0/3] drm: Allow vblank interrupts during modeset and make the code less racy, take two

ville.syrjala at linux.intel.com ville.syrjala at linux.intel.com
Thu Mar 6 08:13:29 PST 2014


From: Ville Syrjälä <ville.syrjala at linux.intel.com>

This series is a continuation of the earlier attempt [1]. The first two
patches from that series are still needed, but since they were unchanged
I didn't include them here. The rest of the original series should be
scrapped.

This time I dropped the 'reject' and 'vblank_always_enable_on_get' and
instead did things like Daniel suggested. This does change the behaviour
of blocking vblank waits for all drivers to return when the vblank interrupt
gets disabled, whereas the old series made everything purely opt-in. To fix
up the remaining drivers fully, someone needs to go and sprinkle the
drm_vblank_on() calls there. Daniel volunteered to do that, so I'm not going
to bother.

[1] http://lists.freedesktop.org/archives/dri-devel/2014-February/054372.html

Ville Syrjälä (3):
  drm: Make blocking vblank wait return when the vblank interrupts get
    disabled
  drm: Add drm_vblank_on()
  drm/i915: Use drm_vblank_on() to re-enable vblank interrupts

 drivers/gpu/drm/drm_irq.c            | 73 ++++++++++++++++++++++++++----------
 drivers/gpu/drm/i915/intel_display.c | 13 ++++---
 include/drm/drmP.h                   |  1 +
 3 files changed, 63 insertions(+), 24 deletions(-)

-- 
1.8.3.2



More information about the dri-devel mailing list