提交 4153e584 编写于 作者: D Dave Airlie

drm/radeon/kms: more alignment for rv770.c with r600.c

Signed-off-by: NDave Airlie <airlied@redhat.com>
上级 9052aa24
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
#include <linux/platform_device.h> #include <linux/platform_device.h>
#include "drmP.h" #include "drmP.h"
#include "radeon.h" #include "radeon.h"
#include "radeon_drm.h"
#include "rv770d.h" #include "rv770d.h"
#include "avivod.h" #include "avivod.h"
#include "atom.h" #include "atom.h"
...@@ -921,7 +922,11 @@ int rv770_suspend(struct radeon_device *rdev) ...@@ -921,7 +922,11 @@ int rv770_suspend(struct radeon_device *rdev)
{ {
/* FIXME: we should wait for ring to be empty */ /* FIXME: we should wait for ring to be empty */
r700_cp_stop(rdev); r700_cp_stop(rdev);
rdev->cp.ready = false;
rv770_pcie_gart_disable(rdev); rv770_pcie_gart_disable(rdev);
/* unpin shaders bo */
radeon_object_unpin(rdev->r600_blit.shader_obj);
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册