From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
To: Zhenyu Wang <zhenyuw@linux.intel.com>,
Chuanxiao Dong <chuanxiao.dong@intel.com>,
Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: intel-gfx@lists.freedesktop.org, intel-gvt-dev@lists.freedesktop.org
Subject: Re: [PATCH] drm/i915/gvt: disable GVT-g if host GuC submission is enabled
Date: Fri, 05 May 2017 11:55:14 +0300 [thread overview]
Message-ID: <1493974514.3551.9.camel@linux.intel.com> (raw)
In-Reply-To: <20170503083647.asi64tgcfuv6kgk5@zhen-hp.sh.intel.com>
+ Daniel
On ke, 2017-05-03 at 16:36 +0800, Zhenyu Wang wrote:
> On 2017.05.02 16:58:31 +0800, Chuanxiao Dong wrote:
> >
> > Currently GVT-g cannot work properly when host GuC submission
> > is enabled, so disable GVT in this case.
> >
> > Cc: Zhenyu Wang <zhenyuw@linux.intel.com>
> > Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
<SNIP>
> > @@ -84,6 +84,11 @@ int intel_gvt_init(struct drm_i915_private *dev_priv)
> > goto bail;
> > }
> >
> > + if (i915.enable_guc_submission) {
> > + DRM_INFO("GPU guest virtualisation [GVT-g] disabled due to enabled GuC submission [i915.enable_guc_submission module parameter]\n");
Guest module parameter is not the correct way of detetecting if host
has GuC submission enabled. And even if it was, the message is overly
verbose (and it'll be incorrect once i915.enable_guc_submission
defaults to something else than zero).
> > + goto bail;
> > + }
> > +
> > /*
> > * We're not in host or fail to find a MPT module, disable GVT-g
> > */
> > --
>
> Applied, thanks!
The original patch should've included at least some Cc's, or wait being
merged through drm-tip as it's not int drm/i915/gvt directory at all
(unlike the message states).
The patch should be reverted for being incorrect.
Regards, Joonas
--
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
next prev parent reply other threads:[~2017-05-05 8:55 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-02 8:58 [PATCH] drm/i915/gvt: disable GVT-g if host GuC submission is enabled Chuanxiao Dong
2017-05-02 10:07 ` ✓ Fi.CI.BAT: success for " Patchwork
2017-05-03 8:36 ` [PATCH] " Zhenyu Wang
2017-05-05 8:55 ` Joonas Lahtinen [this message]
2017-05-05 9:09 ` Dong, Chuanxiao
2017-05-05 9:10 ` Chris Wilson
2017-05-08 10:30 ` Dong, Chuanxiao
2017-05-08 11:23 ` Joonas Lahtinen
2017-05-05 9:47 ` Zhenyu Wang
2017-05-09 10:11 ` [PATCH v2] " Chuanxiao Dong
2017-05-10 12:48 ` Joonas Lahtinen
2017-05-11 2:33 ` Dong, Chuanxiao
2017-05-11 12:50 ` Joonas Lahtinen
2017-05-11 13:38 ` Dong, Chuanxiao
2017-05-16 7:53 ` Dong, Chuanxiao
2017-05-18 10:36 ` Joonas Lahtinen
2017-05-22 2:12 ` Dong, Chuanxiao
2017-05-09 10:39 ` ✓ Fi.CI.BAT: success for drm/i915/gvt: disable GVT-g if host GuC submission is enabled (rev2) Patchwork
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=1493974514.3551.9.camel@linux.intel.com \
--to=joonas.lahtinen@linux.intel.com \
--cc=chuanxiao.dong@intel.com \
--cc=daniel.vetter@ffwll.ch \
--cc=intel-gfx@lists.freedesktop.org \
--cc=intel-gvt-dev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.