diff options
author | Christian König <christian.koenig@amd.com> | 2018-09-26 07:45:38 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-01-25 16:15:35 -0500 |
commit | 9dd60c4e5918e4d30ac91415f08127d1056e51ee (patch) | |
tree | e46c54eceb3e106db349a19cec70111f30e9efbb /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |
parent | ad710812b5385d0128f870bece22dad25f71d756 (diff) |
drm/amdgpu: add support for processing IH ring 1 & 2
Previously we only added the ring buffer memory, now add the handling as
well.
Signed-off-by: Christian König <christian.koenig@amd.com>
Acked-by: Alex Deucher <alexander.deucher@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, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h index 7e06fa64321a..c27decfda494 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |||
@@ -89,7 +89,9 @@ struct amdgpu_irq { | |||
89 | 89 | ||
90 | /* interrupt rings */ | 90 | /* interrupt rings */ |
91 | struct amdgpu_ih_ring ih, ih1, ih2; | 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 | struct work_struct ih1_work, ih2_work; | ||
94 | struct amdgpu_irq_src self_irq; | ||
93 | 95 | ||
94 | /* gen irq stuff */ | 96 | /* gen irq stuff */ |
95 | struct irq_domain *domain; /* GPU irq controller domain */ | 97 | struct irq_domain *domain; /* GPU irq controller domain */ |