diff options
| author | Christian König <[email protected]> | 2018-09-26 11:45:38 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-01-25 21:15:35 +0000 |
| commit | 9dd60c4e5918e4d30ac91415f08127d1056e51ee (patch) | |
| tree | e46c54eceb3e106db349a19cec70111f30e9efbb /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h | |
| parent | drm/amdgpu: enable IH ring 1 and ring 2 v4 (diff) | |
| download | kernel-9dd60c4e5918e4d30ac91415f08127d1056e51ee.tar.gz kernel-9dd60c4e5918e4d30ac91415f08127d1056e51ee.zip | |
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 <[email protected]>
Acked-by: Alex Deucher <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
Reviewed-by: Felix Kuehling <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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 { /* interrupt rings */ struct amdgpu_ih_ring ih, ih1, ih2; - const struct amdgpu_ih_funcs *ih_funcs; + const struct amdgpu_ih_funcs *ih_funcs; + struct work_struct ih1_work, ih2_work; + struct amdgpu_irq_src self_irq; /* gen irq stuff */ struct irq_domain *domain; /* GPU irq controller domain */ |
