]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8ac455f0c70f7c02b3efb900f57cd1f5b62fe3c3
tree4d3cf40eb491137819f4b2cd152bfb46e310e698
parent27accc69ab62c1b1021de5498ed27f7e5edbb1b0
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