]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: Take drm struct_mutex over reclocking
authorMatthew Garrett <mjg@redhat.com>
Mon, 26 Apr 2010 19:57:01 +0000 (15:57 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:19 +0000 (18:21 +1000)
commit822586a2e96ce11d809527967ec3fccf95024543
tree576ccaf0fad16bb5ff9032f17214ca60c1374a69
parentb199f371347f242171824ffbfd8de0d1f9002c81
radeon: Take drm struct_mutex over reclocking

We need to block the drm core from doing anything that may touch our vram
during reclock, so take the drm mutex for the duration.

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