aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorPhilip Yang <Philip.Yang@amd.com>2020-06-23 17:06:53 -0400
committerAlex Deucher <alexander.deucher@amd.com>2021-04-20 21:48:15 -0400
commitb53fa124acdcec6d05bcdb36b55bf0f84471b1b7 (patch)
tree7d8f44e504befdf4b282e9293ca47266533bda96 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parente49fe4040a10c1cd3b215c511f658d15aa7c8be9 (diff)
downloadlinux-b53fa124acdcec6d05bcdb36b55bf0f84471b1b7.tar.gz
linux-b53fa124acdcec6d05bcdb36b55bf0f84471b1b7.tar.bz2
linux-b53fa124acdcec6d05bcdb36b55bf0f84471b1b7.zip
drm/amdkfd: support xgmi same hive mapping
amdgpu_gmc_get_vm_pte use bo_va->is_xgmi same hive information to set pte flags to update GPU mapping. Add local structure variable bo_va, and update bo_va.is_xgmi, pass it to mapping->bo_va while mapping to GPU. Assuming xgmi pstate is hi after boot. Signed-off-by: Philip Yang <Philip.Yang@amd.com> Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com> Signed-off-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_object.h')
0 files changed, 0 insertions, 0 deletions