Re: [Intel-gfx] [PATCH v2] drm/i915: Fix vGPU balloon for ggtt guard page

2017-03-17 Thread Zhenyu Wang
On 2017.03.17 09:42:37 +, Chris Wilson wrote: > On Fri, Mar 17, 2017 at 05:25:35PM +0800, Zhenyu Wang wrote: > > On 2017.03.13 13:39:18 +, Chris Wilson wrote: > > > On Fri, Mar 10, 2017 at 10:22:38AM +0800, Zhenyu Wang wrote: > > > > From commit a6508ded2a66 ("drm/i915: Use page coloring to

Re: [Intel-gfx] [PATCH v2] drm/i915: Fix vGPU balloon for ggtt guard page

2017-03-17 Thread Chris Wilson
On Fri, Mar 17, 2017 at 05:25:35PM +0800, Zhenyu Wang wrote: > On 2017.03.13 13:39:18 +, Chris Wilson wrote: > > On Fri, Mar 10, 2017 at 10:22:38AM +0800, Zhenyu Wang wrote: > > > From commit a6508ded2a66 ("drm/i915: Use page coloring to provide the > > > guard > > > page at the end of the GTT

Re: [Intel-gfx] [PATCH v2] drm/i915: Fix vGPU balloon for ggtt guard page

2017-03-17 Thread Zhenyu Wang
On 2017.03.13 13:39:18 +, Chris Wilson wrote: > On Fri, Mar 10, 2017 at 10:22:38AM +0800, Zhenyu Wang wrote: > > From commit a6508ded2a66 ("drm/i915: Use page coloring to provide the guard > > page at the end of the GTT"), we no longer explicitly subtract guard page > > at end for GGTT address

Re: [Intel-gfx] [PATCH v2] drm/i915: Fix vGPU balloon for ggtt guard page

2017-03-13 Thread Chris Wilson
On Fri, Mar 10, 2017 at 10:22:38AM +0800, Zhenyu Wang wrote: > From commit a6508ded2a66 ("drm/i915: Use page coloring to provide the guard > page at the end of the GTT"), we no longer explicitly subtract guard page > at end for GGTT address space init, so shouldn't subtract that for vGPU > balloon

[Intel-gfx] [PATCH v2] drm/i915: Fix vGPU balloon for ggtt guard page

2017-03-09 Thread Zhenyu Wang
From commit a6508ded2a66 ("drm/i915: Use page coloring to provide the guard page at the end of the GTT"), we no longer explicitly subtract guard page at end for GGTT address space init, so shouldn't subtract that for vGPU balloon too, as that will leave that end page to be available for vGPU. Chang