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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Dec 2019 10:05:19 +0000 (11:05 +0100)
commiteebab68448a6bbb9b899216b6e889057f6f4498d
tree28bc18354603d176ad7ccd677b2601023f8cba2d
parent69e0a0d5bcc4dd677ea460b172a1bec4127c650d
drm/amdgpu/gfx10: explicitly wait for cp idle after halt/unhalt

commit 1e902a6d32d73e4a6b3bc9d7cd43d4ee2b242dea upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/gfx_v10_0.c