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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx>

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

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/dri-devel





[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux