]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcccbf4c207166f3204e4b724db3b04029e1ec13f
treecd8050a57578e2d210b1ce4108c7fb4d662d4070
parent11cb6f40b43735bcb419790746a2a0a62bf6cb8a
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