linux/drivers/gpu/drm/amd
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
..
acp treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
amdgpu drm/amdgpu/sdma5: fix number of sdma5 trap irq types for navi1x 2019-08-22 17:25:01 -05:00
amdkfd drm/amdkfd: remove set but not used variable 'pdd' 2019-08-21 22:19:00 -05:00
display drm/amd/display: Enable SST DSC in DM 2019-08-22 17:24:47 -05:00
include drm/amdgpu: Fix a typo in the include header guard of 'navi12_ip_offset.h' 2019-08-21 22:16:55 -05:00
powerplay drm/powerplay: Fix Vega20 Average Power value v4 2019-08-22 17:17:35 -05:00