summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/gvt/debug.h
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@intel.com>2017-01-13 06:15:57 +0300
committerZhenyu Wang <zhenyuw@linux.intel.com>2017-01-13 10:05:38 +0300
commitb611581b375ce28536ab50be9cd507bb6092fb1e (patch)
treec73b6ebbc6015e7a5fbc95f5eea89488adf936c3 /drivers/gpu/drm/i915/gvt/debug.h
parentd22a48bf7302ef064295749fa79cd47093c5a000 (diff)
downloadlinux-b611581b375ce28536ab50be9cd507bb6092fb1e.tar.xz
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 'drivers/gpu/drm/i915/gvt/debug.h')
0 files changed, 0 insertions, 0 deletions