]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Embed the scratch page struct into each VM
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Aug 2016 07:44:30 +0000 (08:44 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 22 Aug 2016 11:19:52 +0000 (12:19 +0100)
commit88ef8bd4cb97e95956e25070960e6a79cab07cd4
treeb305bf9502408f8806e17320f29cb7dfac3f65b8
parentd6c6385a2c30428ccae9f160df2a4377b3d1e498
drm/i915: Embed the scratch page struct into each VM

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 <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/20160822074431.26872-2-chris@chris-wilson.co.uk
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Acked-by: Mika Kuoppala <mika.kuoppala@intel.com>
drivers/gpu/drm/i915/i915_gem_gtt.c
drivers/gpu/drm/i915/i915_gem_gtt.h