]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Make the vblank disable timer per-crtc
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 19 Feb 2014 17:36:08 +0000 (19:36 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 20 May 2014 19:13:33 +0000 (21:13 +0200)
commit1ac4579ce320abd2eb7cd64b083f48258ff899ee
treee7b3910270104711cab832ab2aae4f8a0b696ed8
parent7f05504611e05b9001ed60bc85cd9fc59deb3849
drm: Make the vblank disable timer per-crtc

Currently there's one per-device vblank disable timer, and it gets
reset wheneven the vblank refcount for any crtc drops to zero. That
means that one crtc could accidentally be keeping the vblank interrupts
for other crtcs enabled even if there are no users for them. Make the
disable timer per-crtc to avoid this issue.

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
include/drm/drmP.h