drm/i915/gvt: fix missing init param.primary
authorDu, Changbin <changbin.du@intel.com>
Mon, 21 Nov 2016 09:08:14 +0000 (17:08 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 23 Nov 2016 02:13:40 +0000 (10:13 +0800)
commite992faee1f82cebf39c65b340d7591ab1aa8c742
treef8211cd75705cfb0f5b08193943e6cddc81f3f55
parent53e86ada8e53fcdbe1593f70b7df85549ba70b9a
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>
drivers/gpu/drm/i915/gvt/vgpu.c