<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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);">
Acked-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 Christian König <ckoenig.leichtzumerken@gmail.com><br>
<b>Sent:</b> Wednesday, February 20, 2019 9:16 AM<br>
<b>To:</b> amd-gfx@lists.freedesktop.org<br>
<b>Cc:</b> stable@vger.kernel.org<br>
<b>Subject:</b> [PATCH] drm/amdgpu: disable bulk moves for now</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">The changes to fix those are two invasive for backporting.<br>
<br>
Just disable the feature in 4.20 and 5.0.<br>
<br>
Signed-off-by: Christian König <christian.koenig@amd.com><br>
Cc: <stable@vger.kernel.org>    [4.20+]<br>
---<br>
 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 ++<br>
 1 file changed, 2 insertions(+)<br>
<br>
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c<br>
index 0877ff9a9594..c3643dde3e9d 100644<br>
--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c<br>
+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c<br>
@@ -637,12 +637,14 @@ void amdgpu_vm_move_to_lru_tail(struct amdgpu_device *adev,<br>
         struct ttm_bo_global *glob = adev->mman.bdev.glob;<br>
         struct amdgpu_vm_bo_base *bo_base;<br>
 <br>
+#if 0<br>
         if (vm->bulk_moveable) {<br>
                 spin_lock(&glob->lru_lock);<br>
                 ttm_bo_bulk_move_lru_tail(&vm->lru_bulk_move);<br>
                 spin_unlock(&glob->lru_lock);<br>
                 return;<br>
         }<br>
+#endif<br>
 <br>
         memset(&vm->lru_bulk_move, 0, sizeof(vm->lru_bulk_move));<br>
 <br>
-- <br>
2.14.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>