]> git.baikalelectronics.ru Git - kernel.git/commit
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)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 23:06:44 +0000 (18:06 -0500)
commit799ae52efbc41e40bfd56aa19d43d9e390c1db77
tree628d3ca4b25cae17b0ead37c23df93d3512568b4
parent875bb22c04b77daba6a0f7b48468601c440ddfd4
drm/amdgpu: don't do resets on APUs which don't support it

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: b890ad00836d61 ("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>
drivers/gpu/drm/amd/amdgpu/cik.c
drivers/gpu/drm/amd/amdgpu/vi.c