drm/amdgpu: fix NULL in vm_grab_id while S3 back
authorChunming Zhou <David1.Zhou@amd.com>
Tue, 29 Dec 2015 03:57:38 +0000 (11:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 4 Jan 2016 22:17:49 +0000 (17:17 -0500)
commite1de741529412f31cb53899307bd63286918c49c
tree1a5c31de612db5842fe8afd4939fcb58b8716fb1
parent7c9574f262a25c7ca0779df31098ba4e0c382e86
drm/amdgpu: fix NULL in vm_grab_id while S3 back

vm_manager_fini shouldn't be in suspend phase.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Ken Wang <Qingqing.Wang@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c