drm - Fix workqueue bugs w/recent drm pushes
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 4 Jan 2020 19:58:56 +0000 (11:58 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 4 Jan 2020 19:58:56 +0000 (11:58 -0800)
commitd4379eb66bb7b7b22cb676f46d4bc304f9112775
tree713733b2dfd1cace68c311b3a945bebeb8738f19
parent0d7b60da0b60fc746644971ae1e14e483a7d8504
drm - Fix workqueue bugs w/recent drm pushes

* The linux workqueue code uses pcpu queues in many situations.
  At least one use-case in the recent drm code push can result in
  taskqueue_enqueue() calls being issued on active tasks to a different
  queue, causing (typically) overnight or idle related panics.

* Adjust the linux workqueue code to use the new taskqueue API
  functions that supports this behavior.
sys/dev/drm/include/linux/workqueue.h