drm/i915/gtt: Per ppgtt scratch page
authorMika Kuoppala <mika.kuoppala@linux.intel.com>
Tue, 30 Jun 2015 15:16:40 +0000 (18:16 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 3 Jul 2015 05:39:02 +0000 (07:39 +0200)
commit8776f02b7c77f17dcf1dfab9954648874f264c89
treec58079887f7ee71723547b36e2899b83af999e13
parent20dbe1a1cbf3f1f0a6a07581e5b95ae027c9bea0
drm/i915/gtt: Per ppgtt scratch page

Previously we have pointed the page where the individual ppgtt
scratch structures refer to, to be the instance which GGTT setup have
allocated. So it has been shared.

To achieve full isolation between ppgtts also in this regard,
allocate per ppgtt scratch page.

Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Mika Kuoppala <mika.kuoppala@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_gem_gtt.c