summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu
diff options
context:
space:
mode:
authorChunming Zhou <David1.Zhou@amd.com>2016-06-29 05:33:40 (GMT)
committerAlex Deucher <alexander.deucher@amd.com>2016-07-07 19:06:12 (GMT)
commitf263ec622f06c3cf2da3a29e5ad0184dc50d1c2c (patch)
tree013c852565266cc98a4361401c0db821d1f32a38 /drivers/gpu/drm/amd/amdgpu
parentc7c5fbcdc3b064943491d8dd1229cb25479e9093 (diff)
downloadlinux-f263ec622f06c3cf2da3a29e5ad0184dc50d1c2c.tar.xz
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 c8b7b74..36d00b2 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)
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];