drm/amdgpu/gfx10: explicitly wait for cp idle after halt/unhalt
authorXiaojie Yuan <xiaojie.yuan@amd.com>
Thu, 14 Nov 2019 08:56:08 +0000 (16:56 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 22 Nov 2019 19:54:56 +0000 (14:54 -0500)
commit1e902a6d32d73e4a6b3bc9d7cd43d4ee2b242dea
tree2095bbeebe8b4aeb5fc56c7403454ee4ca581396
parent5e18d2b14c704d465ce85b0f6004c75f1150ab0b
drm/amdgpu/gfx10: explicitly wait for cp idle after halt/unhalt

50us is not enough to wait for cp ready after gpu reset on some navi asics.

Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com>
Suggested-by: Jack Xiao <Jack.Xiao@amd.com>
Acked-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/gfx_v10_0.c