drm/i915/gvt: move intel iommu detection to intel_gvt_init()
authorZhenyu Wang <zhenyuw@linux.intel.com>
Fri, 13 Jan 2017 07:31:58 +0000 (15:31 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 7 Feb 2017 09:21:35 +0000 (17:21 +0800)
commitd2896e34eb6f10b4f76b42df34b7e075b203c5ff
treedba8e169fba522f52752cccf96b817c8c557547d
parent26f837e8e1ec9748b55be3af6d7f54b9ad5a43b1
drm/i915/gvt: move intel iommu detection to intel_gvt_init()

Prepare to remove detect_host() hook. Move intel iommu detection early
in intel_gvt_init().

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gvt.c
drivers/gpu/drm/i915/gvt/kvmgt.c