diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-05-21 18:48:54 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-05-24 10:02:08 +1000 |
commit | 10b06122afcc78468bd1d009633cb71e528acdc5 (patch) | |
tree | 23e6f1b905acf8f34e40f86e45a2fac326afe425 /drivers/gpu/drm/radeon/radeon_device.c | |
parent | b486787ee4797d6e42a9bd3a6f079385ad0f4472 (diff) |
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 a20b612ffe7..fdc3fdf78ac 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 */ |