drm/amdgpu: fix fundamental suspend/resume issue
authorChristian König <christian.koenig@amd.com>
Wed, 10 May 2017 18:06:58 +0000 (20:06 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 24 May 2017 21:39:30 +0000 (17:39 -0400)
commit32601d48d783ac66e22fb506409a414c426784c0
treeeb85021c1ea08061f5df16299059d5781efca052
parente98c58e55f68f8785aebfab1f8c9a03d8de0afe1
drm/amdgpu: fix fundamental suspend/resume issue

Reinitializing the VM manager during suspend/resume is a very very bad
idea since all the VMs are still active and kicking.

This can lead to random VM faults after resume when new processes
become the same client ID assigned.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Cc: stable@vger.kernel.org
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h
drivers/gpu/drm/amd/amdgpu/gmc_v6_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c