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 19:49:24 +0000 (15:49 -0400)
commitb3c85a0fb2c79f2c945fa1305b39974d0acf3105
treecf90a02ad53439c88ac67326e894fff97397e98f
parentd51aff16e821a755c242e14168f5d4601199eafd
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