diff options
| author | Zhigang Luo <Zhigang.Luo@amd.com> | 2024-02-29 16:04:35 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-05-22 14:12:14 +0200 |
| commit | d59f45595102fc2f9a4d7243ff053b3c3c6fbb99 (patch) | |
| tree | ee4e03d1860328fdc3dd97bd1a7968d9c5a6afbb /drivers/gpu/drm/amd/amdgpu/amdgpu.h | |
| parent | 9a6d2e19448e0f324248260a10e469eaa1f8d979 (diff) | |
| download | linux-d59f45595102fc2f9a4d7243ff053b3c3c6fbb99.tar.gz linux-d59f45595102fc2f9a4d7243ff053b3c3c6fbb99.tar.bz2 linux-d59f45595102fc2f9a4d7243ff053b3c3c6fbb99.zip | |
drm/amdgpu: trigger flr_work if reading pf2vf data failed
[ Upstream commit ab66c832847fcdffc97d4591ba5547e3990d9d33 ]
if reading pf2vf data failed 30 times continuously, it means something is
wrong. Need to trigger flr_work to recover the issue.
also use dev_err to print the error message to get which device has
issue and add warning message if waiting IDH_FLR_NOTIFICATION_CMPL
timeout.
Signed-off-by: Zhigang Luo <Zhigang.Luo@amd.com>
Acked-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Stable-dep-of: d0ce1aaa8531 ("Revert "drm/amd: Stop evicting resources on APUs in suspend"")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu.h')
0 files changed, 0 insertions, 0 deletions
