Re: [Intel-gfx] [PATCH v9 2/3] drm/i915: Enable guest i915 full ppgtt functionality

2017-08-13 Thread Zhenyu Wang
On 2017.08.11 12:46:48 +0300, Joonas Lahtinen wrote: > > > @@ -141,14 +141,19 @@ int intel_sanitize_enable_ppgtt(struct > > drm_i915_private *dev_priv, > >   > >   has_aliasing_ppgtt = dev_priv->info.has_aliasing_ppgtt; > >   has_full_ppgtt = dev_priv->info.has_full_ppgtt; > > -

Re: [Intel-gfx] [PATCH] drm/i915: Disconnect 32 and 48 bit ppGTT support

2017-08-13 Thread Zhi Wang
Looks has_full_48bit_ppgtt is tied to has_full_ppgtt now. Will that be disconnected also in future? On 08/11/17 17:51, Joonas Lahtinen wrote: Configurations like virtualized environments may support only 48 bit ppGTT without supporting 32 bit ppGTT. Support this by disconnecting the

[Intel-gfx] [RFC] Introduce dynamic PPAT allocation for GVT-g

2017-08-13 Thread Zhi Wang
[ BACKGROUND ] Due to different guests will have different PPAT configuration under virtualization environment, for example, Windows guest vs Linux guest, a possible idea to handle this open is 1)Letting host have the PPAT entries needed by guest 2)Mapping PPAT indexes in guest page table