All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drm/i915/gvt: disable GVT-g if host GuC submission is enabled
@ 2017-05-02  8:58 Chuanxiao Dong
  2017-05-02 10:07 ` ✓ Fi.CI.BAT: success for " Patchwork
                   ` (3 more replies)
  0 siblings, 4 replies; 18+ messages in thread
From: Chuanxiao Dong @ 2017-05-02  8:58 UTC (permalink / raw)
  To: intel-gvt-dev, intel-gfx

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>
---
 drivers/gpu/drm/i915/intel_gvt.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/drivers/gpu/drm/i915/intel_gvt.c b/drivers/gpu/drm/i915/intel_gvt.c
index e1ab643..0e1ff48 100644
--- a/drivers/gpu/drm/i915/intel_gvt.c
+++ b/drivers/gpu/drm/i915/intel_gvt.c
@@ -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");
+		goto bail;
+	}
+
 	/*
 	 * We're not in host or fail to find a MPT module, disable GVT-g
 	 */
-- 
2.7.4

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply related	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2017-05-22  2:12 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

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.