<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">
<p style="font-family:Arial;font-size:10pt;color:#0078D7;margin:15pt;" align="Left">
[AMD Official Use Only - Internal Distribution Only]<br>
</p>
<br>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Reviewed-by: Yong Zhao <Yong.Zhao@amd.com></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 Felix Kuehling <Felix.Kuehling@amd.com><br>
<b>Sent:</b> Wednesday, February 26, 2020 12:12 PM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org <amd-gfx@lists.freedesktop.org>; Deucher, Alexander <Alexander.Deucher@amd.com><br>
<b>Cc:</b> Pan, Xinhui <Xinhui.Pan@amd.com><br>
<b>Subject:</b> [PATCH 1/1] drm/amdgpu: Fix 32-bit build</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Add a dummy implementation of amdgpu_amdkfd_remove_fence_on_pt_pd_bos<br>
for kernel configs without KFD.<br>
<br>
Fixes: be8e48e08499 ("drm/amdgpu: Remove kfd eviction fence before release bo")<br>
Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com><br>
---<br>
 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c | 5 +++++<br>
 1 file changed, 5 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c<br>
index f30375c1b40a..bc2e72a66db9 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c<br>
@@ -681,6 +681,11 @@ void amdgpu_amdkfd_unreserve_memory_limit(struct amdgpu_bo *bo)<br>
 {<br>
 }<br>
 <br>
+int amdgpu_amdkfd_remove_fence_on_pt_pd_bos(struct amdgpu_bo *bo)<br>
+{<br>
+       return 0;<br>
+}<br>
+<br>
 void amdgpu_amdkfd_gpuvm_destroy_cb(struct amdgpu_device *adev,<br>
                                         struct amdgpu_vm *vm)<br>
 {<br>
-- <br>
2.25.0<br>
<br>
_______________________________________________<br>
amd-gfx mailing list<br>
amd-gfx@lists.freedesktop.org<br>
<a href="https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cyong.zhao%40amd.com%7Cdd32602c073d476434c408d7badf1ef7%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637183339778815696&amp;sdata=Xa3G3wzAYp47cG0fEVW7G9pzgB4qfodkpcAG9dnNBOo%3D&amp;reserved=0">https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.freedesktop.org%2Fmailman%2Flistinfo%2Famd-gfx&amp;data=02%7C01%7Cyong.zhao%40amd.com%7Cdd32602c073d476434c408d7badf1ef7%7C3dd8961fe4884e608e11a82d994e183d%7C0%7C0%7C637183339778815696&amp;sdata=Xa3G3wzAYp47cG0fEVW7G9pzgB4qfodkpcAG9dnNBOo%3D&amp;reserved=0</a><br>
</div>
</span></font></div>
</div>
</body>
</html>