radeon: Stop the ttm workqueue while reclocking
authorMatthew Garrett <mjg@redhat.com>
Mon, 26 Apr 2010 20:02:26 +0000 (16:02 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:22 +0000 (18:21 +1000)
commitd9932a3241cc6a9629d6586ec362583cb77d7a29
tree050f0becbb25c40b11ef6a37a3ac107647792bb7
parent7c5ee5366f79f53de2a11e73953daee6d58df124
radeon: Stop the ttm workqueue while reclocking

The ttm bo workqueue may touch objects while we're reclocking, so make
sure it's blocked until we're done.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_pm.c