diff options
author | Du, Changbin <changbin.du@intel.com> | 2016-11-21 12:08:14 +0300 |
---|---|---|
committer | Zhenyu Wang <zhenyuw@linux.intel.com> | 2016-11-23 05:13:40 +0300 |
commit | e992faee1f82cebf39c65b340d7591ab1aa8c742 (patch) | |
tree | f8211cd75705cfb0f5b08193943e6cddc81f3f55 /drivers/gpu/drm/i915/gvt/vgpu.c | |
parent | 53e86ada8e53fcdbe1593f70b7df85549ba70b9a (diff) | |
download | linux-e992faee1f82cebf39c65b340d7591ab1aa8c742.tar.xz |
drm/i915/gvt: fix missing init param.primary
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>
Diffstat (limited to 'drivers/gpu/drm/i915/gvt/vgpu.c')
-rw-r--r-- | drivers/gpu/drm/i915/gvt/vgpu.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/gvt/vgpu.c b/drivers/gpu/drm/i915/gvt/vgpu.c index 4f64845d8a4c..536d2b9d5777 100644 --- 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; |