DragonFlyBSD/src d658c12sys/conf files, sys/dev/drm linux_wait.c

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
DeltaFile
+61-0sys/dev/drm/linux_wait.c
+39-10sys/dev/drm/include/linux/wait.h
+3-1sys/dev/drm/include/linux/sched.h
+1-0sys/conf/files
+1-0sys/dev/drm/drm/Makefile
+105-115 files

UnifiedSplitRaw