[PATCH 1/5] drm: Allow vblank support without DRIVER_HAVE_IRQ

2013-01-14 Thread Thierry Reding
Drivers that register interrupt handlers without the DRM core helpers don't initialize the .irq_enabled field and drm_dev_to_irq() may fail when called on them. This shouldn't preclude them from implementing the vblank IOCTL. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_irq.c | 5 +++--

[PATCH 1/5] drm: Allow vblank support without DRIVER_HAVE_IRQ

2013-01-14 Thread Thierry Reding
Drivers that register interrupt handlers without the DRM core helpers don't initialize the .irq_enabled field and drm_dev_to_irq() may fail when called on them. This shouldn't preclude them from implementing the vblank IOCTL. Signed-off-by: Thierry Reding --- drivers/gpu/drm/drm_irq.c | 5 +++--