projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36ccc4f
)
drm/i915/gvt: Return -EIO if host GuC submission is enabled when loading GVT-g
author
Chuanxiao Dong
<
[email protected]
>
Sat, 27 May 2017 09:44:19 +0000
(17:44 +0800)
committer
Joonas Lahtinen
<
[email protected]
>
Tue, 30 May 2017 13:00:07 +0000
(16:00 +0300)
Currently GVT-g cannot work properly when host GuC submission is
enabled, so make the driver loading failed in this case.
v2:
- use DRM_ERROR as it is a fatal message. (Chris)
Suggested-by: Chris Wilson <
[email protected]
>
Signed-off-by: Chuanxiao Dong <
[email protected]
>
Cc: Joonas Lahtinen <
[email protected]
>
Cc: Chris Wilson <
[email protected]
>
Cc: Zhenyu Wang <
[email protected]
>
Reviewed-by: Chris Wilson <
[email protected]
>
Signed-off-by: Joonas Lahtinen <
[email protected]
>
Link:
http://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_gvt.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_gvt.c
b/drivers/gpu/drm/i915/intel_gvt.c
index e2a3f0af1418fedf84bc6ebbbf1e22ef367d3a61..52d5b82790d9fa5461a3c75977b320bd4348d407 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_gvt.c
+++ b/
drivers/gpu/drm/i915/intel_gvt.c
@@
-100,6
+100,11
@@
int intel_gvt_init(struct drm_i915_private *dev_priv)
return -EIO;
}
+ if (i915.enable_guc_submission) {
+ DRM_ERROR("i915 GVT-g loading failed due to Graphics virtualization is not yet supported with GuC submission\n");
+ return -EIO;
+ }
+
/*
* We're not in host or fail to find a MPT module, disable GVT-g
*/