diff options
author | Philip Yang <Philip.Yang@amd.com> | 2021-07-07 12:42:34 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2021-07-13 11:48:13 -0400 |
commit | 5017bf8214d929f6ff45c46ec21cd3c1bfc03dad (patch) | |
tree | fb88f7f4822d5c4a615055008bc08de79fdfc797 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c | |
parent | fa8f311e9e3aa1d41f31f8b28f975c65f0b25c03 (diff) |
drm/amdkfd: handle fault counters on invalid address
prange is NULL if vm fault retry on invalid address, for this case, can
not use prange to get pdd, use adev to get gpuidx and then get pdd
instead, then increase pdd vm fault counter.
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_irq.c')
0 files changed, 0 insertions, 0 deletions