]> git.baikalelectronics.ru Git - kernel.git/commit
radeon: Unmap vram pages when reclocking
authorMatthew Garrett <mjg@redhat.com>
Mon, 26 Apr 2010 19:52:20 +0000 (15:52 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 18 May 2010 08:21:17 +0000 (18:21 +1000)
commitb199f371347f242171824ffbfd8de0d1f9002c81
treece5c99862483dca878bef6ac8c8280c380344f4e
parent6cea86c5b9898137daf1a8266e2f8e4e5e66bab8
radeon: Unmap vram pages when reclocking

Touching vram while the card is reclocking can lead to lockups. Unmap
any pages that could be touched by the CPU and block any accesses to
vram until the reclocking is complete.

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