git: drm/linux: Rewrite the tasklet implementation

Francois Tigeot ftigeot at crater.dragonflybsd.org
Mon Mar 9 15:44:00 PDT 2020


commit 77a6b00ef8ace2311e2ca8ea29f7c9828b88614b
Author: François Tigeot <ftigeot at wolfpond.org>
Date:   Mon Mar 9 23:28:12 2020 +0100

    drm/linux: Rewrite the tasklet implementation
    
    Newer drm/i915 driver versions expect tasklets to run in dedicated
    threads and no longer work with synchronous calls.
    
    Thanks to Matthew Dillon for advice on locking issues and how best
    to resolve mp races.

Summary of changes:
 sys/conf/files                        |   1 +
 sys/dev/drm/drm/Makefile              |   3 +-
 sys/dev/drm/include/linux/interrupt.h |  59 ++---------
 sys/dev/drm/linux_tasklet.c           | 183 ++++++++++++++++++++++++++++++++++
 4 files changed, 195 insertions(+), 51 deletions(-)
 create mode 100644 sys/dev/drm/linux_tasklet.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/77a6b00ef8ace2311e2ca8ea29f7c9828b88614b


-- 
DragonFly BSD source repository



More information about the Commits mailing list