Re: [Intel-gfx] [PATCH 02/39] drm/i915/gem: Use set_pte_at() for assigning the vmapped PTE

2020-08-26 Thread Chris Wilson
Quoting Matthew Auld (2020-08-26 17:36:52) > On Wed, 26 Aug 2020 at 14:28, Chris Wilson wrote: > > > > Use set_pte_at() to assign the PTE pointer returned by alloc_vm_area(), > > rather than a direct assignment. > > and crucially add the missing sync stuff for the mapping? Fortunately not for x8

Re: [Intel-gfx] [PATCH 02/39] drm/i915/gem: Use set_pte_at() for assigning the vmapped PTE

2020-08-26 Thread Matthew Auld
On Wed, 26 Aug 2020 at 14:28, Chris Wilson wrote: > > Use set_pte_at() to assign the PTE pointer returned by alloc_vm_area(), > rather than a direct assignment. and crucially add the missing sync stuff for the mapping? > > Fixes: 6056e50033d9 ("drm/i915/gem: Support discontiguous lmem object map

[Intel-gfx] [PATCH 02/39] drm/i915/gem: Use set_pte_at() for assigning the vmapped PTE

2020-08-26 Thread Chris Wilson
Use set_pte_at() to assign the PTE pointer returned by alloc_vm_area(), rather than a direct assignment. Fixes: 6056e50033d9 ("drm/i915/gem: Support discontiguous lmem object maps") Signed-off-by: Chris Wilson Cc: Matthew Auld --- drivers/gpu/drm/i915/gem/i915_gem_pages.c | 33 +