OrangePi_CM5/drivers/gpu/drm/amd
Felix Kuehling c98171ccf6 drm/amdgpu: Handle GPUVM fault storms
When many wavefronts cause VM faults at the same time, it can
overwhelm the interrupt handler and cause IH ring overflows before
the driver can notify or kill the faulting application.

As a workaround I'm introducing limited per-VM fault credit. After
that number of VM faults have occurred, further VM faults are
filtered out at the prescreen stage of processing.

This depends on the PASID in the interrupt packet, so it currently
only works for KFD contexts.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-28 16:03:30 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/amdgpu: Handle GPUVM fault storms 2017-09-28 16:03:30 -04:00
amdkfd drm/amdkfd: Use PASID manager from KGD 2017-09-26 13:07:04 -04:00
include drm/amdgpu: add cgs query info of pci bus devfn 2017-09-26 15:14:16 -04:00
lib drm/amd/chash: Fix typo 2017-09-28 16:03:29 -04:00
powerplay drm/amd/powerplay: fix spelling mistake: "dividable" -> "divisible" 2017-09-28 16:03:29 -04:00
scheduler drm/amdgpu: discard commands of killed processes 2017-08-29 15:27:42 -04:00