Re: [Intel-gfx] [PATCH 2/3] drm/i915: Embed the scratch page struct into each VM

2016-08-22 Thread Mika Kuoppala
Joonas Lahtinen writes: > On ma, 2016-08-22 at 08:44 +0100, Chris Wilson wrote: >> As the scratch page is no longer shared between all VM, and each has >> their own, forgo the small allocation and simply embed the scratch page >> struct into the i915_address_space. >> >> Signed-off-by: Chris Wil

Re: [Intel-gfx] [PATCH 2/3] drm/i915: Embed the scratch page struct into each VM

2016-08-22 Thread Joonas Lahtinen
On ma, 2016-08-22 at 08:44 +0100, Chris Wilson wrote: > As the scratch page is no longer shared between all VM, and each has > their own, forgo the small allocation and simply embed the scratch page > struct into the i915_address_space. > > Signed-off-by: Chris Wilson A fairly mechanical change.

[Intel-gfx] [PATCH 2/3] drm/i915: Embed the scratch page struct into each VM

2016-08-22 Thread Chris Wilson
As the scratch page is no longer shared between all VM, and each has their own, forgo the small allocation and simply embed the scratch page struct into the i915_address_space. Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/i915_gem_gtt.c | 76 +++-- drivers