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)
commite69595c2501094d85d5bbca87592acb8a481109a
treee7b3910270104711cab832ab2aae4f8a0b696ed8
parent97cbc883d0d5ec7fb34e770db67d2cae8992b3ea
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