]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/kms: don't call suspend path before cleaning up GPU
authorJerome Glisse <jglisse@redhat.com>
Tue, 2 Feb 2010 10:51:45 +0000 (11:51 +0100)
committerDave Airlie <airlied@redhat.com>
Fri, 5 Feb 2010 01:49:52 +0000 (11:49 +1000)
commitb712ca15b55bde98d8cfab3b70eeee3ff006c28d
tree9177003ca9a830e4cb976b93e491c53ceccb49df
parent60ebcc1c0997e7cb49d53b4aa13421e1eef86b2d
drm/radeon/kms: don't call suspend path before cleaning up GPU

In suspend path we unmap the GART table while in cleaning up
path we will unbind buffer and thus try to write to unmapped
GART leading to oops. In order to avoid this we don't call the
suspend path in cleanup path. Cleanup path is clever enough
to desactive GPU like the suspend path is doing, thus this was
redondant.

Tested on: RV370, R420, RV515, RV570, RV610, RV770 (all PCIE)

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r100.c
drivers/gpu/drm/radeon/r300.c
drivers/gpu/drm/radeon/r420.c
drivers/gpu/drm/radeon/r520.c
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/radeon.h
drivers/gpu/drm/radeon/rs400.c
drivers/gpu/drm/radeon/rs600.c
drivers/gpu/drm/radeon/rs690.c
drivers/gpu/drm/radeon/rv515.c
drivers/gpu/drm/radeon/rv770.c