aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@linux.ie>2009-09-18 04:41:24 -0400
committerDave Airlie <airlied@linux.ie>2009-09-18 04:41:24 -0400
commit4153e584ee02ee59388a89879795fd3653a6b6da (patch)
treeaf5902eb0af64fb27b2325c168093523a1d5f080
parent9052aa2458fc13788e468a010fa0ed9aa4020380 (diff)
drm/radeon/kms: more alignment for rv770.c with r600.c
Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--drivers/gpu/drm/radeon/rv770.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c
index 576ae2f6c717..83723f8b94b0 100644
--- a/drivers/gpu/drm/radeon/rv770.c
+++ b/drivers/gpu/drm/radeon/rv770.c
@@ -29,6 +29,7 @@
29#include <linux/platform_device.h> 29#include <linux/platform_device.h>
30#include "drmP.h" 30#include "drmP.h"
31#include "radeon.h" 31#include "radeon.h"
32#include "radeon_drm.h"
32#include "rv770d.h" 33#include "rv770d.h"
33#include "avivod.h" 34#include "avivod.h"
34#include "atom.h" 35#include "atom.h"
@@ -921,7 +922,11 @@ int rv770_suspend(struct radeon_device *rdev)
921{ 922{
922 /* FIXME: we should wait for ring to be empty */ 923 /* FIXME: we should wait for ring to be empty */
923 r700_cp_stop(rdev); 924 r700_cp_stop(rdev);
925 rdev->cp.ready = false;
924 rv770_pcie_gart_disable(rdev); 926 rv770_pcie_gart_disable(rdev);
927
928 /* unpin shaders bo */
929 radeon_object_unpin(rdev->r600_blit.shader_obj);
925 return 0; 930 return 0;
926} 931}
927 932