projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0a71e4
)
drm/radeon: clarify why we evict vram twice on suspend
author
Alex Deucher
<
[email protected]
>
Mon, 10 Oct 2016 16:42:33 +0000
(12:42 -0400)
committer
Alex Deucher
<
[email protected]
>
Tue, 25 Oct 2016 18:38:33 +0000
(14:38 -0400)
Update the comment to explain why we do this.
Reviewed-by: Christian König <
[email protected]
>
Signed-off-by: Alex Deucher <
[email protected]
>
drivers/gpu/drm/radeon/radeon_device.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/radeon/radeon_device.c
b/drivers/gpu/drm/radeon/radeon_device.c
index eb92aef46e3cfcf99a07d26272fac7725d0cfaa8..79c9b6f3f013b285cadd3ccc1570ddb126e98f67 100644
(file)
--- a/
drivers/gpu/drm/radeon/radeon_device.c
+++ b/
drivers/gpu/drm/radeon/radeon_device.c
@@
-1651,7
+1651,10
@@
int radeon_suspend_kms(struct drm_device *dev, bool suspend,
radeon_suspend(rdev);
radeon_hpd_fini(rdev);
- /* evict remaining vram memory */
+ /* evict remaining vram memory
+ * This second call to evict vram is to evict the gart page table
+ * using the CPU.
+ */
radeon_bo_evict_vram(rdev);
radeon_agp_suspend(rdev);