drm/i915/gvt: remove unresolved vfio pin/unpin pages interface dependency
authorZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 17 Nov 2016 06:49:26 +0000 (14:49 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Thu, 17 Nov 2016 07:51:16 +0000 (15:51 +0800)
commit53e86ada8e53fcdbe1593f70b7df85549ba70b9a
treec2ac2512465643cb6128cdd8cae1016f5d7cfa1c
parent955c1dd15d3b044c736a4f9353e04c1c23d02d0c
drm/i915/gvt: remove unresolved vfio pin/unpin pages interface dependency

Instead of partially depending on vfio pin/unpin pages interface if
mdev is available, which would result in failure if vfio is not
on. But replace with a wrapper which need to be fixed till mdev
support got fully merged.

Cc: Jike Song <jike.song@intel.com>
Cc: Xiaoguang Chen <xiaoguang.chen@intel.com>
Reviewed-by: Xiaoguang Chen <Xiaoguang.chen@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/kvmgt.c