]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: Fix locking in power management paths
authorMatthew Garrett <mjg@redhat.com>
Tue, 27 Apr 2010 21:16:58 +0000 (17:16 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:27 +0000 (18:21 +1000)
commit9a6e6db2d88dc15813c3a0406099fcbae768ad48
tree0e208e70737362a77173826962240bef975133e0
parenta23f6b2078a31e1647c36d0fac251837e03a3ac3
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