public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Zhenyu Wang <zhenyuw@linux.intel.com>, intel-gfx@lists.freedesktop.org
Subject: Re: [PATCH 1/2] drm/i915: enable vGPU detection for all
Date: Tue, 06 Sep 2016 10:51:44 +0300	[thread overview]
Message-ID: <1473148304.3819.4.camel@linux.intel.com> (raw)
In-Reply-To: <20160906040412.1274-2-zhenyuw@linux.intel.com>

On ti, 2016-09-06 at 12:04 +0800, Zhenyu Wang wrote:
> From: Ping Gao <ping.a.gao@intel.com>
> 
> vGPU capability is handled by GVT-g host driver, not needed to
> put extra HW check for vGPU detection. And we'll actually support
> vGPU from BDW.
> 
> Signed-off-by: Ping Gao <ping.a.gao@intel.com>
> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>

Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>

> ---
>  drivers/gpu/drm/i915/i915_vgpu.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/drivers/gpu/drm/i915/i915_vgpu.c b/drivers/gpu/drm/i915/i915_vgpu.c
> index ca2e912..dae340c 100644
> --- a/drivers/gpu/drm/i915/i915_vgpu.c
> +++ b/drivers/gpu/drm/i915/i915_vgpu.c
> @@ -65,9 +65,6 @@ void i915_check_vgpu(struct drm_i915_private *dev_priv)
>  
>  	BUILD_BUG_ON(sizeof(struct vgt_if) != VGT_PVINFO_SIZE);
>  
> -	if (!IS_HASWELL(dev_priv))
> -		return;
> -
>  	magic = __raw_i915_read64(dev_priv, vgtif_reg(magic));
>  	if (magic != VGT_MAGIC)
>  		return;
-- 
Joonas Lahtinen
Open Source Technology Center
Intel Corporation
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

  reply	other threads:[~2016-09-06  7:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06  4:04 [PATCH 0/2] GVT-g guest patch for 4.8 Zhenyu Wang
2016-09-06  4:04 ` [PATCH 1/2] drm/i915: enable vGPU detection for all Zhenyu Wang
2016-09-06  7:51   ` Joonas Lahtinen [this message]
2016-09-06  4:04 ` [PATCH 2/2] drm/i915: disable 48bit full PPGTT when vGPU is active Zhenyu Wang
2016-09-06  7:55   ` Joonas Lahtinen
2016-09-06  4:56 ` ✗ Fi.CI.BAT: warning for GVT-g guest patch for 4.8 Patchwork
2016-09-06  6:48 ` [PATCH 0/2] " Chris Wilson
2016-09-06  8:33   ` Jani Nikula
2016-09-06  8:35     ` Zhenyu Wang
2016-09-06 13:43       ` Jani Nikula
2016-09-06 13:56         ` Jani Nikula

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1473148304.3819.4.camel@linux.intel.com \
    --to=joonas.lahtinen@linux.intel.com \
    --cc=intel-gfx@lists.freedesktop.org \
    --cc=zhenyuw@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox