drm/i915/gvt: Rename mpt api {set, unset}_wp_page to {enable, disable}_page_track
authorChangbin Du <changbin.du@intel.com>
Tue, 30 Jan 2018 11:19:51 +0000 (19:19 +0800)
committerZhenyu Wang <zhenyuw@linux.intel.com>
Tue, 6 Mar 2018 05:19:19 +0000 (13:19 +0800)
commitf66e5ff706038d03e8ef6d012e3aec7824442418
treecd8050a57578e2d210b1ce4108c7fb4d662d4070
parentd87f5ff35f3fc10a4abe13db6b1af9613f20519d
drm/i915/gvt: Rename mpt api {set, unset}_wp_page to {enable, disable}_page_track

The kvmgt's implementation of mpt api {set,unset}_wp_page is not real
write-protection - the data get written before invoke this two api.
As discussed, change the mpt api to match the real behavior.

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