summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
diff options
context:
space:
mode:
authorXiaogang Chen <Xiaogang.Chen@amd.com>2023-04-21 13:35:01 -0500
committerAlex Deucher <alexander.deucher@amd.com>2023-04-24 18:36:31 -0400
commit3af470cbcc9f40e47fe9b16882f60cd20b438095 (patch)
tree8bf58ebeb0b75fc0a8a22e3a742a77bb4783654e /drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c
parent9fa8cc0c444562fa19e20ca20f1c70e15b9d8c13 (diff)
drm/amdkfd: Fix an issue at userptr buffer validation process.
amdgpu_ttm_tt_get_user_pages can fail(-EFAULT). If it failed mem has no associated hmm range or user_pages associated. Keep it at process_info->userptr_inval_list and mark mem->invalid until following scheduled attempts can valid it. Signed-off-by: Xiaogang Chen <Xiaogang.Chen@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_gfx.c')
0 files changed, 0 insertions, 0 deletions