diff options
author | 2022-09-30 09:16:21 -0400 | |
---|---|---|
committer | 2023-06-09 09:46:56 -0400 | |
commit | f5fe7edfd6ce62cd23fbd707e7f9fe0f56a45e94 (patch) | |
tree | d964c575d8f59ef379934b1946dca07ee61ec6f8 /drivers/gpu/drm/amd/amdkfd/kfd_svm.h | |
parent | drm/amdgpu: Fix failure when switching to DPX mode (diff) | |
download | linux-f5fe7edfd6ce62cd23fbd707e7f9fe0f56a45e94.tar.gz linux-f5fe7edfd6ce62cd23fbd707e7f9fe0f56a45e94.tar.bz2 linux-f5fe7edfd6ce62cd23fbd707e7f9fe0f56a45e94.zip |
drm/amdkfd: Update interrupt handling for GFX9.4.3
Update interrupt handling in CPX mode for GFX9.4.3 by using the
VMID space instead of SDMA client id to determine if an interrupt
should be processed by a KFD node. This is especially needed for
handling retry faults from MMHUB.
Signed-off-by: Mukul Joshi <mukul.joshi@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/amdkfd/kfd_svm.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdkfd/kfd_svm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdkfd/kfd_svm.h b/drivers/gpu/drm/amd/amdkfd/kfd_svm.h index a165c73b40b2..5116786718b6 100644 --- a/drivers/gpu/drm/amd/amdkfd/kfd_svm.h +++ b/drivers/gpu/drm/amd/amdkfd/kfd_svm.h @@ -173,7 +173,7 @@ int svm_range_split_by_granularity(struct kfd_process *p, struct mm_struct *mm, unsigned long addr, struct svm_range *parent, struct svm_range *prange); int svm_range_restore_pages(struct amdgpu_device *adev, unsigned int pasid, - uint32_t client_id, uint32_t node_id, uint64_t addr, + uint32_t vmid, uint32_t node_id, uint64_t addr, bool write_fault); int svm_range_schedule_evict_svm_bo(struct amdgpu_amdkfd_fence *fence); void svm_range_add_list_work(struct svm_range_list *svms, |