diff options
| author | Xiaojie Yuan <[email protected]> | 2019-08-21 21:00:29 +0800 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-08-22 17:25:01 -0500 |
| commit | 9e48495017342c5d445b25eedd86d6fd884a6496 (patch) | |
| tree | ff150afc5849621f995f4e18aebfc24693495c4d /tools/perf/scripts/python/netdev-times.py | |
| parent | df2f10151d64d0c7d51deccdca69ca2c9fdcb5d3 (diff) | |
drm/amdgpu/sdma5: fix number of sdma5 trap irq types for navi1x
v2: set num_types based on num_instances
navi1x has 2 sdma engines but commit
"e7b58d03b678 drm/amdgpu: reorganize sdma v4 code to support more instances"
changes the max number of sdma irq types (AMDGPU_SDMA_IRQ_LAST) from 2 to 8
which causes amdgpu_irq_gpu_reset_resume_helper() to recover irq of sdma
engines with following logic:
(enable irq for sdma0) * 1 time
(enable irq for sdma1) * 1 time
(disable irq for sdma1) * 6 times
as a result, after gpu reset, interrupt for sdma1 is lost.
Signed-off-by: Xiaojie Yuan <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions