linux-stable/drivers/gpu/drm/amd
Felix Kuehling a2f14820e3 drm/amdgpu: Track pending retry faults in IH and VM (v2)
IH tracks pending retry faults in a hash table for fast lookup in
interrupt context. Each VM has a short FIFO of pending VM faults for
processing in a bottom half.

The IH prescreening stage adds retry faults and filters out repeated
retry interrupts to minimize the impact of interrupt storms.

It's the VM's responsibility remove pending faults once they are
handled. For now this is only done when the VM is destroyed.

v2:
- Made the hash table smaller and the FIFO longer. I never want the
  FIFO to fill up, because that would make prescreen take longer.
  128 pending page faults should be enough to keep migrations busy.

Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com>
Acked-by: Christian König <christian.koenig@amd.com> (v1)
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2017-09-26 14:53:20 -04:00
..
acp drm: amd: remove broken include path 2017-03-14 19:19:44 -04:00
amdgpu drm/amdgpu: Track pending retry faults in IH and VM (v2) 2017-09-26 14:53:20 -04:00
amdkfd drm/amdkfd: Use PASID manager from KGD 2017-09-26 13:07:04 -04:00
include drm/amd: Closed hash table with low overhead (v2) 2017-09-26 14:53:19 -04:00
lib drm/amd: Closed hash table with low overhead (v2) 2017-09-26 14:53:19 -04:00
powerplay drm/amd/powerplay: Simplify smu7_voting_clients() 2017-09-26 13:07:01 -04:00
scheduler drm/amdgpu: discard commands of killed processes 2017-08-29 15:27:42 -04:00