[PATCH v1 2/2] drm/i915: enable vGPU 48bit full PPGTT support
Zhenyu Wang
zhenyuw at linux.intel.com
Fri May 5 04:54:51 UTC 2017
On 2017.05.04 17:35:10 +0800, Tina Zhang wrote:
> This patch is to enable the vGPU 48bit full ppgtt support.
>
> Signed-off-by: Tina Zhang <tina.zhang at intel.com>
>
> diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
> index 8bab4ae..92df4c4 100644
> --- a/drivers/gpu/drm/i915/i915_gem_gtt.c
> +++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
> @@ -141,12 +141,6 @@ int intel_sanitize_enable_ppgtt(struct drm_i915_private *dev_priv,
> has_full_ppgtt = dev_priv->info.has_full_ppgtt;
> has_full_48bit_ppgtt = dev_priv->info.has_full_48bit_ppgtt;
>
> - if (intel_vgpu_active(dev_priv)) {
> - /* emulation is too hard */
> - has_full_ppgtt = false;
> - has_full_48bit_ppgtt = false;
> - }
> -
> if (!has_aliasing_ppgtt)
> return 0;
>
What if you run new kernel with this change on older gvt kernel?
We need compat check.
--
Open Source Technology Center, Intel ltd.
$gpg --keyserver wwwkeys.pgp.net --recv-keys 4D781827
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170505/182382b7/attachment.sig>
More information about the intel-gvt-dev
mailing list