drm/amdgpu/gfx10: fix issues for suspend/resume
authorJack Xiao <Jack.Xiao@amd.com>
Tue, 16 Apr 2019 09:27:41 +0000 (17:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:27 +0000 (18:59 -0500)
commit8a33c4f1945cdecc585eee6a94aa06fb9c85668c
tree20974a853ab5baf0ec79a9554602d89dc2679701
parent948f540cd0120ef9d622af42c1b95f28cf992da0
drm/amdgpu/gfx10: fix issues for suspend/resume

1). use PREEMPT_QUEUE instead of RESET_QUEUE for gfx ring disablement.
2). Need wait for unmapping queue done before continue execution.

Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Tianci Yin <tianci.yin@amd.com>
Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c