Commit ec9aaaff authored by Alex Deucher's avatar Alex Deucher

drm/radeon: clarify why we evict vram twice on suspend

Update the comment to explain why we do this.
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent a0a71e49
...@@ -1651,7 +1651,10 @@ int radeon_suspend_kms(struct drm_device *dev, bool suspend, ...@@ -1651,7 +1651,10 @@ int radeon_suspend_kms(struct drm_device *dev, bool suspend,
radeon_suspend(rdev); radeon_suspend(rdev);
radeon_hpd_fini(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_bo_evict_vram(rdev);
radeon_agp_suspend(rdev); radeon_agp_suspend(rdev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment