OSDN Git Service

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)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Apr 2021 03:36:05 +0000 (23:36 -0400)
commit95ea3dbc4e9548d35ab6fbf67675cef8c293e2f5
tree7b3e58edb795f3e8e23171c9d0f439ae653c39a8
parentdd03daec0ff170c0622c9545137e8ad9846b967d
drm/amd/amdgpu/sriov disable all ip hw status by default

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c