Re: amd-staging-drm-next: Oops - BUG: unable to handle kernel NULL pointer dereference, bisected.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux