]> git.baikalelectronics.ru Git - kernel.git/commit
drm/irq: Remove negative CRTC index special-case
authorThierry Reding <treding@nvidia.com>
Wed, 12 Aug 2015 15:00:24 +0000 (17:00 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 12 Aug 2015 15:28:21 +0000 (17:28 +0200)
commit03ef882f2d4c6f06666d84f7d38be5b1cd2b3d41
treeaae8b1d942c852754adcef166b3fc69ab4087500
parentaf1428d2a8a189f5e3a153c65b38c3e18d25111a
drm/irq: Remove negative CRTC index special-case

The drm_send_vblank_event() function treats negative CRTC indices as
meaning that a driver doesn't have proper VBLANK handling. This is the
only place where DRM needs negative CRTC indices, so in order to enable
subsequent cleanup, remove this special case and replace it by the more
obvious check for whether or not VBLANK support was initialized.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_irq.c