radeon: Fix locking in power management paths
commit612e06ce9c78840c3a1a207dfbe489a059d87c28
authorMatthew Garrett <mjg@redhat.com>
Tue, 27 Apr 2010 21:16:58 +0000 (27 17:16 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:27 +0000 (18 18:21 +1000)
tree0e208e70737362a77173826962240bef975133e0
parentc37d230af450472183e70947f8e2aa8101a96603
radeon: Fix locking in power management paths

The ttm code could take vram_mutex followed by cp_mutex, while the
reclocking code would do the reverse. Hilarity could ensue.

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