]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/amdgpu/sriov disable all ip hw status by default
authorJack Zhang <Jack.Zhang1@amd.com>
Tue, 27 Apr 2021 09:08:47 +0000 (17:08 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Jul 2021 08:00:43 +0000 (10:00 +0200)
commitd819e979411bede216756e38ce29313b2a74b558
tree94d4e242f855b6912688febf119c5fb02e33b523
parent8339b75bab8a39fbcf03aebf2ccc5c1bc7c9a670
drm/amd/amdgpu/sriov disable all ip hw status by default

[ Upstream commit 95ea3dbc4e9548d35ab6fbf67675cef8c293e2f5 ]

Disable all ip's hw status to false before any hw_init.
Only set it to true until its hw_init is executed.

The old 5.9 branch has this change but somehow the 5.11 kernrel does
not have this fix.

Without this change, sriov tdr have gfx IB test fail.

Signed-off-by: Jack Zhang <Jack.Zhang1@amd.com>
Review-by: Emily Deng <Emily.Deng@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c