drm - Fix deadlock in ttm pager
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 10 Jan 2015 17:35:24 +0000 (09:35 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 10 Jan 2015 17:35:24 +0000 (09:35 -0800)
commitf57b0af8d8500d4216578003dc47950b0d450c29
tree4011e10f8bc08cb7d23e0a4e503c90f841b476e5
parentd0cc45b69abe9fde8e0f4eae1ae451a16edc5156
drm - Fix deadlock in ttm pager

* Fix a deadlock which most often occurs via the ttm (radeon) VM pager.
  A similar path is also used by i915 (all intel).

* Basically removes an unnecessary lock in the paging path which was creating
  the deadlock.

Reported-by: ivadasz, ftigeot
sys/vm/device_pager.c