drm/i915/gvt: Add gvt options sanitize function
authorChuanxiao Dong <chuanxiao.dong@intel.com>
Sat, 27 May 2017 09:44:17 +0000 (17:44 +0800)
committerJoonas Lahtinen <joonas.lahtinen@linux.intel.com>
Tue, 30 May 2017 12:59:47 +0000 (15:59 +0300)
commit67b7f33eeeaa6368289c6d25b283432e02dcc1c1
tree18b7be3b918ad0f64e272af95fdec0667cd5b889
parent00c26cf9ce4eadf3680e431a374eb4cdc6e824cd
drm/i915/gvt: Add gvt options sanitize function

The intel_gvt_sanitize_options will sanitize the GVT related
options before doing initialize the GVT.

Suggested-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Signed-off-by: Chuanxiao Dong <chuanxiao.dong@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/intel_gvt.c
drivers/gpu/drm/i915/intel_gvt.h