drm/i915/gvt: Split ppgtt_alloc_spt into two parts
authorChangbin Du <changbin.du@intel.com>
Tue, 15 May 2018 02:35:39 +0000 (10:35 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Mon, 9 Jul 2018 02:23:32 +0000 (10:23 +0800)
commit155521c93e468211673206e1871b53d26a44a82d
treed81f3657575703cb525a7505d5bfabc1837d1bfd
parentc3e697635fcc9173e1d7116d9ebfd2fd0887177d
drm/i915/gvt: Split ppgtt_alloc_spt into two parts

We need a interface to allocate a pure shadow page which doesn't have
a guest page associated with. Such shadow page is used to shadow 2M
huge gtt entry.

Signed-off-by: Changbin Du <changbin.du@intel.com>
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
drivers/gpu/drm/i915/gvt/gtt.c