]> 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)
commitaa26e0cb3488d64fe12dcc685f733d0bd60a91cc
treeb305bf9502408f8806e17320f29cb7dfac3f65b8
parent68e5cdd80c53ffe5355b59e83d52c83bdd0c7420
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