aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorChunming Zhou <David1.Zhou@amd.com>2016-06-29 01:33:40 -0400
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 15:06:12 -0400
commitf263ec622f06c3cf2da3a29e5ad0184dc50d1c2c (patch)
tree013c852565266cc98a4361401c0db821d1f32a38 /drivers/gpu/drm/amd/amdgpu
parentc7c5fbcdc3b064943491d8dd1229cb25479e9093 (diff)
drm/amdgpu: remove evict vram
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/amdgpu_device.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
index c8b7b74a0d1f..36d00b20afa0 100644
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
@@ -1936,9 +1936,6 @@ int amdgpu_gpu_reset(struct amdgpu_device *adev)
1936 1936
1937 atomic_inc(&adev->gpu_reset_counter); 1937 atomic_inc(&adev->gpu_reset_counter);
1938 1938
1939 /* evict vram memory */
1940 amdgpu_bo_evict_vram(adev);
1941
1942 /* block scheduler */ 1939 /* block scheduler */
1943 for (i = 0; i < AMDGPU_MAX_RINGS; ++i) { 1940 for (i = 0; i < AMDGPU_MAX_RINGS; ++i) {
1944 struct amdgpu_ring *ring = adev->rings[i]; 1941 struct amdgpu_ring *ring = adev->rings[i];