projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9052aa2
)
drm/radeon/kms: more alignment for rv770.c with r600.c
author
Dave Airlie
<airlied@linux.ie>
Fri, 18 Sep 2009 08:41:24 +0000
(18:41 +1000)
committer
Dave Airlie
<airlied@linux.ie>
Fri, 18 Sep 2009 08:41:24 +0000
(18:41 +1000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/rv770.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpu/drm/radeon/rv770.c
b/drivers/gpu/drm/radeon/rv770.c
index 576ae2f6c71700624358ea1da1796fae037c8abb..83723f8b94b08179b65491fb102afd415d49118d 100644
(file)
--- a/
drivers/gpu/drm/radeon/rv770.c
+++ b/
drivers/gpu/drm/radeon/rv770.c
@@
-29,6
+29,7
@@
#include <linux/platform_device.h>
#include "drmP.h"
#include "radeon.h"
+#include "radeon_drm.h"
#include "rv770d.h"
#include "avivod.h"
#include "atom.h"
@@
-921,7
+922,11
@@
int rv770_suspend(struct radeon_device *rdev)
{
/* FIXME: we should wait for ring to be empty */
r700_cp_stop(rdev);
+ rdev->cp.ready = false;
rv770_pcie_gart_disable(rdev);
+
+ /* unpin shaders bo */
+ radeon_object_unpin(rdev->r600_blit.shader_obj);
return 0;
}