drm/linux: Restore wait_event*() functionality
authorFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 17 Jun 2019 13:31:05 +0000 (15:31 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Mon, 17 Jun 2019 13:31:05 +0000 (15:31 +0200)
commit06f0d6a999be46a6e7246607194c0e1c2ccb9647
tree19e61ba402966c05434a64c7191a4d599255017e
parentd658c12004c09cf15ed81c30f3a6422f24cd7c5a
drm/linux: Restore wait_event*() functionality

* Our wait_event* routines do not (yet) use Linux wait queues.
  Threads using them still have to be woken up with a different mechanism.

* Restore the wakeup*() calls directly using wait_queue_head_t pointers

* While there, also properly set the current Linux thread states in the
  wait_event*() routines

Issue with the previous commit reported by zrj.
sys/dev/drm/include/linux/wait.h