IRQ must be assigned and enabled or this will hang
parent
07d23f9c60
commit
7130662aa0
|
@ -250,7 +250,7 @@ int drm_wait_vblank(DRM_IOCTL_ARGS)
|
|||
if (!drm_core_check_feature(dev, DRIVER_IRQ_VBL))
|
||||
return -EINVAL;
|
||||
|
||||
if (!dev->irq)
|
||||
if ((!dev->irq) || (!dev->irq_enabled))
|
||||
return -EINVAL;
|
||||
|
||||
DRM_COPY_FROM_USER_IOCTL(vblwait, argp, sizeof(vblwait));
|
||||
|
|
Loading…
Reference in New Issue