<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Series is:</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Reviewed-by: Alex Deucher <alexander.deucher@amd.com><br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> amd-gfx <amd-gfx-bounces@lists.freedesktop.org> on behalf of Zhao, Yong <Yong.Zhao@amd.com><br>
<b>Sent:</b> Monday, September 23, 2019 4:00 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org><br>
<b>Cc:</b> Zhao, Yong <Yong.Zhao@amd.com><br>
<b>Subject:</b> [PATCH 2/2] drm/amdkfd: Sync gfx10 kfd2kgd_calls function pointers</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">get_hive_id was not set. Also, adjust the function setting sequence.<br>
<br>
Change-Id: I51962954cd0707ebe9aa6c85c71110dee98d6200<br>
Signed-off-by: Yong Zhao <Yong.Zhao@amd.com><br>
---<br>
drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c | 5 +++--<br>
1 file changed, 3 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c<br>
index d3713e41ad8b..3ccaa088cafe 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gfx_v10.c<br>
@@ -160,10 +160,11 @@ static const struct kfd2kgd_calls kfd2kgd = {<br>
get_atc_vmid_pasid_mapping_pasid,<br>
.get_atc_vmid_pasid_mapping_valid =<br>
get_atc_vmid_pasid_mapping_valid,<br>
+ .get_tile_config = amdgpu_amdkfd_get_tile_config,<br>
+ .set_vm_context_page_table_base = set_vm_context_page_table_base,<br>
.invalidate_tlbs = invalidate_tlbs,<br>
.invalidate_tlbs_vmid = invalidate_tlbs_vmid,<br>
- .set_vm_context_page_table_base = set_vm_context_page_table_base,<br>
- .get_tile_config = amdgpu_amdkfd_get_tile_config,<br>
+ .get_hive_id = amdgpu_amdkfd_get_hive_id,<br>
};<br>
<br>
struct kfd2kgd_calls *amdgpu_amdkfd_gfx_10_0_get_functions()<br>
-- <br>
2.17.1<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://lists.freedesktop.org/mailman/listinfo/amd-gfx">https://lists.freedesktop.org/mailman/listinfo/amd-gfx</a></div>
</span></font></div>
</body>
</html>