]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2713a79017fb8ed9cbcc480eac4c536bc73c0ee4
tree20974a853ab5baf0ec79a9554602d89dc2679701
parent5e9c1aa5e472b47b7365e3b20d8430af76ed6081
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