aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorAlex Sierra <[email protected]>2021-06-07 18:14:50 +0000
committerAlex Deucher <[email protected]>2021-10-13 18:14:34 +0000
commit71cbfeb38141928f65dd84db61df01e36119cceb (patch)
treef39e4319a2b4d51f37691dd366488bca046054fa /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parentdrm/amdgpu/nbio2.3: don't use GPU_HDP_FLUSH bit 12 (diff)
downloadkernel-71cbfeb38141928f65dd84db61df01e36119cceb.tar.gz
kernel-71cbfeb38141928f65dd84db61df01e36119cceb.zip
drm/amdkfd: avoid conflicting address mappings
[Why] Avoid conflict with address ranges mapped by SVM mechanism that try to be allocated again through ioctl_alloc in the same process. And viceversa. [How] For ioctl_alloc_memory_of_gpu allocations Check if the address range passed into ioctl memory alloc does not exist already in the kfd_process svms->objects interval tree. For SVM allocations Look for the address range into the interval tree VA from the VM inside of each pdds used in a kfd_process. Signed-off-by: Alex Sierra <[email protected]> Reviewed-by: Felix Kuehling <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions