diff options
| author | Yunxiang Li <[email protected]> | 2024-04-22 14:44:38 -0400 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-05-02 15:40:50 -0400 |
| commit | 25c01191c2555351922e5515b6b6d31357975031 (patch) | |
| tree | 6ae9d6296928adda447c2bb6cb2bbf16284559eb /tools/perf/scripts/python/task-analyzer.py | |
| parent | f4322b9f8ad5f9f62add288c785d2e10bb6a5efe (diff) | |
drm/amdgpu: Add reset_context flag for host FLR
There are other reset sources that pass NULL as the job pointer, such as
amdgpu_amdkfd_reset_work. Therefore, using the job pointer to check if
the FLR comes from the host does not work.
Add a flag in reset_context to explicitly mark host triggered reset, and
set this flag when we receive host reset notification.
Signed-off-by: Yunxiang Li <[email protected]>
Reviewed-by: Emily Deng <[email protected]>
Reviewed-by: Zhigang Luo <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions