OpenBSD/src 1eJ4LKE — sys/dev/pci/drm/i915 i915_drv.c
Since we now have an attachhook, the actual interrupt handler is installed late, after we enable interrupts. If the interrupt pin used for inteldrm(4) is shared with another device, we may end up being called before the actual interrup handler is installed resulting in a null-pointer dereference. Fix this by adding an explicit check that the interrupt handler function pointer has been set. ok matthieu@, jsg@
Version | Delta | File | |
---|---|---|---|
1.116 | +4 | -1 | sys/dev/pci/drm/i915/i915_drv.c |
+4 | -1 | 1 files |