On 17-07-17 05:02 PM, Christian König wrote:
> +     if (p->adev->asic_type < CHIP_VEGA10 ||
> +         nptes != AMDGPU_VM_PTE_COUNT(p->adev) ||
> +         p->func != amdgpu_vm_do_set_ptes ||
> +         !(flags & AMDGPU_PTE_VALID)) {

Because of this condition, I think this still won't work correctly for
cpu page table updates. p->func will be amdgpu_vm_cpu_set_ptes.

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

Reply via email to