Re: [Intel-gfx] [PATCH] drm/i915: Fix the kernel panic when using aliasing ppgtt

2017-07-07 Thread Dong, Chuanxiao
> -Original Message- > From: Chris Wilson [mailto:ch...@chris-wilson.co.uk] > Sent: Friday, July 7, 2017 5:38 PM > To: Dong, Chuanxiao ; intel- > g...@lists.freedesktop.org > Cc: intel-gvt-...@lists.freedesktop.org; Dong, Chuanxiao > ;

Re: [Intel-gfx] [PATCH] drm/i915: Fix the kernel panic when using aliasing ppgtt

2017-07-07 Thread Chris Wilson
Quoting Chuanxiao Dong (2017-07-07 07:00:09) > The ppgtt should be get directly from i915_address_space *vm instead of > vma->vm as in alias ppgtt case the vma->vm is not same with vm. And for consistency, also @@ -2242,7 +2242,7 @@ static void bxt_vtd_ggtt_insert_entries__BKL(struct

Re: [Intel-gfx] [PATCH] drm/i915: Fix the kernel panic when using aliasing ppgtt

2017-07-07 Thread Matthew Auld
On 7 July 2017 at 07:00, Chuanxiao Dong wrote: > The ppgtt should be get directly from i915_address_space *vm instead of > vma->vm as in alias ppgtt case the vma->vm is not same with vm. > > Fixes: 4a234c5fae16 ("drm/i915: pass the vma to insert_entries") >

[Intel-gfx] [PATCH] drm/i915: Fix the kernel panic when using aliasing ppgtt

2017-07-07 Thread Chuanxiao Dong
The ppgtt should be get directly from i915_address_space *vm instead of vma->vm as in alias ppgtt case the vma->vm is not same with vm. Fixes: 4a234c5fae16 ("drm/i915: pass the vma to insert_entries") Bugzilla:https://bugs.freedesktop.org/show_bug.cgi?id=101713 Signed-off-by: Chuanxiao Dong