]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Make blocking vblank wait return when the vblank interrupts get disabled
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 6 Mar 2014 15:27:39 +0000 (17:27 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 May 2014 19:13:34 +0000 (21:13 +0200)
commit98609f4dbf48bbd1accc38bee13d7875aa3b839e
tree7dd4b27bc10bbdda9728fccfcdf195147ce953bf
parent3017ccba320a6793eda84eede0bfd5e28b985d3c
drm: Make blocking vblank wait return when the vblank interrupts get disabled

If there's a blocking vblank wait in progress while the vblank interrupt
gets disabled, the current code will just let the vblank wait time out.
Instead make it return immediately when vblank interrupts get disabled.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_irq.c