diff options
author | Philip Yang <Philip.Yang@amd.com> | 2024-11-13 06:07:33 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-12-18 20:39:07 +0300 |
commit | 1b00143231d3e6f4b76f88f4edd6bb8a1332ef9b (patch) | |
tree | 2a36ece08a5459a427f88a682565f64683635907 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | f607b2b867bbef8a3a76de8d0eccf7429782bdca (diff) | |
download | linux-1b00143231d3e6f4b76f88f4edd6bb8a1332ef9b.tar.xz |
drm/amdgpu: Optimize gfx v9 GPU page fault handling
After GPU page fault, there are lots of page fault interrupts generated
at short period even with CAM filter enabled because the fault address
is different. Each page fault copy to KFD ih fifo to send event to user
space by KFD interrupt worker, this could cause KFD ih fifo overflow
while other processes generate events at same time.
KFD process is aborted after GPU page fault, we only need one GPU page
fault interrupt sent to KFD ih fifo to send memory exception event to
user space.
Incease KFD ih fifo size to 2 times of IH primary ring size, to handle
the burst events case.
This patch handle the gfx v9 path, cover retry on/off and CAM filter
on/off cases.
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <felix.kuehling@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions