drm/radeon/r600: fix some issues with suspend/resume.
authorDave Airlie <airlied@linux.ie>
Tue, 15 Sep 2009 01:07:52 +0000 (11:07 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 18 Sep 2009 06:17:30 +0000 (16:17 +1000)
commitbc1a631e5104317cc8b4ef7d14adc597f2844003
tree687818dd6f32bb2374751cde1e2ce94358de786c
parent698443d9ec1a33eff65b27b9514e06998bf57eb3
drm/radeon/r600: fix some issues with suspend/resume.

a) don't zero gart table on gart enable
b) move pinning shader object into resume path
c) unpin shader object on suspend
d) set cp ready to false after cp shutdown on suspend.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/r600.c
drivers/gpu/drm/radeon/r600_blit_kms.c