drm/radeon: fix vm deadlocks on cayman
authorChristian König <deathsimple@vodafone.de>
Sun, 3 Jun 2012 14:09:43 +0000 (16:09 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 5 Jun 2012 08:27:23 +0000 (09:27 +0100)
commitbb4091558228ff4a3e02328c931e683fc7f08722
treeec5cc16f5bf5aa62869d5a18fb96eda2d0fffe2f
parent1a8ca7502c22f7a3802f9a207bf80db5439b11c2
drm/radeon: fix vm deadlocks on cayman

Locking mutex in different orders just screams for
deadlocks, and some testing showed that it is actually
quite easy to trigger them.

Signed-off-by: Christian König <deathsimple@vodafone.de>
Reviewed-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_gart.c