diff options
author | Christian König <christian.koenig@amd.com> | 2018-09-18 08:51:35 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-25 16:15:35 -0500 |
commit | ad710812b5385d0128f870bece22dad25f71d756 (patch) | |
tree | d9f800e183d9115be9a1c668424083b60717c787 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |
parent | e95b93ce4116780285f11f08a2bf78f48b23ed11 (diff) |
drm/amdgpu: enable IH ring 1 and ring 2 v4
The entries are ignored for now, but it at least stops crashing the
hardware when somebody tries to push something to the other IH rings.
v2: limit ring size, add TODO comment
v3: only program rings if they are actually allocated
v4: limit the ring init to Vega10
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h index f6ce171cb8aa..7e06fa64321a 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |||
@@ -87,8 +87,8 @@ struct amdgpu_irq { | |||
87 | /* status, etc. */ | 87 | /* status, etc. */ |
88 | bool msi_enabled; /* msi enabled */ | 88 | bool msi_enabled; /* msi enabled */ |
89 | 89 | ||
90 | /* interrupt ring */ | 90 | /* interrupt rings */ |
91 | struct amdgpu_ih_ring ih; | 91 | struct amdgpu_ih_ring ih, ih1, ih2; |
92 | const struct amdgpu_ih_funcs *ih_funcs; | 92 | const struct amdgpu_ih_funcs *ih_funcs; |
93 | 93 | ||
94 | /* gen irq stuff */ | 94 | /* gen irq stuff */ |