<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>I dont know dkms status,anyway, we should submit this one as early as possible.<br>
<br>
-------- 原始邮件 --------<br>
主题:Re: [PATCH] drm/amdgpu: resvert "disable bulk moves for now"<br>
发件人:Christian König <br>
收件人:"Zhou, David(ChunMing)" ,amd-gfx@lists.freedesktop.org<br>
抄送:<br>
<br>
</div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText">Just to double check: We do have that enabled in the DKMS package for a
<br>
while and doesn't encounter any more problems with it, correct?<br>
<br>
Thanks,<br>
Christian.<br>
<br>
Am 12.09.19 um 16:02 schrieb Chunming Zhou:<br>
> RB on it to go ahead.<br>
><br>
> -David<br>
><br>
> 在 2019/9/12 18:15, Christian König 写道:<br>
>> This reverts commit a213c2c7e235cfc0e0a161a558f7fdf2fb3a624a.<br>
>><br>
>> The changes to fix this should have landed in 5.1.<br>
>><br>
>> Signed-off-by: Christian König <christian.koenig@amd.com><br>
>> ---<br>
>> drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | 2 --<br>
>> 1 file changed, 2 deletions(-)<br>
>><br>
>> diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c<br>
>> index 48349e4f0701..fd3fbaa73fa3 100644<br>
>> --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c<br>
>> +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c<br>
>> @@ -603,14 +603,12 @@ 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>
</div>
</span></font>
</body>
</html>