Re: [PATCH v5 5/9] drm/ttm: TTM fault handler helpers

2019-06-13 Thread Thomas Hellstrom
Hi! On Thu, 2019-06-13 at 12:25 +0800, Hillf Danton wrote: > Hello Thomas > > On Wed, 12 Jun 2019 08:42:39 +0200 Thomas Hellstrom wrote: > > From: Thomas Hellstrom > > > > With the vmwgfx dirty tracking, the default TTM fault handler is > > not > > completely sufficient (vmwgfx need to modify t

Re: [PATCH v5 5/9] drm/ttm: TTM fault handler helpers

2019-06-13 Thread Hillf Danton
Hello Thomas On Wed, 12 Jun 2019 08:42:39 +0200 Thomas Hellstrom wrote: > From: Thomas Hellstrom > > With the vmwgfx dirty tracking, the default TTM fault handler is not > completely sufficient (vmwgfx need to modify the vma->vm_flags member, > and also needs to restrict the number of prefaults

[PATCH v5 5/9] drm/ttm: TTM fault handler helpers

2019-06-11 Thread VMware
From: Thomas Hellstrom With the vmwgfx dirty tracking, the default TTM fault handler is not completely sufficient (vmwgfx need to modify the vma->vm_flags member, and also needs to restrict the number of prefaults). We also want to replicate the new ttm_bo_vm_reserve() functionality So start tu