drm: Implement parts of the Linux irq subsystem