summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-01-13 11:15:57 +0800
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-13 15:05:38 +0800
commitb611581b375ce28536ab50be9cd507bb6092fb1e (patch)
treec73b6ebbc6015e7a5fbc95f5eea89488adf936c3 /lib
parentd22a48bf7302ef064295749fa79cd47093c5a000 (diff)
downloadlinux-b611581b375ce28536ab50be9cd507bb6092fb1e.tar.bz2
drm/i915/gvt: introuduce intel_vgpu_reset_gtt() to reset gtt
This patch introduces a new function intel_vgpu_reset_gtt() to reset the all GTT related status, including GGTT, PPGTT, scratch page. This function can free all shadowed PPGTT, clear all GGTT entry, and clear scratch page to all zero. After this, we can ensure no gtt related information can be leakaged from one VM to anothor one when assign vgpu instance across different VMs (not simultaneously). Signed-off-by: Changbin Du <changbin.du@intel.com> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions