git: drm/linux: Rework wait queues
Francois Tigeot
ftigeot at crater.dragonflybsd.org
Sun Jun 16 13:47:39 PDT 2019
commit d658c12004c09cf15ed81c30f3a6422f24cd7c5a
Author: François Tigeot <ftigeot at wolfpond.org>
Date: Sun Jun 16 22:37:26 2019 +0200
drm/linux: Rework wait queues
* Make the implementation much closer to the Linux one
* Do not directly try to wake up threads, but use an indirect function
call to do it, allowing drivers to override the default function
* Implement the expected default_wake_function() and
autoremove_wake_function() routines
Summary of changes:
sys/conf/files | 1 +
sys/dev/drm/drm/Makefile | 1 +
sys/dev/drm/include/linux/sched.h | 4 ++-
sys/dev/drm/include/linux/wait.h | 49 +++++++++++++++++++++------
sys/dev/drm/{linux_dma-buf.c => linux_wait.c} | 45 +++++++++++++++---------
5 files changed, 73 insertions(+), 27 deletions(-)
copy sys/dev/drm/{linux_dma-buf.c => linux_wait.c} (66%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d658c12004c09cf15ed81c30f3a6422f24cd7c5a
--
DragonFly BSD source repository
More information about the Commits
mailing list