]> 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)
commit3b02ab6b8afd300b293700d931ab7cde43a7d58a
treecf90a02ad53439c88ac67326e894fff97397e98f
parent14501d927cbaf661df94921e8ba8fbbf79cf7162
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