git: drm: Implement parts of the Linux irq subsystem

Francois Tigeot ftigeot at crater.dragonflybsd.org
Wed Apr 25 03:21:47 PDT 2018


commit 183e2373896e4ea605435a6bd8f943e8273bf8cd
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Wed Apr 25 11:52:23 2018 +0200

    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

Summary of changes:
 sys/conf/files                        |   1 +
 sys/dev/drm/drm/Makefile              |   1 +
 sys/dev/drm/drm_dragonfly.c           |  13 ++++
 sys/dev/drm/drm_drv.c                 |  29 --------
 sys/dev/drm/drm_fops.c                |   9 ---
 sys/dev/drm/drm_irq.c                 |  16 +++--
 sys/dev/drm/i915/i915_irq.c           |  60 +++++++++++++---
 sys/dev/drm/include/drm/drmP.h        |   7 +-
 sys/dev/drm/include/linux/interrupt.h |  11 ++-
 sys/dev/drm/include/linux/irqreturn.h |   8 ++-
 sys/dev/drm/include/linux/pci.h       |   5 ++
 sys/dev/drm/linux_irq.c               | 127 ++++++++++++++++++++++++++++++++++
 sys/dev/drm/radeon/radeon_irq_kms.c   |  12 ++--
 sys/dev/drm/radeon/radeon_irq_kms.h   |   2 +-
 14 files changed, 229 insertions(+), 72 deletions(-)
 create mode 100644 sys/dev/drm/linux_irq.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/183e2373896e4ea605435a6bd8f943e8273bf8cd


-- 
DragonFly BSD source repository



More information about the Commits mailing list