drm/amdgpu: remove evict vram
authorChunming Zhou <David1.Zhou@amd.com>
Wed, 29 Jun 2016 05:33:40 +0000 (13:33 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 19:06:12 +0000 (15:06 -0400)
Previous vm fault is since page talbe losts connection with vmid after gpu reset.
Now the issue is fixed by recovery. No need more.

If we want to save vram for some EDC card, we will need to consider a complete solution.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c

index c8b7b74a0d1f448be474ac70fea71a7170ed6879..36d00b20afa0bb05551c0cbb7db3e4ab202f51fd 100644 (file)
@@ -1936,9 +1936,6 @@ int amdgpu_gpu_reset(struct amdgpu_device *adev)
 
        atomic_inc(&adev->gpu_reset_counter);
 
-       /* evict vram memory */
-       amdgpu_bo_evict_vram(adev);
-
        /* block scheduler */
        for (i = 0; i < AMDGPU_MAX_RINGS; ++i) {
                struct amdgpu_ring *ring = adev->rings[i];