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:
53e86ad
)
drm/i915/gvt: fix missing init param.primary
author
Du, Changbin
<changbin.du@intel.com>
Mon, 21 Nov 2016 09:08:14 +0000
(17:08 +0800)
committer
Zhenyu Wang
<zhenyuw@linux.intel.com>
Wed, 23 Nov 2016 02:13:40 +0000
(10:13 +0800)
Initiate param.primary to 1. We should be primary currently.
Signed-off-by: Du, Changbin <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/vgpu.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gvt/vgpu.c
b/drivers/gpu/drm/i915/gvt/vgpu.c
index 4f64845d8a4c1fd9af8133157dd624f1268258fe..536d2b9d577732f57a1775f54bdb4a7bce8a7e39 100644
(file)
--- a/
drivers/gpu/drm/i915/gvt/vgpu.c
+++ b/
drivers/gpu/drm/i915/gvt/vgpu.c
@@
-378,6
+378,7
@@
struct intel_vgpu *intel_gvt_create_vgpu(struct intel_gvt *gvt,
struct intel_vgpu *vgpu;
param.handle = 0;
+ param.primary = 1;
param.low_gm_sz = type->low_gm_size;
param.high_gm_sz = type->high_gm_size;
param.fence_sz = type->fence;