drm: Implement parts of the Linux irq subsystem
authorFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 25 Apr 2018 09:52:23 +0000 (11:52 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Wed, 25 Apr 2018 10:18:50 +0000 (12:18 +0200)
commit183e2373896e4ea605435a6bd8f943e8273bf8cd
treee0552443b1ebda1d79d5d783132be54ac9b593ee
parentd06bda808418afb8abbe5572edcc463c6fce3a86
drm: Implement parts of the Linux irq subsystem

* Allowing to reuse more drm drivers code as-is from Linux

* Also allowing Linux irq functions to return expected status
  codes, increasing general driver robustness

Tested-with: many i915 devices, Radeon HD6450
14 files changed:
sys/conf/files
sys/dev/drm/drm/Makefile
sys/dev/drm/drm_dragonfly.c
sys/dev/drm/drm_drv.c
sys/dev/drm/drm_fops.c
sys/dev/drm/drm_irq.c
sys/dev/drm/i915/i915_irq.c
sys/dev/drm/include/drm/drmP.h
sys/dev/drm/include/linux/interrupt.h
sys/dev/drm/include/linux/irqreturn.h
sys/dev/drm/include/linux/pci.h
sys/dev/drm/linux_irq.c [new file with mode: 0644]
sys/dev/drm/radeon/radeon_irq_kms.c
sys/dev/drm/radeon/radeon_irq_kms.h