diff options
| author | shaoyunl <[email protected]> | 2021-11-29 21:29:05 -0500 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2021-12-01 16:07:33 -0500 |
| commit | 992110d747177e5815cf89003732ae69cd70913f (patch) | |
| tree | cc6b94c88a21599b39fecbacaee07a2d5a3358e9 /tools/perf/scripts/python/bin | |
| parent | 405af9793f734159ae20e71bf5fff0d3bec959cd (diff) | |
drm/amdgpu: adjust the kfd reset sequence in reset sriov function
This change revert previous commits:
9f4f2c1a3524 ("drm/amd/amdgpu: fix the kfd pre_reset sequence in sriov")
271fd38ce56d ("drm/amdgpu: move kfd post_reset out of reset_sriov function")
This change moves the amdgpu_amdkfd_pre_reset to an earlier place
in amdgpu_device_reset_sriov, presumably to address the sequence issue
that the first patch was originally meant to fix.
Some register access(GRBM_GFX_CNTL) only be allowed on full access
mode. Move kfd_pre_reset and kfd_post_reset back inside reset_sriov
function.
Fixes: 9f4f2c1a3524 ("drm/amd/amdgpu: fix the kfd pre_reset sequence in sriov")
Fixes: 271fd38ce56d ("drm/amdgpu: move kfd post_reset out of reset_sriov function")
Signed-off-by: shaoyunl <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions