Dnia czwartek, 31 stycznia 2019 17:56:32 CET piszesz:

> In my experience only the last chunk of the patch is necessary.  Can you 
> try this without:
> 
> 
>  >> + vm->bulk_moveable = false;
> 
> 
> Too?
> 
> Thanks,
> Tom

Sure.

I have applied only the last chunk of the patch on top of today's amd-staging-
drm-next pull:

> >> @@ -2772,6 +2773,9 @@  void amdgpu_vm_bo_rmv(struct amdgpu_device *adev,
> >> 
> >>    struct amdgpu_vm_bo_base **base;
> >>
> >>
> >>
> >>    if (bo) {
> >> 
> >> +          if (bo->tbo.resv == vm->root.base.bo->tbo.resv)
> >> +                  vm->bulk_moveable = false;
> >> +
> >> 
> >>            for (base = &bo_va->base.bo->vm_bo; *base;
> >>            
> >>                 base = &(*base)->next) {
> >>                    
> >>                    if (*base != &bo_va->base)

and it seems to be working as expected also. 

Thanks,
Przemek.

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to