summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/radeon/radeon_agp.c
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-05-21 18:48:54 +0200
committerDave Airlie <airlied@redhat.com>2010-05-24 10:02:08 +1000
commit10b06122afcc78468bd1d009633cb71e528acdc5 (patch)
tree23e6f1b905acf8f34e40f86e45a2fac326afe425 /drivers/gpu/drm/radeon/radeon_agp.c
parentb486787ee4797d6e42a9bd3a6f079385ad0f4472 (diff)
downloadtalos-obmc-linux-10b06122afcc78468bd1d009633cb71e528acdc5.tar.gz
talos-obmc-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_agp.c')
-rw-r--r--drivers/gpu/drm/radeon/radeon_agp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/radeon_agp.c b/drivers/gpu/drm/radeon/radeon_agp.c
index 28e473f1f56f..f40dfb77f9b1 100644
--- a/drivers/gpu/drm/radeon/radeon_agp.c
+++ b/drivers/gpu/drm/radeon/radeon_agp.c
@@ -270,3 +270,8 @@ void radeon_agp_fini(struct radeon_device *rdev)
}
#endif
}
+
+void radeon_agp_suspend(struct radeon_device *rdev)
+{
+ radeon_agp_fini(rdev);
+}
OpenPOWER on IntegriCloud