Am 10.10.2016 um 18:49 schrieb Alex Deucher: > Update the comment to explain why we do this. > > Signed-off-by: Alex Deucher <alexander.deucher at amd.com> Reviewed-by: Christian König <christian.koenig at amd.com> for both. > --- > drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > index bfca676..b88a3b7 100644 > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c > @@ -1958,7 +1958,10 @@ int amdgpu_device_suspend(struct drm_device *dev, bool suspend, bool fbcon) > > r = amdgpu_suspend(adev); > > - /* evict remaining vram memory */ > + /* evict remaining vram memory > + * This second call to evict vram is to evict the gart page table > + * using the CPU. > + */ > amdgpu_bo_evict_vram(adev); > > pci_save_state(dev->pdev);