]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee05e896c436265bd5fd4aa474721a116006ea1e
treecf90a02ad53439c88ac67326e894fff97397e98f
parent7fe058e4b4bac8698328fc10e0fd3c579a32789d
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