Commit 40463bdc authored by Yong Zhao's avatar Yong Zhao Committed by Alex Deucher

drm/amdkfd: Sync gfx10 kfd2kgd_calls function pointers

get_hive_id was not set. Also, adjust the function setting sequence.
Signed-off-by: default avatarYong Zhao <Yong.Zhao@amd.com>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent c637b36a
...@@ -159,10 +159,11 @@ static const struct kfd2kgd_calls kfd2kgd = { ...@@ -159,10 +159,11 @@ static const struct kfd2kgd_calls kfd2kgd = {
get_atc_vmid_pasid_mapping_pasid, get_atc_vmid_pasid_mapping_pasid,
.get_atc_vmid_pasid_mapping_valid = .get_atc_vmid_pasid_mapping_valid =
get_atc_vmid_pasid_mapping_valid, get_atc_vmid_pasid_mapping_valid,
.get_tile_config = amdgpu_amdkfd_get_tile_config,
.set_vm_context_page_table_base = set_vm_context_page_table_base,
.invalidate_tlbs = invalidate_tlbs, .invalidate_tlbs = invalidate_tlbs,
.invalidate_tlbs_vmid = invalidate_tlbs_vmid, .invalidate_tlbs_vmid = invalidate_tlbs_vmid,
.set_vm_context_page_table_base = set_vm_context_page_table_base, .get_hive_id = amdgpu_amdkfd_get_hive_id,
.get_tile_config = amdgpu_amdkfd_get_tile_config,
}; };
struct kfd2kgd_calls *amdgpu_amdkfd_gfx_10_0_get_functions() struct kfd2kgd_calls *amdgpu_amdkfd_gfx_10_0_get_functions()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment