]> 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)
commit1cb835f79e45eeb68be5f9ac3b6270dec11c3083
tree4d3cf40eb491137819f4b2cd152bfb46e310e698
parent7161b98fa177c0a93e13168e988d596dba4c2e06
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