linux_dsm_epyc7002/drivers/gpu/drm/amd/amdgpu
Xiaojie Yuan 9e48495017 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 <xiaojie.yuan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2019-08-22 17:25:01 -05:00
..
amdgpu_acp.c
amdgpu_acp.h
amdgpu_acpi.c
amdgpu_afmt.c
amdgpu_amdkfd_arcturus.c drm/amdgpu: drop drmP.h in amdgpu_amdkfd_arcturus.c 2019-07-31 14:32:56 -05:00
amdgpu_amdkfd_fence.c
amdgpu_amdkfd_gfx_v7.c
amdgpu_amdkfd_gfx_v8.c
amdgpu_amdkfd_gfx_v9.c drm/amdgpu: Export function to flush TLB of specific vm hub 2019-08-15 10:57:48 -05:00
amdgpu_amdkfd_gfx_v9.h drm/amdgpu: drop unused function definitions 2019-07-18 14:18:07 -05:00
amdgpu_amdkfd_gfx_v10.c drm/amdkfd/gfx10: Calling amdgpu functions to invalidate TLB 2019-08-15 10:57:55 -05:00
amdgpu_amdkfd_gpuvm.c Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-08-12 14:20:21 +10:00
amdgpu_amdkfd.c drm/amdgpu: enable Navi12 kfd support for amdgpu 2019-08-02 10:30:41 -05:00
amdgpu_amdkfd.h drm/amdkfd: Implement kfd2kgd_calls for Arcturus 2019-07-18 14:18:04 -05:00
amdgpu_atombios.c
amdgpu_atombios.h
amdgpu_atomfirmware.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_atomfirmware.h
amdgpu_atpx_handler.c
amdgpu_benchmark.c
amdgpu_bios.c
amdgpu_bo_list.c
amdgpu_bo_list.h
amdgpu_cgs.c
amdgpu_connectors.c drm/amdgpu: Provide ddc symlink in connector sysfs directory 2019-07-31 16:35:37 +02:00
amdgpu_connectors.h
amdgpu_cs.c drm/amdgpu: prevent memory leaks in AMDGPU_CS ioctl 2019-08-21 22:18:38 -05:00
amdgpu_csa.c
amdgpu_csa.h
amdgpu_ctx.c drm/amdgpu: fix dma_fence_wait without reference 2019-08-22 17:17:53 -05:00
amdgpu_ctx.h
amdgpu_debugfs.c drm/amdgpu: fix a potential information leaking bug 2019-07-31 01:26:09 -05:00
amdgpu_debugfs.h
amdgpu_device.c drm/amdgpu: Use new mode2 reset interface for RV. 2019-08-15 11:00:44 -05:00
amdgpu_discovery.c drm/amdgpu/discovery: fix DCE_HWIP mapping error in hw_id_map array 2019-07-11 14:37:24 -05:00
amdgpu_discovery.h
amdgpu_display.c Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-08-12 14:20:21 +10:00
amdgpu_display.h drm/amdgpu: Fix amdgpu_display_supported_domains logic. 2019-07-30 23:48:32 -05:00
amdgpu_dma_buf.c Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-08-12 14:20:21 +10:00
amdgpu_dma_buf.h drm/amdgpu: Fill out gem_object->resv 2019-07-31 10:19:23 +02:00
amdgpu_doorbell.h drm/amdgpu/: add doorbell assignment for 2nd vcn instance 2019-07-18 14:18:05 -05:00
amdgpu_dpm.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_dpm.h
amdgpu_drv.c amd/amdgpu: add Arcturus vf DID support 2019-08-22 17:17:12 -05:00
amdgpu_drv.h
amdgpu_encoders.c
amdgpu_fb.c drm/amdgpu: Fix amdgpu_display_supported_domains logic. 2019-07-30 23:48:32 -05:00
amdgpu_fence.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_gart.c dmr/amdgpu: Fix compile error with CONFIG_DRM_AMDGPU_GART_DEBUGFS 2019-08-15 10:59:17 -05:00
amdgpu_gart.h
amdgpu_gds.h Revert "drm/amdgpu: fix transform feedback GDS hang on gfx10 (v2)" 2019-08-12 12:47:47 -05:00
amdgpu_gem.c Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-08-12 14:20:21 +10:00
amdgpu_gem.h drm/amdgpu: use embedded gem object 2019-08-06 08:21:54 +02:00
amdgpu_gfx.c drm/amdgpu: enable async gfx ring for navi14 2019-07-18 14:18:00 -05:00
amdgpu_gfx.h drm/amdgpu: add RAS callback for gfx 2019-07-31 14:51:08 -05:00
amdgpu_gmc.c drm/amdgpu: disable agp for sriov 2019-08-22 17:15:06 -05:00
amdgpu_gmc.h drm/amdgpu: Export function to flush TLB of specific vm hub 2019-08-15 10:57:48 -05:00
amdgpu_gtt_mgr.c
amdgpu_i2c.c
amdgpu_i2c.h
amdgpu_ib.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_ids.c drm/amdgpu: disable concurrent flushes on Navi14 2019-07-18 14:18:01 -05:00
amdgpu_ids.h
amdgpu_ih.c
amdgpu_ih.h
amdgpu_ioc32.c
amdgpu_irq.c
amdgpu_irq.h
amdgpu_job.c
amdgpu_job.h
amdgpu_kms.c Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-08-12 14:20:21 +10:00
amdgpu_mes.h
amdgpu_mmhub.h drm/amdgpu: add amdgpu_mmhub_funcs definition 2019-08-12 12:47:48 -05:00
amdgpu_mn.c drm/amdgpu: switch driver from bo->resv to bo->base.resv 2019-08-06 08:21:54 +02:00
amdgpu_mn.h drm/amdgpu: Prepare for hmm_range_register API change (v2) 2019-07-08 13:55:00 -05:00
amdgpu_mode.h
amdgpu_object.c drm/amdgpu/psp: move TMR to cpu invisible vram region 2019-08-21 22:16:45 -05:00
amdgpu_object.h Merge tag 'drm-next-5.4-2019-08-09' of git://people.freedesktop.org/~agd5f/linux into drm-next 2019-08-12 14:20:21 +10:00
amdgpu_pll.c
amdgpu_pll.h
amdgpu_pm.c drm/amd/powerplay: expose supported clock domains only through sysfs 2019-08-21 22:17:28 -05:00
amdgpu_pm.h
amdgpu_pmu.c
amdgpu_pmu.h
amdgpu_psp.c drm/amdgpu/psp: move TMR to cpu invisible vram region 2019-08-21 22:16:45 -05:00
amdgpu_psp.h drm/amdgpu/psp: move TMR to cpu invisible vram region 2019-08-21 22:16:45 -05:00
amdgpu_ras.c drm/amdgpu: remove ras block's feature status info in sysfs 2019-08-12 12:47:48 -05:00
amdgpu_ras.h drm/amdgpu: add define for gfx ras subblock 2019-07-31 14:51:01 -05:00
amdgpu_ring.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_ring.h drm/amdgpu/: increase AMDGPU_MAX_RINGS to add 2nd vcn instance 2019-07-18 14:18:05 -05:00
amdgpu_rlc.c
amdgpu_rlc.h
amdgpu_sa.c
amdgpu_sched.c
amdgpu_sched.h
amdgpu_sdma.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_sdma.h drm/amdgpu: reorganize sdma v4 code to support more instances 2019-07-18 14:18:02 -05:00
amdgpu_socbb.h
amdgpu_sync.c
amdgpu_sync.h
amdgpu_test.c
amdgpu_trace_points.c
amdgpu_trace.h
amdgpu_ttm.c drm/amdgpu: handle PCIe root ports with addressing limitations 2019-08-15 10:51:00 -05:00
amdgpu_ttm.h drm/amdgpu: Implement VRAM wipe on release 2019-08-02 10:18:32 -05:00
amdgpu_ucode.c drm/amdgpu: fix debug level for ppt offset/size 2019-08-21 22:15:28 -05:00
amdgpu_ucode.h drm/amdgpu: extend PSP FW loading support to 8 SDMA instances 2019-08-02 10:30:39 -05:00
amdgpu_umc.h drm/amdgpu: implement UMC 64 bits REG operations 2019-08-09 11:17:10 -05:00
amdgpu_uvd.c drm/amdgpu: switch driver from bo->resv to bo->base.resv 2019-08-06 08:21:54 +02:00
amdgpu_uvd.h
amdgpu_vce.c
amdgpu_vce.h
amdgpu_vcn.c drm/amdgpu: use direct loading on renoir vcn for the moment 2019-08-12 12:47:50 -05:00
amdgpu_vcn.h drm/amd/amdgpu/vcn_v2_0: Mark RB commands as KMD commands 2019-07-30 23:48:32 -05:00
amdgpu_vf_error.c
amdgpu_vf_error.h
amdgpu_virt.c drm/amdgpu: cleanup vega10 SRIOV code path 2019-08-02 10:17:21 -05:00
amdgpu_virt.h drm/amdgpu: cleanup vega10 SRIOV code path 2019-08-02 10:17:21 -05:00
amdgpu_vm_cpu.c
amdgpu_vm_sdma.c drm/amdgpu: switch driver from bo->resv to bo->base.resv 2019-08-06 08:21:54 +02:00
amdgpu_vm.c drm/amd/amdgpu: Update VM function pointer 2019-08-15 10:58:28 -05:00
amdgpu_vm.h drm/amdgpu/gmc10: fix pte mytpe field error for navi14 2019-07-30 23:19:35 -05:00
amdgpu_vram_mgr.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
amdgpu_xgmi.c drm/amdgpu: adding xgmi error monitoring 2019-07-30 23:22:34 -05:00
amdgpu_xgmi.h
amdgpu.h drm/amdgpu: simplify and cleanup setting the dma mask 2019-08-15 10:51:01 -05:00
arct_reg_init.c drm/amd/powerplay: initialize arcturus MP1 and THM base address 2019-07-30 23:48:33 -05:00
athub_v1_0.c drm/amdgpu: split athub clock gating from mmhub 2019-08-12 12:47:48 -05:00
athub_v1_0.h drm/amdgpu: split athub clock gating from mmhub 2019-08-12 12:47:48 -05:00
athub_v2_0.c drm/amdgpu/athub2: set clock gating for navi12 2019-08-12 12:47:47 -05:00
athub_v2_0.h
atom.c
atom.h
atombios_crtc.c
atombios_crtc.h
atombios_dp.c
atombios_dp.h
atombios_encoders.c
atombios_encoders.h
atombios_i2c.c
atombios_i2c.h
cik_dpm.h
cik_ih.c
cik_ih.h
cik_sdma.c
cik_sdma.h
cik.c drm/amdgpu: add reset_method asic callback for cik 2019-07-30 23:24:06 -05:00
cik.h
cikd.h
clearstate_ci.h
clearstate_defs.h
clearstate_gfx9.h
clearstate_gfx10.h
clearstate_si.h
clearstate_vi.h
cz_ih.c
cz_ih.h
dce_v6_0.c drm/amdgpu: Update pitch on page flips without DC as well 2019-08-12 12:47:47 -05:00
dce_v6_0.h
dce_v8_0.c drm/amdgpu: Update pitch on page flips without DC as well 2019-08-12 12:47:47 -05:00
dce_v8_0.h
dce_v10_0.c drm/amdgpu: Update pitch on page flips without DC as well 2019-08-12 12:47:47 -05:00
dce_v10_0.h
dce_v11_0.c drm/amdgpu: Update pitch on page flips without DC as well 2019-08-12 12:47:47 -05:00
dce_v11_0.h
dce_virtual.c drm/amdgpu: enable dce virtual ip module for Renoir 2019-08-12 12:47:50 -05:00
dce_virtual.h
df_v1_7.c
df_v1_7.h
df_v3_6.c drm/amdgpu: add perfmon and fica atomics for df 2019-07-30 23:22:26 -05:00
df_v3_6.h
emu_soc.c
gfx_v6_0.c drm/amd/amdgpu: Add VMID to SRBM debugfs bank selection 2019-07-16 13:08:38 -05:00
gfx_v6_0.h
gfx_v7_0.c Linux 5.3-rc3 2019-08-09 13:07:28 -05:00
gfx_v7_0.h
gfx_v8_0.c Linux 5.3-rc3 2019-08-09 13:07:28 -05:00
gfx_v8_0.h
gfx_v9_0.c drm/amdgpu: remove duplicated include from gfx_v9_0.c 2019-08-21 22:18:54 -05:00
gfx_v9_0.h
gfx_v10_0.c drm/amdgpu: Export function to flush TLB of specific vm hub 2019-08-15 10:57:48 -05:00
gfx_v10_0.h
gfxhub_v1_0.c drm/amdgpu: rename AMDGPU_GFXHUB/MMHUB macro with hub number 2019-07-18 14:18:01 -05:00
gfxhub_v1_0.h
gfxhub_v1_1.c
gfxhub_v1_1.h
gfxhub_v2_0.c drm/amdgpu: Set VM_L2_CNTL.PDE_FAULT_CLASSIFICATION to 0 for GFX10 2019-08-15 10:58:14 -05:00
gfxhub_v2_0.h
gmc_v6_0.c drm/amdgpu: Export function to flush TLB of specific vm hub 2019-08-15 10:57:48 -05:00
gmc_v6_0.h
gmc_v7_0.c drm/amdgpu: Export function to flush TLB of specific vm hub 2019-08-15 10:57:48 -05:00
gmc_v7_0.h
gmc_v8_0.c drm/amdgpu: Export function to flush TLB of specific vm hub 2019-08-15 10:57:48 -05:00
gmc_v8_0.h
gmc_v9_0.c drm/amdgpu: unity mc base address for arcturus 2019-08-22 17:15:21 -05:00
gmc_v9_0.h drm/amdkfd: Expose function mmhub_v9_4_setup_vm_pt_regs() for kfd to use 2019-07-18 14:18:04 -05:00
gmc_v10_0.c drm/amdgpu: Add more page fault info printing for GFX10 2019-08-15 10:58:08 -05:00
gmc_v10_0.h
iceland_ih.c
iceland_ih.h
iceland_sdma_pkt_open.h
Kconfig drm main pull request for v5.3-rc1 (sans mm changes) 2019-07-15 19:04:27 -07:00
kv_dpm.c
kv_dpm.h
kv_smc.c
Makefile drm/amdgpu: add psp_v12_0 for renoir (v2) 2019-08-12 12:47:50 -05:00
mes_v10_1.c Merge branch 'drm-next' into drm-next-5.3 2019-06-25 08:42:25 -05:00
mes_v10_1.h drm/amdgpu/mes10.1: Fix header guard 2019-07-08 13:56:02 -05:00
mmhub_v1_0.c drm/amdgpu: implement querying ras error count for mmhub 2019-08-15 10:51:50 -05:00
mmhub_v1_0.h drm/amdgpu: add amdgpu_mmhub_funcs definition 2019-08-12 12:47:48 -05:00
mmhub_v2_0.c drm/amdgpu: Set VM_L2_CNTL.PDE_FAULT_CLASSIFICATION to 0 for GFX10 2019-08-15 10:58:14 -05:00
mmhub_v2_0.h
mmhub_v9_4.c drm/amdgpu: enable mmhub clock gating for Arcturus 2019-08-12 12:47:49 -05:00
mmhub_v9_4.h drm/amdgpu: add mmhub clock gating for Arcturus 2019-08-12 12:47:49 -05:00
mmsch_v1_0.h
mxgpu_ai.c drm/amdgpu: cleanup vega10 SRIOV code path 2019-08-02 10:17:21 -05:00
mxgpu_ai.h
mxgpu_vi.c
mxgpu_vi.h
navi10_ih.c drm/amdgpu: drop drmP.h from navi10_ih.c 2019-07-31 14:33:21 -05:00
navi10_ih.h
navi10_reg_init.c drm/amdgpu/discovery: move common discovery code out of navi1*_reg_base_init() 2019-08-06 13:53:05 -05:00
navi10_sdma_pkt_open.h
navi12_reg_init.c drm/amdgpu: initialize reg base for navi12 2019-08-02 10:30:39 -05:00
navi14_reg_init.c drm/amdgpu/discovery: move common discovery code out of navi1*_reg_base_init() 2019-08-06 13:53:05 -05:00
nbio_v2_3.c drm/amdgpu: add vcn nbio doorbell range setting for 2nd vcn instance 2019-07-18 14:18:05 -05:00
nbio_v2_3.h
nbio_v6_1.c
nbio_v6_1.h
nbio_v7_0.c drm/amdgpu: enable Doorbell support for Renoir (v2) 2019-08-12 12:47:50 -05:00
nbio_v7_0.h
nbio_v7_4.c drm/amdgpu: add vcn nbio doorbell range setting for 2nd vcn instance 2019-07-18 14:18:05 -05:00
nbio_v7_4.h
nv.c drm/amdgpu: remove set but not used variable 'psp_enabled' 2019-08-21 22:18:51 -05:00
nv.h drm/amdgpu: initialize reg base for navi12 2019-08-02 10:30:39 -05:00
nvd.h
ObjectID.h
ppsmc.h
psp_gfx_if.h drm/amdgpu: extend PSP FW loading support to 8 SDMA instances 2019-08-02 10:30:39 -05:00
psp_v3_1.c drm/amdgpu: remove redundant argument for psp_funcs::cmd_submit callback 2019-08-21 22:16:37 -05:00
psp_v3_1.h
psp_v10_0.c drm/amdgpu: remove redundant argument for psp_funcs::cmd_submit callback 2019-08-21 22:16:37 -05:00
psp_v10_0.h
psp_v11_0.c drm/amdgpu: remove redundant argument for psp_funcs::cmd_submit callback 2019-08-21 22:16:37 -05:00
psp_v11_0.h
psp_v12_0.c drm/amdgpu: remove redundant argument for psp_funcs::cmd_submit callback 2019-08-21 22:16:37 -05:00
psp_v12_0.h drm/amdgpu: add psp_v12_0 for renoir (v2) 2019-08-12 12:47:50 -05:00
r600_dpm.h
sdma_v2_4.c
sdma_v2_4.h
sdma_v3_0.c
sdma_v3_0.h
sdma_v4_0.c drm/amdgpu: add sdma golden settings for renoir 2019-08-12 12:47:50 -05:00
sdma_v4_0.h
sdma_v5_0.c drm/amdgpu/sdma5: fix number of sdma5 trap irq types for navi1x 2019-08-22 17:25:01 -05:00
sdma_v5_0.h
si_dma.c
si_dma.h
si_dpm.c
si_dpm.h
si_enums.h
si_ih.c
si_ih.h
si_smc.c
si.c drm/amdgpu: add reset_method asic callback for si 2019-07-30 23:23:56 -05:00
si.h
sid.h
sislands_smc.h
soc15_common.h drm/amdgpu: cleanup vega10 SRIOV code path 2019-08-02 10:17:21 -05:00
soc15.c drm/amdgpu/gfx9: update pg_flags after determining if gfx off is possible 2019-08-21 22:15:13 -05:00
soc15.h drm/amdgpu: dynamically initialize IP offset for Arcturus 2019-07-18 14:18:02 -05:00
soc15d.h
ta_ras_if.h
ta_xgmi_if.h
tonga_ih.c
tonga_ih.h
tonga_sdma_pkt_open.h
umc_v6_1.c drm/amdgpu: implement UMC 64 bits REG operations 2019-08-09 11:17:10 -05:00
umc_v6_1.h drm/amdgpu: implement umc ras init function 2019-08-02 10:30:38 -05:00
uvd_v4_2.c
uvd_v4_2.h
uvd_v5_0.c
uvd_v5_0.h
uvd_v6_0.c
uvd_v6_0.h
uvd_v7_0.c drm/amdgpu: rename AMDGPU_GFXHUB/MMHUB macro with hub number 2019-07-18 14:18:01 -05:00
uvd_v7_0.h
vce_v2_0.c
vce_v2_0.h
vce_v3_0.c
vce_v3_0.h
vce_v4_0.c drm/amdgpu: rename AMDGPU_GFXHUB/MMHUB macro with hub number 2019-07-18 14:18:01 -05:00
vce_v4_0.h
vcn_v1_0.c drm/amdgpu: modify amdgpu_vcn to support multiple instances 2019-07-18 14:18:05 -05:00
vcn_v1_0.h
vcn_v2_0.c drm/amdgpu: use direct loading on renoir vcn for the moment 2019-08-12 12:47:50 -05:00
vcn_v2_0.h drm/amdgpu/VCN2: expose rings functions 2019-07-18 14:18:04 -05:00
vcn_v2_5.c drm/amdgpu: drop drmP.h from vcn_v2_5.c 2019-07-31 14:33:41 -05:00
vcn_v2_5.h drm/amdgpu: enable VCN2.5 on Arcturus 2019-07-18 14:18:05 -05:00
vega10_ih.c drm/amdgpu: fix no interrupt issue for renoir emu 2019-08-12 12:47:50 -05:00
vega10_ih.h
vega10_reg_init.c drm/amdgpu: enable Doorbell support for Renoir (v2) 2019-08-12 12:47:50 -05:00
vega10_sdma_pkt_open.h
vega20_reg_init.c drm/amdgpu: init RSMU and UMC ip base address for vega20 2019-07-31 14:48:51 -05:00
vi.c drm/amdgpu: add reset_method asic callback for vi 2019-07-30 23:24:10 -05:00
vi.h
vid.h