We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9052aa2 commit 4153e58Copy full SHA for 4153e58
drivers/gpu/drm/radeon/rv770.c
@@ -29,6 +29,7 @@
29
#include <linux/platform_device.h>
30
#include "drmP.h"
31
#include "radeon.h"
32
+#include "radeon_drm.h"
33
#include "rv770d.h"
34
#include "avivod.h"
35
#include "atom.h"
@@ -921,7 +922,11 @@ int rv770_suspend(struct radeon_device *rdev)
921
922
{
923
/* FIXME: we should wait for ring to be empty */
924
r700_cp_stop(rdev);
925
+ rdev->cp.ready = false;
926
rv770_pcie_gart_disable(rdev);
927
+
928
+ /* unpin shaders bo */
929
+ radeon_object_unpin(rdev->r600_blit.shader_obj);
930
return 0;
931
}
932
0 commit comments