drm/i915/gvt: Don't extend page_track to mpt layer
authorChangbin Du <changbin.du@intel.com>
Tue, 30 Jan 2018 11:19:52 +0000 (19:19 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 6 Mar 2018 05:19:20 +0000 (13:19 +0800)
commit0947572849cb3ca7028d9daa3958158639ae4d69
tree768b85fc4b58cec002b4e2af19ec904bf7e8fe80
parentf66e5ff706038d03e8ef6d012e3aec7824442418
drm/i915/gvt: Don't extend page_track to mpt layer

Don't extend page_track to mpt layer. Keep MPT simple and clean.
Meanwhile remove gtt.n_tracked_guest_page which doesn't make much
sense.

v2: clean up gtt.n_tracked_guest_page.

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
drivers/gpu/drm/i915/gvt/mpt.h