drm/amdgpu: don't do resets on APUs which don't support it
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 13 Jan 2022 03:38:51 +0000 (22:38 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 27 Jan 2022 11:02:46 +0000 (12:02 +0100)
commitd6246a5b649d28c48d9b50733a8331140521bdd1
treed3636dcc925ad3f79b69c3d3962ad2eced19e3d6
parentc7ba643acdd0f133198604795c94ff95d8552202
drm/amdgpu: don't do resets on APUs which don't support it

commit e8309d50e97851ff135c4e33325d37b032666b94 upstream.

It can cause a hang.  This is normally not enabled for GPU
hangs on these asics, but was recently enabled for handling
aborted suspends.  This causes hangs on some platforms
on suspend.

Fixes: daf8de0874ab5b ("drm/amdgpu: always reset the asic in suspend (v2)")
Cc: stable@vger.kernel.org
Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1858
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/vi.c