drm/i915/gtt: Per ppgtt scratch page
authorMika Kuoppala <[email protected]>
Tue, 30 Jun 2015 15:16:40 +0000 (18:16 +0300)
committerDaniel Vetter <[email protected]>
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 <[email protected]>
Cc: Daniel Vetter <[email protected]>
Signed-off-by: Mika Kuoppala <[email protected]>
Reviewed-by: Michel Thierry <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
drivers/gpu/drm/i915/i915_gem_gtt.c