]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit5876dd249e8e47c730cac090bf6edd88e5f04327
treece5c99862483dca878bef6ac8c8280c380344f4e
parent2aba631c008e7d82e3ec45dd32bec1ea63a963cf
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