diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-05-21 18:48:54 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-24 02:02:08 +0200 |
commit | 10b06122afcc78468bd1d009633cb71e528acdc5 (patch) | |
tree | 23e6f1b905acf8f34e40f86e45a2fac326afe425 /drivers/gpu/drm/radeon/radeon_device.c | |
parent | drm/radeon/kms/pm/r600: select the mid clock mode for single head low profile (diff) | |
download | linux-10b06122afcc78468bd1d009633cb71e528acdc5.tar.xz linux-10b06122afcc78468bd1d009633cb71e528acdc5.zip |
drm/radeon/kms: release AGP bridge at suspend
I think it's good to release the AGP bridge at suspend
and reacquire it at resume. Also fix :
https://bugzilla.kernel.org/show_bug.cgi?id=15969
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/radeon_device.c')
-rw-r--r-- | drivers/gpu/drm/radeon/radeon_device.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_device.c b/drivers/gpu/drm/radeon/radeon_device.c index a20b612ffe75..fdc3fdf78acb 100644 --- a/drivers/gpu/drm/radeon/radeon_device.c +++ b/drivers/gpu/drm/radeon/radeon_device.c @@ -754,6 +754,8 @@ int radeon_suspend_kms(struct drm_device *dev, pm_message_t state) /* evict remaining vram memory */ radeon_bo_evict_vram(rdev); + radeon_agp_suspend(rdev); + pci_save_state(dev->pdev); if (state.event == PM_EVENT_SUSPEND) { /* Shut down the device */ |