]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf6fe096c3ca1af4aa94ba37cab1b10f89c5e8448
treed81f3657575703cb525a7505d5bfabc1837d1bfd
parent0fe2778684c965901020c90d456576ccc41934fa
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