OSDN Git Service

drm/amdgpu: add infrastructure for soft IH ring
authorChristian König <christian.koenig@amd.com>
Sat, 31 Oct 2020 17:38:15 +0000 (18:38 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 24 Nov 2020 17:06:38 +0000 (12:06 -0500)
commit26f32a377eeddc5af24821b1ef3a3a8de7a80211
tree4d3cf40eb491137819f4b2cd152bfb46e310e698
parent45d87b85d39bc68148580be08c6b7aca803ba1a6
drm/amdgpu: add infrastructure for soft IH ring

Add a soft IH ring implementation similar to the hardware IH1/2.

This can be used if the hardware delegation of interrupts to IH1/2
doesn't work for some reason.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.h
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.h